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

Side by Side Diff: build/android/pylib/constants.py

Issue 12407004: Add script to download SDK, system images and create and start AVDs for testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do not catch exceptions so that stack trace is revealed. Created 7 years, 9 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 | « build/android/install_emulator_deps.py ('k') | build/android/pylib/utils/emulator.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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Defines a set of constants shared by test runners and other scripts.""" 5 """Defines a set of constants shared by test runners and other scripts."""
6 6
7 import os 7 import os
8 8
9 9
10 CHROME_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), 10 CHROME_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__),
11 os.pardir, os.pardir, os.pardir)) 11 os.pardir, os.pardir, os.pardir))
12 EMULATOR_SDK_ROOT = os.path.abspath(os.path.join(CHROME_DIR, os.pardir,
13 os.pardir))
12 14
13 CHROME_PACKAGE = 'com.google.android.apps.chrome' 15 CHROME_PACKAGE = 'com.google.android.apps.chrome'
14 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main' 16 CHROME_ACTIVITY = 'com.google.android.apps.chrome.Main'
15 CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote' 17 CHROME_DEVTOOLS_SOCKET = 'chrome_devtools_remote'
16 18
17 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests' 19 CHROME_TESTS_PACKAGE = 'com.google.android.apps.chrome.tests'
18 20
19 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser' 21 LEGACY_BROWSER_PACKAGE = 'com.google.android.browser'
20 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity' 22 LEGACY_BROWSER_ACTIVITY = 'com.android.browser.BrowserActivity'
21 23
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 # The directory on the device where perf test output gets saved to. 69 # The directory on the device where perf test output gets saved to.
68 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files' 70 DEVICE_PERF_OUTPUT_DIR = '/data/data/' + CHROME_PACKAGE + '/files'
69 71
70 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots') 72 SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots')
71 73
72 ANDROID_SDK_VERSION = 17 74 ANDROID_SDK_VERSION = 17
73 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk') 75 ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk')
74 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk') 76 ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk')
75 77
76 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com' 78 UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com'
OLDNEW
« no previous file with comments | « build/android/install_emulator_deps.py ('k') | build/android/pylib/utils/emulator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698