Pick the right download tool for windows.
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2197423002 Review-Url: https://codereview.chromium.org/2197423002
This commit is contained in:
parent
68f2f7dc42
commit
35f3e59d1c
@ -19,6 +19,11 @@ def gn_path():
|
||||
return 'buildtools/mac/gn'
|
||||
return 'buildtools/win/gn.exe'
|
||||
|
||||
quiet('download_from_google_storage',
|
||||
def download_tool():
|
||||
if 'linux' in sys.platform or 'darwin' in sys.platform:
|
||||
return 'download_from_google_storage'
|
||||
return 'download_from_google_storage.bat'
|
||||
|
||||
quiet(download_tool(),
|
||||
'--no_resume --no_auth --bucket chromium-gn',
|
||||
'-s ', gn_path() + '.sha1')
|
||||
|
Loading…
Reference in New Issue
Block a user