forked from openkylin/platform_build
Replace arm with proper variable for CPU/ABI
Change-Id: If8594d9a2abf4d8c08b5ccea612bb700afa9e9b7
This commit is contained in:
parent
f015e94dc8
commit
5b9f19e58f
|
@ -1324,12 +1324,10 @@ $(hide) $(AAPT) package -z -u $(PRIVATE_AAPT_FLAGS) \
|
||||||
-F $@
|
-F $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
#TODO: Allow library directory to be specified based on the target
|
|
||||||
# CPU and ABI instead of being hard coded as armeabi.
|
|
||||||
define add-jni-shared-libs-to-package
|
define add-jni-shared-libs-to-package
|
||||||
$(hide) rm -rf $(dir $@)lib
|
$(hide) rm -rf $(dir $@)lib
|
||||||
$(hide) mkdir -p $(dir $@)lib/armeabi
|
$(hide) mkdir -p $(dir $@)lib/$(TARGET_CPU_ABI)
|
||||||
$(hide) cp $(PRIVATE_JNI_SHARED_LIBRARIES) $(dir $@)lib/armeabi
|
$(hide) cp $(PRIVATE_JNI_SHARED_LIBRARIES) $(dir $@)lib/$(TARGET_CPU_ABI)
|
||||||
$(hide) (cd $(dir $@) && zip -r $(notdir $@) lib)
|
$(hide) (cd $(dir $@) && zip -r $(notdir $@) lib)
|
||||||
$(hide) rm -rf $(dir $@)lib
|
$(hide) rm -rf $(dir $@)lib
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue