summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Vinh Tran <vinhdaitran@google.com> 2022-12-09 12:03:52 -0500
committer Vinh Tran <vinhdaitran@google.com> 2022-12-12 12:17:49 -0500
commitbc9c8b494ca176505c5d0cb5cfad7a61c07145f6 (patch)
tree1cd6a90d303c1f7990dc03b4a3224b9c97c46090 /java/java.go
parent99270ea3c3139182ed5fcfc69b8fe2a8003c519f (diff)
Add check for handcrafted BUILD file in bp2build
ag/20469925 added a handcrafted BUILD file (allowlisted in ag/20597986) to internal master. ag/c/platform/build/soong/+/20583593/12/cc/bp2build.go#818 generates references to the targets in the BUILD file. However in tm-dev, the BUILD file doesn't exist while the .afdo files do. One solution is to cherry-pick the BUILD file to tm-dev. However, tm-dev doesn't have vendor/google/build/soong/bp2build_allowlist.go to check in the BUILD file in bp2build. This CL adds a check that the BUILD file exists to avoid the failure as in https://android-build.googleplex.com/builds/pending/P45724500/aosp_cf_x86_64_phone-userdebug/latest/view/logs/build_error.log in tm-qpr-dev-plus-aosp branch. Bug: 253540178 Test: go test Change-Id: I47fb853015ca230afe3cefe1d37728bf714624be Merged-In: I47fb853015ca230afe3cefe1d37728bf714624be
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions