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

@@ -20,7 +20,7 @@ fi
# Execute whatever is printed by autoninja.py.
# Also print it to reassure that the right settings are being used.
python3 "$(dirname -- "$0")/autoninja.py" "$@"
vpython3 "$(dirname -- "$0")/autoninja.py" "$@"
retval=$?
if [ "$retval" == "0" ] && [ "$NINJA_SUMMARIZE_BUILD" == "1" ]; then