diff options
author | 2024-09-18 16:42:01 -0700 | |
---|---|---|
committer | 2024-09-18 17:41:30 -0700 | |
commit | 16d227a725a57acabc9a236de75c1f387754f68c (patch) | |
tree | a09c838b5ea2683ea5616715b335c600d781cd22 /cmd | |
parent | 3249ac6d3fff8636cc5b02ac10ffdaf73167cb96 (diff) |
Add default_visibility for soong modules
So that we don't get surprise usages.
Bug: 348717861
Test: m nothing
Change-Id: I47319a727092c1bd936cca88f5713ee977a48b48
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/extract_apks/bundle_proto/Android.bp | 4 | ||||
-rw-r--r-- | cmd/symbols_map/Android.bp | 1 | ||||
-rw-r--r-- | cmd/zip2zip/Android.bp | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/cmd/extract_apks/bundle_proto/Android.bp b/cmd/extract_apks/bundle_proto/Android.bp index e56c0fb32..0abf1e251 100644 --- a/cmd/extract_apks/bundle_proto/Android.bp +++ b/cmd/extract_apks/bundle_proto/Android.bp @@ -10,4 +10,8 @@ python_library_host { proto: { canonical_path_from_root: false, }, + visibility: [ + "//build/soong:__subpackages__", + "//tools/mainline:__subpackages__", + ], } diff --git a/cmd/symbols_map/Android.bp b/cmd/symbols_map/Android.bp index e3ae6ede5..272e8061a 100644 --- a/cmd/symbols_map/Android.bp +++ b/cmd/symbols_map/Android.bp @@ -30,4 +30,5 @@ bootstrap_go_package { srcs: [ "symbols_map_proto/symbols_map.pb.go", ], + visibility: ["//visibility:public"], } diff --git a/cmd/zip2zip/Android.bp b/cmd/zip2zip/Android.bp index 3ef766865..7f9b16582 100644 --- a/cmd/zip2zip/Android.bp +++ b/cmd/zip2zip/Android.bp @@ -27,4 +27,6 @@ blueprint_go_binary { "zip2zip.go", ], testSrcs: ["zip2zip_test.go"], + // Used by genrules + visibility: ["//visibility:public"], } |