Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7c63421 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

merge from open-source master

Change-Id: Id99b6cbc613c6c7b9d1ef79274b1c28b808a32d4
parents de14ee57 7bb4f10a
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1383,12 +1383,10 @@ $(hide) $(AAPT) package -u $(PRIVATE_AAPT_FLAGS) \
    -F $@
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
$(hide) rm -rf $(dir $@)lib
$(hide) mkdir -p $(dir $@)lib/armeabi
$(hide) cp $(PRIVATE_JNI_SHARED_LIBRARIES) $(dir $@)lib/armeabi
$(hide) mkdir -p $(dir $@)lib/$(TARGET_CPU_ABI)
$(hide) cp $(PRIVATE_JNI_SHARED_LIBRARIES) $(dir $@)lib/$(TARGET_CPU_ABI)
$(hide) (cd $(dir $@) && zip -r $(notdir $@) lib)
$(hide) rm -rf $(dir $@)lib
endef