Remove assert statements in autoninja.py
These were introduced in crrev.com/c/6024739 and currently break autoninja for non-Googlers who manually enable Siso by setting the use_siso=true GN arg. $ gn gen --args='use_siso=true' out/Debug $ autoninja -C out/Debug base Traceback (most recent call last): File "/home/philwo/depot_tools/autoninja.py", line 504, in <module> sys.exit(main(sys.argv)) ^^^^^^^^^^^^^^ File "/home/philwo/depot_tools/autoninja.py", line 493, in main exit_code = _main_inner(input_args, build_id, should_collect_logs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/philwo/depot_tools/autoninja.py", line 249, in _main_inner assert use_siso != False ^^^^^^^^^^^^^^^^^ AssertionError R=ukai@google.com Change-Id: I6536576d39b4ef094daa4e7ec80f3d743ecefd85 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6058992 Auto-Submit: Philipp Wollermann <philwo@google.com> Reviewed-by: Fumitoshi Ukai <ukai@google.com> Commit-Queue: Fumitoshi Ukai <ukai@google.com>changes/92/6058992/3
parent
5786e1ee10
commit
885ed47343
Loading…
Reference in New Issue