Add default_visibility for soong modules

So that we don't get surprise usages.

Bug: 348717861
Test: m nothing
Change-Id: I47319a727092c1bd936cca88f5713ee977a48b48
This commit is contained in:
Cole Faust
2024-09-18 16:42:01 -07:00
parent 3249ac6d3f
commit 16d227a725
28 changed files with 79 additions and 3 deletions

View File

@@ -20,10 +20,14 @@ bootstrap_go_package {
name: "soong-testing-code_metadata_internal_proto",
pkgPath: "android/soong/testing/code_metadata_internal_proto",
deps: [
"golang-protobuf-reflect-protoreflect",
"golang-protobuf-runtime-protoimpl",
],
"golang-protobuf-reflect-protoreflect",
"golang-protobuf-runtime-protoimpl",
],
srcs: [
"code_metadata_internal.pb.go",
],
visibility: [
"//build/make/tools/metadata",
"//build/soong:__subpackages__",
],
}