Merge "Set apex_available property"

This commit is contained in:
Jiyong Park 2020-03-23 10:51:28 +00:00 committed by Gerrit Code Review
commit fb0b0d24f2
5 changed files with 21 additions and 0 deletions

View file

@ -526,6 +526,7 @@ 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,
@ -580,6 +581,7 @@ cc_binary {
defaults: ["adbd_defaults", "host_adbd_supported"],
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

@ -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

@ -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"],
},