Deprecate autosiso.bat and autosiso.

These are no longer needed, since autoninja now delegates to either
Ninja or Siso based on the value of the "use_siso" GN arg.

Bug: b/293657720
Change-Id: I612640c6f902b2a1336f856fdf3f723214114ff9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4997648
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Philipp Wollermann <philwo@chromium.org>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
Reviewed-by: Junji Watanabe <jwata@google.com>
changes/48/4997648/7
Philipp Wollermann 2 years ago committed by LUCI CQ
parent 3a66263cd2
commit 5828285134

@ -4,5 +4,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
base_dir=$(dirname "$0")
PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/autosiso.py" "$@"
echo "Error: 'autosiso' is deprecated and will be removed soon." >&2
echo "" >&2
echo "You can just run 'autoninja' instead, which will delegate either to Ninja" >&2
echo "or to Siso based on the value of the 'use_siso' GN arg." >&2
exit 1

@ -4,11 +4,11 @@
:: 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
echo Error: 'autosiso' is deprecated and will be removed soon.
echo.
echo You can just run 'autoninja' instead, which will delegate either to Ninja
echo or to Siso based on the value of the 'use_siso' GN arg.
:: Defer control.
:: Add double quotes to the arguments to preserve the special '^' character.
:: See autosiso.py for more information.
python3 "%~dp0\autosiso.py" "%*"
:: Return an error code of 1 so that if a developer types:
:: "autosiso chrome && chrome" then the second part won't accidentally be run.
cmd /c exit 1

Loading…
Cancel
Save