platform_build_soong/cmd
Jingwen Chen 7dcc4fcc68 bp2build: fix BUILD file generation incrementality bug.
Before this change, changes to any Android.bp file would not trigger a re-run of bp2build/Soong, since the depfile for Soong's main output, the build.ninja file, didn't contain the list of Android.bp files. bp2build only reran when Soong itself changed, which happens regularly while developing bp2build, but not at all while modifying Android.bp files.

This change correctly dumps the list of all Android.bp files in the tree to the depfile for out/soong/build.ninja, therefore correctly triggering a re-run of bp2build when any Android.bp file changes.

Test: GENERATE_BAZEL_FILES=true m nothing; edit an Android.bp file; GENERATE_BAZEL_FILES=true m nothing -> successfully re-runs and regenerates out/soong/bp2build.

Test: inspect out/soong/build.ninja.d manually
Fixes: 179452534

Change-Id: Iad80c381b3afa38a4d4fafca035e46aa2a1f206a
2021-02-05 01:33:47 -05:00
..
dep_fixer Rewrite depfile from sbox to stay reproducible 2019-08-29 14:47:40 -07:00
diff_target_files Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
extract_apks Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
extract_jar_packages Fix bpfmt issues and add bpfmt to preupload checks 2020-06-29 09:14:08 +02:00
extract_linker Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
fileslist fileslist: hash the content of symlink, not the file it points to. 2017-03-29 13:43:41 -07:00
host_bionic_inject Remove unnecessary snake case variables. 2020-12-22 12:38:35 -08:00
javac_wrapper Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
merge_zips Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
multiproduct_kati multiproduct_kati: increase ram per job to 25GB 2021-01-26 22:09:44 +00:00
path_interposer Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
pom2bp pom2bp: add apex_available/min_sdk_version 2020-05-27 00:37:45 +09:00
pom2mk Add -jetifier to pom2mk and pom2bp 2019-04-20 21:47:14 -07:00
sbox Add executable flag to sbox copy requests 2020-12-07 12:27:50 -08:00
soong_build bp2build: fix BUILD file generation incrementality bug. 2021-02-05 01:33:47 -05:00
soong_env Add and update comments in env and android_env.go 2020-11-16 16:01:27 -08:00
soong_ui Skip Bazel dist dir migration if not in dist mode or if Bazel dist dir does not exist. 2020-12-17 01:01:33 +00:00
zip2zip Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
zipsync zipsync handles symlink 2020-11-19 08:58:02 +09:00