summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author Jingwen Chen <jingwen@google.com> 2021-02-05 01:28:44 -0500
committer Jingwen Chen <jingwen@google.com> 2021-02-05 01:33:47 -0500
commit7dcc4fcc684aa3fb9f28ad3a3bf8e5f6518207a6 (patch)
tree2fb2ee17c692f625866281d5563bdcbdecdd86da /java/hiddenapi_singleton.go
parent53b2427fc9a3e256d8611ba27f399fe828797468 (diff)
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
Diffstat (limited to 'java/hiddenapi_singleton.go')
0 files changed, 0 insertions, 0 deletions