From b51e1ffce4656709a040d1e16b09a33acae3e6f8 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Tue, 4 Apr 2023 14:06:29 -0700 Subject: [PATCH] Make android_certificate_directory public This should not be necessary because bp2build should emit a package() statement with default_visibility = public. However, there appears to be a problem with bp2build's symlink forest, where it doesn't handle symlinks correctly. build/target is a symlink to build/make/target, but in the symlink forest, build/target is a symlink to the source dir's build/target instead of to the symlink forest's build/make/target. This means that when reading this build file via the build/target symlink, you won't get the bp2build-provided default visibility. (or any other bp2build generated targets) We should send a proper fix for this, but in the meantime submit this quick fix to resolve some failing builds. Bug: 269577299 Test: lunch bertha_x86_64-userdebug, m nothing Change-Id: Ia45c7f4a0655b1364b735d6eccf25cad70cad134 --- target/product/security/BUILD.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/target/product/security/BUILD.bazel b/target/product/security/BUILD.bazel index 08c1944fe8..c12be79833 100644 --- a/target/product/security/BUILD.bazel +++ b/target/product/security/BUILD.bazel @@ -4,4 +4,5 @@ filegroup( "*.pk8", "*.pem", ]), + visibility = ["//visibility:public"], )