Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: infra/bots/assets/win_toolchain/create_and_upload.py

Issue 2111713003: Convert Win toolchain to CIPD package (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: New, stripped down, toolchain Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « infra/bots/assets/win_toolchain/create.py ('k') | infra/bots/assets/win_toolchain/download.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/assets/win_toolchain/create_and_upload.py
diff --git a/infra/bots/assets/android_sdk/create_and_upload.py b/infra/bots/assets/win_toolchain/create_and_upload.py
similarity index 76%
copy from infra/bots/assets/android_sdk/create_and_upload.py
copy to infra/bots/assets/win_toolchain/create_and_upload.py
index 01b1b2c728323902913d58ca02fe1356ad91c958..d428ca4ef9df2352ea3627f1656e59fd27e6eef2 100755
--- a/infra/bots/assets/android_sdk/create_and_upload.py
+++ b/infra/bots/assets/win_toolchain/create_and_upload.py
@@ -19,8 +19,9 @@ import utils
def main():
parser = argparse.ArgumentParser()
- parser.add_argument('--android_sdk_root')
parser.add_argument('--gsutil')
+ parser.add_argument('--chrome_path')
+ parser.add_argument('--msvs_version', required=True)
args = parser.parse_args()
with utils.tmp_dir():
@@ -29,11 +30,12 @@ def main():
upload_script = os.path.join(common.FILE_DIR, 'upload.py')
try:
- cmd = ['python', create_script, '-t', cwd]
- if args.android_sdk_root:
- cmd.extend(['--android_sdk_root', args.android_sdk_root])
+ cmd = ['python', create_script,
+ '-t', cwd,
+ '--msvs_version', args.msvs_version]
+ if args.chrome_path:
+ cmd.extend(['--chrome_path', args.chrome_path])
subprocess.check_call(cmd)
-
cmd = ['python', upload_script, '-t', cwd]
if args.gsutil:
cmd.extend(['--gsutil', args.gsutil])
« no previous file with comments | « infra/bots/assets/win_toolchain/create.py ('k') | infra/bots/assets/win_toolchain/download.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698