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

Side by Side Diff: tools/buildbot_spec.py

Issue 2036183003: Add Android device type for NVIDIA Shield (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 return None 256 return None
257 257
258 258
259 cov_skip.extend([lineno(), lineno() + 1]) 259 cov_skip.extend([lineno(), lineno() + 1])
260 def product_board(builder_dict): 260 def product_board(builder_dict):
261 if 'Android' in builder_dict.get('os', ''): 261 if 'Android' in builder_dict.get('os', ''):
262 return { 262 return {
263 'AndroidOne': None, # TODO(borenet,kjlubick) 263 'AndroidOne': None, # TODO(borenet,kjlubick)
264 'GalaxyS3': 'm0', #'smdk4x12', Detected incorrectly by swarming? 264 'GalaxyS3': 'm0', #'smdk4x12', Detected incorrectly by swarming?
265 'GalaxyS4': None, # TODO(borenet,kjlubick) 265 'GalaxyS4': None, # TODO(borenet,kjlubick)
266 'NVIDIA_Shield': None, # TODO(borenet,kjlubick) 266 'NVIDIA_Shield': 'foster',
267 'Nexus10': 'manta', 267 'Nexus10': 'manta',
268 'Nexus5': 'hammerhead', 268 'Nexus5': 'hammerhead',
269 'Nexus6': 'shamu', 269 'Nexus6': 'shamu',
270 'Nexus7': 'grouper', 270 'Nexus7': 'grouper',
271 'Nexus7v2': 'flo', 271 'Nexus7v2': 'flo',
272 'Nexus9': 'flounder', 272 'Nexus9': 'flounder',
273 'NexusPlayer': 'fugu', 273 'NexusPlayer': 'fugu',
274 }[builder_dict['model']] 274 }[builder_dict['model']]
275 return None 275 return None
276 276
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 if len(sys.argv) == 2 and sys.argv[1] == 'test': 406 if len(sys.argv) == 2 and sys.argv[1] == 'test':
407 self_test() 407 self_test()
408 sys.exit(0) 408 sys.exit(0)
409 409
410 if len(sys.argv) != 3: 410 if len(sys.argv) != 3:
411 print usage 411 print usage
412 sys.exit(1) 412 sys.exit(1)
413 413
414 with open(sys.argv[1], 'w') as out: 414 with open(sys.argv[1], 'w') as out:
415 json.dump(get_builder_spec(sys.argv[2]), out) 415 json.dump(get_builder_spec(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698