From 74e3e003148d202749cc79456e61f65ba1f4f25a Mon Sep 17 00:00:00 2001 From: Wei Li Date: Wed, 26 Apr 2023 12:15:55 -0700 Subject: [PATCH] Allowlist SBOM generation tool so it can be used in Bazel. Bug: 275472038 Test: b build //build/make/tools/sbom:generate-sbom && bazel-out/aosp_cf_x86_64_phone-userdebug_linux_x86_64-opt/bin/build/make/tools/sbom/generate-sbom Change-Id: I4ad68b0613410f40c79ee24d3eef779c2ad57815 --- android/allowlists/allowlists.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/allowlists/allowlists.go b/android/allowlists/allowlists.go index 433c06357..6f7302222 100644 --- a/android/allowlists/allowlists.go +++ b/android/allowlists/allowlists.go @@ -59,7 +59,9 @@ var ( "build/bazel": Bp2BuildDefaultTrueRecursively, "build/make/target/product/security": Bp2BuildDefaultTrue, + "build/make/tools/protos": Bp2BuildDefaultTrue, "build/make/tools/releasetools": Bp2BuildDefaultTrue, + "build/make/tools/sbom": Bp2BuildDefaultTrue, "build/make/tools/signapk": Bp2BuildDefaultTrue, "build/make/tools/zipalign": Bp2BuildDefaultTrueRecursively, "build/soong": Bp2BuildDefaultTrue, @@ -1435,6 +1437,9 @@ var ( "MetaDataBaseUnitTest", // depends on libstagefright "AVCUtilsUnitTest", // depends on libstagefright "ColorUtilsTest", // depends on libmediandk + + // python_test_host with test data + "sbom_writers_test", } MixedBuildsDisabledList = []string{