Files
build_soong/cc
Vinh Tran bc9c8b494c 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
2022-12-12 12:17:49 -05:00
..
2022-10-05 09:06:49 +09:00
2022-10-10 15:33:50 +00:00
2022-12-02 10:40:43 -05:00
2022-05-05 16:36:56 +01:00
2022-12-01 20:01:03 +00:00
2022-08-17 10:43:13 -07:00
2022-05-05 16:36:56 +01:00
2022-06-24 13:45:32 +00:00
2021-04-26 18:41:00 -07:00
2022-12-02 10:39:43 -05:00
2022-10-20 14:31:24 -07:00
2022-09-30 19:32:48 -07:00
2022-08-31 19:40:22 +00:00
2020-07-16 13:21:43 -07:00
2021-07-21 20:37:46 -07:00
2022-11-30 16:36:14 +09:00
2022-11-08 17:17:52 -05:00
2022-10-06 15:24:11 +00:00
2022-04-25 16:00:17 -04:00
2022-07-29 17:54:40 +00:00