diff options
| author | 2022-10-24 11:33:09 -0400 | |
|---|---|---|
| committer | 2022-10-24 17:55:06 +0000 | |
| commit | 2ba28a34bd2a573a723eb08b0bd4fda08d7e2570 (patch) | |
| tree | 398457f80836cf93fba63dc445a3b8dfd86cd79a /scripts/gen-kotlin-build-file.py | |
| parent | 706d35fe7c6b7d89d7d57beeec5d6f988eb19674 (diff) | |
write soong.environment.used.* file only if changed
Bug: b/255309129
Test: `lunch aosp_x86-userdebug` and `export NINJA_ARGS="-d explain"`
Then do the following:
1) rm -rf out && m bp2build
2) touch bionic/libc && m bp2build
3) ALLOW_MISSING_DEPENDENCIES=true m bp2build
After each step above observe the following two
a)`stat out/soong/soong.environment.used.bp2build | grep Modify`
b)`stat out/soong/bp2build_workspace_marker | grep Modify`
Verified:
step 2 changes only (b) - prior to this CL, it'd change (a) as well
step 3 still changes both (as expected)
Change-Id: I98a94878a14e19043f448b0904fc67d5d1dc9733
Diffstat (limited to 'scripts/gen-kotlin-build-file.py')
0 files changed, 0 insertions, 0 deletions