Merge changes from topic "apex_available" into rvc-dev

* changes:
  adbd: add apex_available and visibility for internal libs.
  Set apex_available property
  Set apex_available property
  Set apex_available property
  Set apex_available property
This commit is contained in:
Jiyong Park 2020-04-21 03:15:39 +00:00 committed by Android (Google) Code Review
commit 132bb5f861
15 changed files with 85 additions and 0 deletions

View File

@ -425,6 +425,15 @@ cc_library_static {
],
}
},
apex_available: [
"//apex_available:platform",
"com.android.adbd",
],
visibility: [
"//bootable/recovery/minadbd",
"//system/core/adb",
],
}
cc_library {
@ -492,12 +501,22 @@ cc_library {
],
},
},
apex_available: [
"//apex_available:platform",
"com.android.adbd",
],
visibility: [
"//system/core/adb",
],
}
cc_library {
name: "libadbd",
defaults: ["adbd_defaults", "host_adbd_supported"],
recovery_available: true,
apex_available: ["com.android.adbd"],
// avoid getting duplicate symbol of android::build::getbuildnumber().
use_version_lib: false,
@ -550,6 +569,7 @@ cc_binary {
defaults: ["adbd_defaults", "host_adbd_supported", "libadbd_binary_dependencies"],
stl: "libc++_static",
recovery_available: true,
apex_available: ["com.android.adbd"],
srcs: [
"daemon/main.cpp",

View File

@ -18,6 +18,11 @@ cc_library {
use_version_lib: false,
recovery_available: true,
apex_available: [
"com.android.adbd",
// TODO(b/151398197) remove the below
"//apex_available:platform",
],
compile_multilib: "both",
}

View File

@ -47,6 +47,10 @@ cc_library_headers {
enabled: true,
},
},
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
}
cc_defaults {

View File

@ -3,6 +3,11 @@ cc_library_static {
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,

View File

@ -28,6 +28,10 @@ cc_library {
defaults: ["libasyncio_defaults"],
vendor_available: true,
recovery_available: true,
apex_available: [
"//apex_available:platform",
"com.android.adbd",
],
host_supported: true,
srcs: [
"AsyncIO.cpp",

View File

@ -44,6 +44,10 @@ cc_library_headers {
recovery_available: true,
native_bridge_supported: true,
export_include_dirs: ["include"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
cc_defaults {
@ -92,6 +96,10 @@ cc_library {
name: "libbacktrace",
vendor_available: false,
recovery_available: true,
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
vndk: {
enabled: true,
support_system_process: true,

View File

@ -38,4 +38,8 @@ cc_library {
enabled: true,
},
},
apex_available: [
"//apex_available:platform",
"com.android.adbd",
],
}

View File

@ -29,6 +29,10 @@ cc_library_headers {
vendor_available: true,
recovery_available: true,
host_supported: true,
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
native_bridge_supported: true,
export_include_dirs: ["include"],
target: {
@ -134,6 +138,10 @@ cc_library {
},
recovery_available: true,
host_supported: true,
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
native_bridge_supported: true,
srcs: [
"config_utils.cpp",

View File

@ -38,6 +38,10 @@ cc_library_headers {
vendor_available: true,
ramdisk_available: true,
recovery_available: true,
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
native_bridge_supported: true,
export_include_dirs: ["include"],
system_shared_libs: [],

View File

@ -13,6 +13,10 @@ cc_library_headers {
enabled: true,
},
},
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
cc_library {
@ -52,4 +56,8 @@ cc_library {
"-Werror",
"-Wexit-time-destructors",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}

View File

@ -49,6 +49,7 @@ cc_library {
"libstatssocket_headers",
],
static_libs: ["libgtest_prod"],
apex_available: ["com.android.resolv"],
}
cc_test {

View File

@ -85,6 +85,7 @@ cc_library_headers {
name: "libstatssocket_headers",
export_include_dirs: ["include"],
host_supported: true,
apex_available: ["com.android.resolv"],
}
cc_benchmark {

View File

@ -4,6 +4,10 @@ cc_library_headers {
recovery_available: true,
host_supported: true,
native_bridge_supported: true,
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
export_include_dirs: ["include"],
target: {

View File

@ -18,6 +18,10 @@ cc_library_headers {
recovery_available: true,
host_supported: true,
native_bridge_supported: true,
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
header_libs: [
"liblog_headers",

View File

@ -4,6 +4,11 @@ cc_library_static {
name: "libqemu_pipe",
vendor_available: true,
recovery_available: true,
apex_available: [
"com.android.adbd",
// TODO(b/151398197) remove the below
"//apex_available:platform",
],
sanitize: {
misc_undefined: ["integer"],
},