diff options
author | 2024-09-30 12:38:03 -0700 | |
---|---|---|
committer | 2024-09-30 12:40:01 -0700 | |
commit | 3275cdf449b48f3de8be12b18fce7e1f3c41cf3f (patch) | |
tree | 1eba986d06d35ad3df5167b7b4253c5ac76d9727 /cmd | |
parent | 648daea67d55b7e0996923880f45b4923289a26e (diff) |
Add missing dependency on soong.variables
I0dbc5ec58c89b869b59cd0602b82215c4972d799 dropped
configuration.ProductVariablesFileName from the ninja file dependencies.
This causes Soong not to rerun when soong.variables is modified.
Bug: 369141481
Test: m USE_HOST_MUSL=true nothing && m nothing, Soong reruns
Flag; EXEMPT bugfix
Change-Id: Ifb4c580eb72cad2f6555167fe40f43dcefa21d62
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/soong_build/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go index 577c6cc74..5b1ae5406 100644 --- a/cmd/soong_build/main.go +++ b/cmd/soong_build/main.go @@ -375,6 +375,7 @@ func main() { ctx.Register() finalOutputFile, ninjaDeps := runSoongOnlyBuild(ctx) + ninjaDeps = append(ninjaDeps, configuration.ProductVariablesFileName) ninjaDeps = append(ninjaDeps, usedEnvFile) if shared.IsDebugging() { // Add a non-existent file to the dependencies so that soong_build will rerun when the debugger is |