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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_perf.py

Issue 2322453003: Add Android resource_sizes to chromium_tests/chromium_perf
Patch Set: Created 4 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
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium_tests/steps.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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import collections 5 import collections
6 6
7 from . import steps 7 from . import steps
8 8
9 import DEPS 9 import DEPS
10 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX 10 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 spec['chromium_apply_config'] = ['android'] 52 spec['chromium_apply_config'] = ['android']
53 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm' 53 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm'
54 spec['chromium_config_kwargs']['TARGET_PLATFORM'] = 'android' 54 spec['chromium_config_kwargs']['TARGET_PLATFORM'] = 'android'
55 spec['gclient_apply_config'] = ['android'] 55 spec['gclient_apply_config'] = ['android']
56 56
57 return spec 57 return spec
58 58
59 59
60 def BuildSpec(config_name, perf_id, platform, target_bits): 60 def BuildSpec(config_name, perf_id, platform, target_bits):
61 if platform == 'android': 61 if platform == 'android':
62 # TODO: Run sizes on Android. 62 tests = [
63 tests = [] 63 steps.ResourceSizesStep('chrome_public_apk', 'ChromePublic.apk'),
64 steps.ResourceSizesStep('system_webview_apk', 'SystemWebView.apk'),
65 ]
64 else: 66 else:
65 tests = [steps.SizesStep('https://chromeperf.appspot.com', perf_id)] 67 tests = [steps.SizesStep('https://chromeperf.appspot.com', perf_id)]
66 68
67 spec = _BaseSpec( 69 spec = _BaseSpec(
68 bot_type='builder', 70 bot_type='builder',
69 config_name=config_name, 71 config_name=config_name,
70 platform=platform, 72 platform=platform,
71 target_bits=target_bits, 73 target_bits=target_bits,
72 tests=tests, 74 tests=tests,
73 ) 75 )
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac', 171 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac',
170 num_host_shards=5) 172 num_host_shards=5)
171 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', 173 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac',
172 num_host_shards=5) 174 num_host_shards=5)
173 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', 175 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac',
174 num_host_shards=5) 176 num_host_shards=5)
175 177
176 178
177 _AddTestSpec('Linux Perf', 'linux-release', 'linux', 179 _AddTestSpec('Linux Perf', 'linux-release', 'linux',
178 num_host_shards=5) 180 num_host_shards=5)
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium_tests/steps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698