platform_build_soong/cmd
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
..
dep_fixer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
diff_target_files Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_apks Add skip-sdk-check to extract_apks 2023-03-21 08:13:25 -07:00
extract_jar_packages Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_linker Fix adding /DISCARD/ to linker script 2022-02-25 18:25:45 -08:00
fileslist Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
go2bp If invoked 'go list' command fails, show its stderr. 2022-04-19 11:32:28 -07:00
host_bionic_verify Stop injecting symbols into host bionic binaries 2021-06-11 15:22:41 -07:00
javac_wrapper Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
merge_zips Merge META-INF/services/* files in merge_zips -jar 2023-07-20 18:59:35 +00:00
multiproduct_kati Improve memory usage in multiproduct_kati 2023-06-22 00:45:03 +00:00
path_interposer Add comments for path_interposer. 2022-05-06 12:42:05 +02:00
pom2bp Make pom2bp output preprocessed: true on app imports 2023-07-14 15:44:24 -07:00
pom2mk Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
run_with_timeout Increase timeouts in Test_runWithTimeout 2021-09-17 21:36:29 +00:00
sbox allow Ninja variables in RuleBuilder API 2023-09-07 20:56:02 +00:00
soong_build Add unit test for parsing build files in bp2build 2023-09-14 19:19:28 +00:00
soong_ui Log the command line to soong.log when soong_ui starts 2023-07-14 16:33:19 -07:00
symbols_map symbols_map: allow unexpected EOF in ELF files 2022-04-12 21:18:09 +00:00
zip2zip Strip zip64 extras after writing local header when copying 2023-08-22 14:24:25 -07:00
zipsync Support multiple filters in zipsync 2023-06-14 06:44:49 +00:00