adbd: add apex_available and visibility for internal libs.

abb links against libadbd_core for the shell protocol, and must be
on the system image because it links against cmd, so let's just
expose it to abb for now.

Exempt-From-Owner-Approval: cherry-pick from AOSP

Bug: http://b/151398197
Test: treehugger
Merged-In: Id926bc4324d3259def21ea19d3bd72320311a6e3
(cherry picked from commit b567303330)
Change-Id: Id926bc4324d3259def21ea19d3bd72320311a6e3
This commit is contained in:
Josh Gao 2020-03-16 12:48:18 -07:00 committed by Jiyong Park
parent a6bcd4817c
commit d11e67d88d
1 changed files with 18 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,6 +501,15 @@ cc_library {
],
},
},
apex_available: [
"//apex_available:platform",
"com.android.adbd",
],
visibility: [
"//system/core/adb",
],
}
cc_library {