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

Side by Side Diff: infra/bots/assets/win_toolchain/common.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 unified diff | Download patch
« no previous file with comments | « infra/bots/assets/win_toolchain/VERSION ('k') | infra/bots/assets/win_toolchain/create.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2016 Google Inc. 3 # Copyright 2016 Google Inc.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 8
9 """Common vars used by scripts in this directory.""" 9 """Common vars used by scripts in this directory."""
10 10
11 11
12 import os 12 import os
13 import sys 13 import sys
14 14
15 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 15 FILE_DIR = os.path.dirname(os.path.abspath(__file__))
16 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 16 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
17 17
18 sys.path.insert(0, INFRA_BOTS_DIR) 18 sys.path.insert(0, INFRA_BOTS_DIR)
19 from assets import assets 19 from assets import assets
20 20
21 ASSET_NAME = os.path.basename(FILE_DIR) 21 ASSET_NAME = os.path.basename(FILE_DIR)
22 22
23 23
24 def run(cmd): 24 def run(cmd):
25 """Run a command, eg. "upload" or "download". """ 25 """Run a command, eg. "upload" or "download". """
26 assets.main([cmd, ASSET_NAME] + sys.argv[1:]) 26 assets.main([cmd, ASSET_NAME] + sys.argv[1:])
OLDNEW
« no previous file with comments | « infra/bots/assets/win_toolchain/VERSION ('k') | infra/bots/assets/win_toolchain/create.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698