Migrate system/core/adb to packages/modules/adb

Adding new path to visibility rule, as b/170958306 prevents adding
new changes to a project being introduced in the same topic.  We need to
do this ahead of the migration and then cleanup after the migration is
complete.

BUG: 167963357
Test: TH
Change-Id: Id02e4ea3a6d387bad7b2dbd5d0a38f662d0254fc
This commit is contained in:
Baligh Uddin 2020-10-18 15:09:52 +00:00
parent 2abdb1eb5b
commit 2767447034
7 changed files with 16 additions and 4 deletions

View file

@ -293,8 +293,9 @@ cc_library {
export_include_dirs: ["."],
visibility: [
"//system/core/adb:__subpackages__",
"//bootable/recovery/minadbd:__subpackages__",
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
],
apex_available: [
@ -499,6 +500,7 @@ cc_library_static {
],
visibility: [
"//bootable/recovery/minadbd",
"//packages/modules/adb:__subpackages__",
"//system/core/adb",
],
}
@ -578,6 +580,7 @@ cc_library {
"com.android.adbd",
],
visibility: [
"//packages/modules/adb",
"//system/core/adb",
],
@ -636,6 +639,7 @@ cc_library {
visibility: [
"//bootable/recovery/minadbd",
"//packages/modules/adb",
"//system/core/adb",
],
}

View file

@ -39,8 +39,9 @@ cc_defaults {
export_include_dirs: ["include"],
visibility: [
"//system/core/adb:__subpackages__",
"//bootable/recovery/minadbd:__subpackages__",
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
],
host_supported: true,

View file

@ -39,6 +39,7 @@ cc_library {
defaults: ["adbd_defaults"],
visibility: [
"//art:__subpackages__",
"//packages/modules/adb/apex:__subpackages__",
"//system/core/adb/apex:__subpackages__",
],
apex_available: [

View file

@ -40,6 +40,7 @@ cc_defaults {
visibility: [
"//art:__subpackages__",
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
],

View file

@ -39,8 +39,9 @@ cc_defaults {
visibility: [
"//art:__subpackages__",
"//system/core/adb:__subpackages__",
"//frameworks/base/services:__subpackages__",
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
// This needs to be visible to minadbd, even though it's removed via exclude_shared_libs.
"//bootable/recovery/minadbd:__subpackages__",
@ -129,8 +130,9 @@ cc_defaults {
visibility: [
"//art:__subpackages__",
"//system/core/adb:__subpackages__",
"//frameworks/base/services:__subpackages__",
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
],
recovery_available: false,

View file

@ -40,6 +40,7 @@ cc_defaults {
},
visibility: [
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
// This needs to be visible to minadbd, even though it's removed via exclude_shared_libs.
@ -94,6 +95,7 @@ cc_defaults {
},
visibility: [
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
// This needs to be visible to minadbd, even though it's removed via exclude_shared_libs.

View file

@ -40,6 +40,7 @@ cc_defaults {
visibility: [
"//bootable/recovery/minadbd:__subpackages__",
"//packages/modules/adb:__subpackages__",
"//system/core/adb:__subpackages__",
],