Merge "Build stub libraries with smaller deps" am: 68d17855ea am: 88c2c1aa6f am: 1ed5aad300

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440213

Change-Id: I9e438e107e5d505ac8bbe89501d774aedb3c04a5
This commit is contained in:
Treehugger Robot
2020-10-05 12:36:38 +00:00
committed by Automerger Merge Worker

View File

@@ -55,7 +55,24 @@ stubs_defaults {
aidl: { aidl: {
local_include_dirs: ["telephony/java"], 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, installable: false,
annotations_enabled: true, annotations_enabled: true,
previous_api: ":android.api.public.latest", previous_api: ":android.api.public.latest",