diff options
author | Ulya Trafimovich <skvadrik@google.com> | 2021-06-22 21:30:39 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-06-22 21:30:39 +0000 |
commit | 415d31f2854bb1eeab92d1d08e8f047cc4f712fc (patch) | |
tree | c8928d8185761a3095af4973c24ddff10033dc0d | |
parent | 7edea7c05605e5c9f72b569f5862d6fc86b9fb6f (diff) | |
parent | b5ee2e6e1d62a4edfddce3e090cff24944fac864 (diff) | |
download | redfin-415d31f2854bb1eeab92d1d08e8f047cc4f712fc.tar.gz |
Disable dexpreopt and <uses-library> check for APKs. am: 64937a76ff am: b5ee2e6e1d
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1742817
Change-Id: I42886eb5d2c9af6988441a08fc952e49e8d63df7
-rw-r--r-- | self-extractors/qcom/staging/Android.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/self-extractors/qcom/staging/Android.mk b/self-extractors/qcom/staging/Android.mk index 526762f..f95e98f 100644 --- a/self-extractors/qcom/staging/Android.mk +++ b/self-extractors/qcom/staging/Android.mk @@ -15,6 +15,10 @@ LOCAL_MODULE_OWNER := qcom LOCAL_MODULE_CLASS := APPS LOCAL_SRC_FILES := $(LOCAL_MODULE).apk LOCAL_CERTIFICATE := platform +# Disable dexpreopt and <uses-library> check because the APK depends on +# libraries that are not present as modules in the build system. +LOCAL_ENFORCE_USES_LIBRARIES := false +LOCAL_DEX_PREOPT := false include $(BUILD_PREBUILT) include $(CLEAR_VARS) @@ -31,6 +35,10 @@ LOCAL_MODULE_OWNER := qcom LOCAL_MODULE_CLASS := APPS LOCAL_SRC_FILES := $(LOCAL_MODULE).apk LOCAL_CERTIFICATE := platform +# Disable dexpreopt and <uses-library> check because the APK depends on +# libraries that are not present as modules in the build system. +LOCAL_ENFORCE_USES_LIBRARIES := false +LOCAL_DEX_PREOPT := false include $(BUILD_PREBUILT) include $(CLEAR_VARS) @@ -46,5 +54,9 @@ LOCAL_MODULE_OWNER := qcom LOCAL_MODULE_CLASS := APPS LOCAL_SRC_FILES := $(LOCAL_MODULE).apk LOCAL_CERTIFICATE := platform +# Disable dexpreopt and <uses-library> check because the APK depends on +# libraries that are not present as modules in the build system. +LOCAL_ENFORCE_USES_LIBRARIES := false +LOCAL_DEX_PREOPT := false include $(BUILD_PREBUILT) endif |