summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
author Usta Shrestha <usta@google.com> 2022-10-24 11:33:09 -0400
committer Usta (Tsering) Shrestha <usta@google.com> 2022-10-24 17:55:06 +0000
commit2ba28a34bd2a573a723eb08b0bd4fda08d7e2570 (patch)
tree398457f80836cf93fba63dc445a3b8dfd86cd79a /sdk/java_sdk_test.go
parent706d35fe7c6b7d89d7d57beeec5d6f988eb19674 (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 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions