android_system_core/diagnose_usb/Android.bp
Jiyong Park d25bb60e05 Set apex_available property
The marked library(ies) were available to the adbd APEX via the
hand-written whitelist in build/soong/apex/apex.go. Trying to remove the
whitelist by adding apex_available property to the Android.bp of the
libraries.

Exempt-From-Owner-Approval: already +2'ed by the owner (enh)

Bug: 150999716
Bug: 151398197
Test: m
Change-Id: I8b572e3c4e76bd10c0443a6c08b72e9519243ab5
2020-03-23 10:50:12 +00:00

19 lines
470 B
Text

cc_library_static {
name: "libdiagnose_usb",
cflags: ["-Wall", "-Wextra", "-Werror"],
host_supported: true,
recovery_available: true,
apex_available: [
"com.android.adbd",
// TODO(b/151398197) remove the below
"//apex_available:platform",
],
target: {
windows: {
enabled: true,
},
},
srcs: ["diagnose_usb.cpp"],
export_include_dirs: ["include"],
static_libs: ["libbase"],
}