From 9e09bba237ea2c3ed0973209cb6390428bcd5ea9 Mon Sep 17 00:00:00 2001 From: Romain Jobredeaux Date: Wed, 8 Sep 2021 18:09:02 +0000 Subject: [PATCH] Exclude directories with manual BUILD files from bp2build. Test: b build packages/apps/QuickSearchBox Change-Id: I2534a328e28a6fff1385bfccdc3b461198bc1f88 --- android/bazel.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/bazel.go b/android/bazel.go index b01bd703e..347f5c05a 100644 --- a/android/bazel.go +++ b/android/bazel.go @@ -145,17 +145,23 @@ var ( "build/bazel/platforms":/* recursive = */ true, "build/bazel/product_variables":/* recursive = */ true, "build/bazel_common_rules":/* recursive = */ true, + "build/make/tools":/* recursive = */ true, "build/pesto":/* recursive = */ true, // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed "external/bazelbuild-rules_android":/* recursive = */ true, "external/bazel-skylib":/* recursive = */ true, + "external/guava":/* recursive = */ true, + "external/error_prone":/* recursive = */ true, + "external/jsr305":/* recursive = */ true, + "frameworks/ex/common":/* recursive = */ true, "prebuilts/sdk":/* recursive = */ false, "prebuilts/sdk/tools":/* recursive = */ false, "prebuilts/r8":/* recursive = */ false, "packages/apps/Music":/* recursive = */ true, + "packages/apps/QuickSearchBox":/* recursive = */ true, } // Configure modules in these directories to enable bp2build_available: true or false by default.