autoninja.py: disallow external account from corp machine

This disallows Googler to use non-google account with reclient and
siso from corp machine.

Bug: b/309720176
Change-Id: I8077eff8bbf47f579462e1fefa3609a5d492a013
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5035266
Reviewed-by: Philipp Wollermann <philwo@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
This commit is contained in:
Takuto Ikuta
2023-11-28 05:49:19 +00:00
committed by LUCI CQ
parent 0acc468d8b
commit 0d0f28a4fc
5 changed files with 133 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ if "%NINJA_SUMMARIZE_BUILD%" == "1" set "NINJA_STATUS=[%%r processes, %%f/%%t @
:: should be consistent between autoninja.bat and the autoninja script used by
:: git bash.
@call %scriptdir%python-bin\python3.bat %scriptdir%autoninja.py "%%*"
@call %scriptdir%\vpython3.bat %scriptdir%autoninja.py "%%*"
@if errorlevel 1 goto buildfailure
:: Use call to invoke python script here, because we use python via python3.bat.