[autosiso] Do not double quote arguments on Windows.

The double quotations are necessary to preserve "^" for Ninja's single file compilation.
But Siso doesn't support this syntax for now.

Bug: b/270653823
Change-Id: I9c775ad295119dad3b1ba5aebdccce59127232c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4551121
Auto-Submit: Junji Watanabe <jwata@google.com>
Commit-Queue: Junji Watanabe <jwata@google.com>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
changes/21/4551121/9
Junji Watanabe 2 years ago committed by LUCI CQ
parent 4d73c057d8
commit 3a5cc40813

@ -9,4 +9,4 @@ setlocal
set PATH=%PATH%;%~dp0
:: Defer control.
python3 "%~dp0\autosiso.py" "%*"
python3 "%~dp0\autosiso.py" %*

@ -32,6 +32,12 @@ def _use_remoteexec(argv):
def main(argv):
# TODO(b/283714114): support single file compile with '^'.
# The arguments need to be passed as a double quoted string on Windows.
#
# pylint: disable=line-too-long
# See also https://source.chromium.org/chromium/chromium/tools/depot_tools/+/main:autoninja.py;l=33-42;drc=eb2866e6541607f63cdc50038379886c77f17506
if not _use_remoteexec(argv):
print(
"`use_remoteexec=true` is not detected.\n"

Loading…
Cancel
Save