mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
autoninja.py: Detect when use_siso=false exists after use_siso=true
I ran into this from having use_siso=true in an include(), and then trying to turn it off again via an assignment Change-Id: Iba70ade68c7a3699755d6a0070816283e0538c6f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5769918 Commit-Queue: Junji Watanabe <jwata@google.com> Auto-Submit: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Junji Watanabe <jwata@google.com>
This commit is contained in:
@@ -242,9 +242,18 @@ def _main_inner(input_args, build_id, should_collect_logs=False):
|
||||
if k == "use_remoteexec" and v == "true":
|
||||
use_remoteexec = True
|
||||
continue
|
||||
if k == "use_remoteexec" and v == "false":
|
||||
use_remoteexec = False
|
||||
continue
|
||||
if k == "use_siso" and v == "true":
|
||||
use_siso = True
|
||||
continue
|
||||
if k == "use_siso" and v == "false":
|
||||
use_siso = False
|
||||
continue
|
||||
if k == "use_reclient" and v == "true":
|
||||
use_reclient = True
|
||||
continue
|
||||
if k == "use_reclient" and v == "false":
|
||||
use_reclient = False
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user