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

Side by Side Diff: build/android/pylib/instrumentation/setup.py

Issue 1317453005: Remove all traces of ChromeShell from src/build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 """Generates test runner factory and tests for instrumentation tests.""" 5 """Generates test runner factory and tests for instrumentation tests."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 9
10 from pylib import constants 10 from pylib import constants
11 from pylib import valgrind_tools 11 from pylib import valgrind_tools
12 12
13 from pylib.base import base_setup 13 from pylib.base import base_setup
14 from pylib.device import device_utils 14 from pylib.device import device_utils
15 from pylib.instrumentation import test_package 15 from pylib.instrumentation import test_package
16 from pylib.instrumentation import test_runner 16 from pylib.instrumentation import test_runner
17 17
18 DEVICE_DATA_DIR = 'chrome/test/data' 18 DEVICE_DATA_DIR = 'chrome/test/data'
19 19
20 ISOLATE_FILE_PATHS = { 20 ISOLATE_FILE_PATHS = {
21 'AndroidWebViewTest': 'android_webview/android_webview_test_apk.isolate', 21 'AndroidWebViewTest': 'android_webview/android_webview_test_apk.isolate',
22 'ChromeShellTest': 'chrome/chrome_shell_test_apk.isolate',
23 'ContentShellTest': 'content/content_shell_test_apk.isolate', 22 'ContentShellTest': 'content/content_shell_test_apk.isolate',
24 } 23 }
25 24
26 DEPS_EXCLUSION_LIST = [] 25 DEPS_EXCLUSION_LIST = []
27 26
28 # TODO(mikecase): Remove this function and the constant DEVICE_DATA_DIR 27 # TODO(mikecase): Remove this function and the constant DEVICE_DATA_DIR
29 # once all data deps are pushed to the same location on the device. 28 # once all data deps are pushed to the same location on the device.
30 def _PushExtraSuiteDataDeps(device, test_apk): 29 def _PushExtraSuiteDataDeps(device, test_apk):
31 """Pushes some extra data files/dirs needed by some test suite. 30 """Pushes some extra data files/dirs needed by some test suite.
32 31
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 i.Clear() 104 i.Clear()
106 105
107 device_utils.DeviceUtils.parallel(devices).pMap( 106 device_utils.DeviceUtils.parallel(devices).pMap(
108 _PushExtraSuiteDataDeps, test_options.test_apk) 107 _PushExtraSuiteDataDeps, test_options.test_apk)
109 108
110 def TestRunnerFactory(device, shard_index): 109 def TestRunnerFactory(device, shard_index):
111 return test_runner.TestRunner(test_options, device, shard_index, 110 return test_runner.TestRunner(test_options, device, shard_index,
112 test_pkg) 111 test_pkg)
113 112
114 return (TestRunnerFactory, tests) 113 return (TestRunnerFactory, tests)
OLDNEW
« no previous file with comments | « build/android/pylib/constants/__init__.py ('k') | build/android/pylib/results/report_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698