diff options
author | Ulya Trafimovich <skvadrik@google.com> | 2021-05-07 16:13:45 +0100 |
---|---|---|
committer | Ulya Trafimovich <skvadrik@google.com> | 2021-05-07 16:13:45 +0100 |
commit | 247d38afd5193abaa2fd88e5d7839b44c0dc8cb1 (patch) | |
tree | 528ef99a2ac17253b0807d8dd09277d5166661dc | |
parent | 1d6a084cc9e227e96733127d481c05d5f7f5061f (diff) | |
download | development-247d38afd5193abaa2fd88e5d7839b44c0dc8cb1.tar.gz |
Add <uses-library> information.
LOCAL_USES_LIBRARIES / LOCAL_OPTIONAL_USES_LIBRARIES should be added to
the app's Android.mk module and should match <uses-library> tags in the
app's manifest, so that the build knows about these libraries and
generates correct class loader context for dexpreopt.
Bug: 132357300
Test: m out/target/common/obj/APPS/Development_intermediates/enforce_uses_libraries.status
Change-Id: Ie5e36dd60040a1e7653acdf882e006de513f5367
-rw-r--r-- | apps/Development/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/Development/Android.mk b/apps/Development/Android.mk index 39498d543..3db6cc326 100644 --- a/apps/Development/Android.mk +++ b/apps/Development/Android.mk @@ -5,6 +5,9 @@ LOCAL_MODULE_TAGS := optional LOCAL_JAVA_LIBRARIES := android.test.runner.stubs telephony-common org.apache.http.legacy +LOCAL_USES_LIBRARIES := android.test.runner +LOCAL_OPTIONAL_USES_LIBRARIES := org.apache.http.legacy android.test.base android.test.mock + LOCAL_SRC_FILES := $(call all-subdir-java-files) \ src/com/android/development/IRemoteService.aidl \ |