summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-10-05 11:17:01 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-10-05 11:17:01 +0000
commit68d17855ea001b6309dbd790ae3cc1fe191c7b6c (patch)
treead72f166fbb104416ef4b4a08e006b87047baf5d
parentf1df6bf33ae6688dc4d3dfc7cee0db2b8f97f6c6 (diff)
parentc0f8a28e54ba5d5d2691e7eaf319c7ed7b387d0c (diff)
Merge "Build stub libraries with smaller deps"
-rw-r--r--StubLibraries.bp19
1 files changed, 18 insertions, 1 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index 9e087f020246..c55fbd2d0728 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -55,7 +55,24 @@ stubs_defaults {
aidl: {
local_include_dirs: ["telephony/java"],
},
- libs: ["framework-internal-utils"],
+ // These are libs from framework-internal-utils that are required (i.e. being referenced)
+ // from framework-non-updatable-sources. Add more here when there's a need.
+ // DO NOT add the entire framework-internal-utils. It might cause unnecessary circular
+ // dependencies gets bigger.
+ libs: [
+ "android.hardware.cas-V1.2-java",
+ "android.hardware.health-V1.0-java-constants",
+ "android.hardware.radio-V1.5-java",
+ "android.hardware.thermal-V1.0-java-constants",
+ "android.hardware.thermal-V2.0-java",
+ "android.hardware.tv.input-V1.0-java-constants",
+ "android.hardware.tv.tuner-V1.0-java-constants",
+ "android.hardware.usb-V1.0-java-constants",
+ "android.hardware.usb-V1.1-java-constants",
+ "android.hardware.usb.gadget-V1.0-java",
+ "android.hardware.vibrator-V1.3-java",
+ "framework-protos",
+ ],
installable: false,
annotations_enabled: true,
previous_api: ":android.api.public.latest",