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

Side by Side Diff: tools/buildbot_spec.py

Issue 1862723002: Set 'device_cfg' parameter for iOS bots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Regenerate expectations Created 4 years, 8 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 | « tools/buildbot_spec.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright 2015 Google Inc. 2 # Copyright 2015 Google Inc.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 7
8 #!/usr/bin/env python 8 #!/usr/bin/env python
9 9
10 usage = ''' 10 usage = '''
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 if 'Link' in builder_dict['extra_config']: 237 if 'Link' in builder_dict['extra_config']:
238 return 'link' 238 return 'link'
239 if 'Daisy' in builder_dict['extra_config']: 239 if 'Daisy' in builder_dict['extra_config']:
240 return 'daisy' 240 return 'daisy'
241 elif builder_dict.get('os') == 'ChromeOS': 241 elif builder_dict.get('os') == 'ChromeOS':
242 return { 242 return {
243 'Link': 'link', 243 'Link': 'link',
244 'Daisy': 'daisy', 244 'Daisy': 'daisy',
245 }[builder_dict['model']] 245 }[builder_dict['model']]
246 246
247 # iOS.
248 if 'iOS' in builder_dict.get('os', ''):
249 return {
250 'iPad4': 'iPad4,1',
251 }[builder_dict['model']]
252
247 return None 253 return None
248 254
249 255
250 cov_skip.extend([lineno(), lineno() + 1]) 256 cov_skip.extend([lineno(), lineno() + 1])
251 def product_board(builder_dict): 257 def product_board(builder_dict):
252 if 'Android' in builder_dict.get('os', ''): 258 if 'Android' in builder_dict.get('os', ''):
253 return { 259 return {
254 'AndroidOne': None, # TODO(borenet,kjlubick) 260 'AndroidOne': None, # TODO(borenet,kjlubick)
255 'GalaxyS3': 'smdk4x12', 261 'GalaxyS3': 'smdk4x12',
256 'GalaxyS4': None, # TODO(borenet,kjlubick) 262 'GalaxyS4': None, # TODO(borenet,kjlubick)
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 if len(sys.argv) == 2 and sys.argv[1] == 'test': 400 if len(sys.argv) == 2 and sys.argv[1] == 'test':
395 self_test() 401 self_test()
396 sys.exit(0) 402 sys.exit(0)
397 403
398 if len(sys.argv) != 3: 404 if len(sys.argv) != 3:
399 print usage 405 print usage
400 sys.exit(1) 406 sys.exit(1)
401 407
402 with open(sys.argv[1], 'w') as out: 408 with open(sys.argv[1], 'w') as out:
403 json.dump(get_builder_spec(sys.argv[2]), out) 409 json.dump(get_builder_spec(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/buildbot_spec.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698