Files
chromium_depot_tools/autosiso.bat
Junji Watanabe ce3e819465 [autosiso] Add single file compile support on Windows
'^' needs to be preserved for single file compile on Windows.

```
PS C:\src\chromium\src> autosiso -C out/rbe ../../base/version.cc^^
Proxy started successfully.
loading fs state...done 499.1µs
update filegroups... 0s
loading build.ninja...done 3.3774184s
run:111+0 pure:857 cache:498 fallback:0 skip:0
deps log:0 logErr:0 scanErr:0
    resource/capa used(err)  wait-avg |   s m |  serv-avg |   s m |
   file-digest/64   3390(9)        0s |█      |       2ms |█▂▂    |
          fork/64    111(0)        0s |█      |      32ms |▄█▂    |
     fs-flush/128    300(0)        0s |█      |      10ms |█▃▂    |
     localexec/64    111(0)        0s |█      |     565ms |  █▂   |
    preproc/65536    609(0)        0s |█      |        0s |█      |
 reproxyexec/5120    498(0)        0s |█      |    2.734s | ▂▆█   |
     scandeps/256      9(0)        0s |█      |        0s |█      |
Build Succeeded: 857 steps in 16.563s
Shutting down reproxy...
RBE Stats: ↓ 43.06 MB, ↑ 0 B, 498 cache hits
```

Bug: b/289309062
Change-Id: I1044ed372006928f043b4b8404ba9364a7a1047c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4751319
Auto-Submit: Junji Watanabe <jwata@google.com>
Commit-Queue: Junji Watanabe <jwata@google.com>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
2023-08-04 07:00:12 +00:00

15 lines
512 B
Batchfile

@echo off
:: Copyright 2023 The Chromium Authors
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
setlocal
:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used
:: standalone, but allow other PATH manipulations to take priority.
set PATH=%PATH%;%~dp0
:: Defer control.
:: Add double quotes to the arguments to preserve the special '^' character.
:: See autosiso.py for more information.
python3 "%~dp0\autosiso.py" "%*"