mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
ninjalog_uploader: use goma_auth to detect googler
Bug: 1288639 Change-Id: I447e2f66603ffb8d68599dcf22023fd7857dc4fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3400398 Reviewed-by: Fumitoshi Ukai <ukai@google.com> Reviewed-by: Josip Sokcevic <sokcevic@google.com> Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
This commit is contained in:
@@ -17,7 +17,7 @@ import subprocess2
|
||||
THIS_DIR = os.path.dirname(__file__)
|
||||
UPLOADER = os.path.join(THIS_DIR, 'ninjalog_uploader.py')
|
||||
CONFIG = os.path.join(THIS_DIR, 'ninjalog.cfg')
|
||||
VERSION = 2
|
||||
VERSION = 3
|
||||
|
||||
|
||||
def LoadConfig():
|
||||
@@ -29,8 +29,7 @@ def LoadConfig():
|
||||
return config
|
||||
|
||||
return {
|
||||
'is-googler':
|
||||
ninjalog_uploader.IsGoogler('chromium-build-stats.appspot.com'),
|
||||
'is-googler': ninjalog_uploader.IsGoogler(),
|
||||
'countdown': 10,
|
||||
'version': VERSION,
|
||||
}
|
||||
@@ -69,6 +68,8 @@ If you have questions about this, please send mail to infra-dev@chromium.org
|
||||
|
||||
You can find a more detailed explanation in
|
||||
%s
|
||||
or
|
||||
https://chromium.googlesource.com/chromium/tools/depot_tools/+/main/ninjalog.README.md
|
||||
|
||||
""" % (whitelisted, countdown, __file__, __file__,
|
||||
os.path.abspath(os.path.join(THIS_DIR, "ninjalog.README.md"))))
|
||||
|
||||
Reference in New Issue
Block a user