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

Side by Side Diff: chrome/test/chromedriver/archive.py

Issue 17428004: [chromedriver] Fix error due to remove of chrome/test/pylib/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/test/chromedriver/test_environment.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 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Downloads items from the Chromium continuous archive.""" 5 """Downloads items from the Chromium continuous archive."""
6 6
7 import os 7 import os
8 import platform 8 import platform
9 import sys
10 import urllib 9 import urllib
11 10
12 _THIS_DIR = os.path.abspath(os.path.dirname(__file__)) 11 import util
13 sys.path.insert(0, os.path.join(_THIS_DIR, os.pardir, 'pylib'))
14
15 from common import util
16 12
17 CHROME_27_REVISION = '190466' 13 CHROME_27_REVISION = '190466'
18 CHROME_28_REVISION = '198276' 14 CHROME_28_REVISION = '198276'
19 15
20 _SITE = 'http://commondatastorage.googleapis.com' 16 _SITE = 'http://commondatastorage.googleapis.com'
21 17
22 18
23 class Site(object): 19 class Site(object):
24 CONTINUOUS = _SITE + '/chromium-browser-continuous' 20 CONTINUOUS = _SITE + '/chromium-browser-continuous'
25 SNAPSHOT = _SITE + '/chromium-browser-snapshots' 21 SNAPSHOT = _SITE + '/chromium-browser-snapshots'
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 """Returns the name for this platform on the archive site.""" 70 """Returns the name for this platform on the archive site."""
75 if util.IsWindows(): 71 if util.IsWindows():
76 return 'Win' 72 return 'Win'
77 elif util.IsMac(): 73 elif util.IsMac():
78 return 'Mac' 74 return 'Mac'
79 elif util.IsLinux(): 75 elif util.IsLinux():
80 if platform.architecture()[0] == '64bit': 76 if platform.architecture()[0] == '64bit':
81 return 'Linux_x64' 77 return 'Linux_x64'
82 else: 78 else:
83 return 'Linux' 79 return 'Linux'
OLDNEW
« no previous file with comments | « no previous file | chrome/test/chromedriver/test_environment.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698