Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit bca9632

Browse files
author
Ulya Trafimovich
committed
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 Merged-In: Ie5e36dd60040a1e7653acdf882e006de513f5367 (cherry picked from commit 247d38a)
1 parent 4b4bf9f commit bca9632

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/Development/Android.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ LOCAL_MODULE_TAGS := optional
55

66
LOCAL_JAVA_LIBRARIES := android.test.runner.stubs telephony-common org.apache.http.legacy
77

8+
LOCAL_USES_LIBRARIES := android.test.runner
9+
LOCAL_OPTIONAL_USES_LIBRARIES := org.apache.http.legacy android.test.base android.test.mock
10+
811
LOCAL_SRC_FILES := $(call all-subdir-java-files) \
912
src/com/android/development/IRemoteService.aidl \
1013

0 commit comments

Comments
 (0)