platform_build_soong/cmd/soong_build
Chris Parsons 5011e61c71 Add unit test for parsing build files in bp2build
This involves some minor changes to testing infrastructure.

This is a rollforward of aosp/2628496 with a couple of minor changes:

- In ParseBuildFiles, filter out all build files that are kept due
  to ShouldKeepExistingBuildFileForDir

- Add some minor test infrastructure for StubbedBuildDefinitions, with a
  couple of proof of concept tests used to demonstrate its usage. This
  pattern will become immensely more common as we implement allowlist v2
  (as we will need to update all tests which today simulate build
  definitions that have missing deps)

Bug: 285631638
Fixes: 286545783
Test: bp2build.sh
Test: m nothing
Change-Id: I7c3a03b02098e39dd8e51d327482b440f294478f
2023-09-14 19:19:28 +00:00
..
Android.bp Export provenance metadata for prebuilt APKs and APEXes. 2022-04-05 16:16:16 -07:00
main.go Add unit test for parsing build files in bp2build 2023-09-14 19:19:28 +00:00
queryview.go cosmetic: unused argument 2023-08-04 16:53:31 -04:00
writedocs.go Add Property.Type to bpdocs template 2021-09-12 18:40:37 +00:00