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>
changes/18/5769918/2
Andrew Grieve 7 months ago committed by LUCI CQ
parent 78d32ff67a
commit 5f6542c176

@ -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

Loading…
Cancel
Save