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

Side by Side Diff: tools/buildbot_spec.py

Issue 1926163002: Delete ChromeOS code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 'NVIDIA_Shield': 'arm64', 234 'NVIDIA_Shield': 'arm64',
235 'Nexus10': 'arm_v7_neon', 235 'Nexus10': 'arm_v7_neon',
236 'Nexus5': 'arm_v7_neon', 236 'Nexus5': 'arm_v7_neon',
237 'Nexus6': 'arm_v7_neon', 237 'Nexus6': 'arm_v7_neon',
238 'Nexus7': 'arm_v7_neon', 238 'Nexus7': 'arm_v7_neon',
239 'Nexus7v2': 'arm_v7_neon', 239 'Nexus7v2': 'arm_v7_neon',
240 'Nexus9': 'arm64', 240 'Nexus9': 'arm64',
241 'NexusPlayer': 'x86', 241 'NexusPlayer': 'x86',
242 }[builder_dict['model']] 242 }[builder_dict['model']]
243 243
244 # ChromeOS.
245 if 'CrOS' in builder_dict.get('extra_config', ''):
246 if 'Link' in builder_dict['extra_config']:
247 return 'link'
248 if 'Daisy' in builder_dict['extra_config']:
249 return 'daisy'
250 elif builder_dict.get('os') == 'ChromeOS':
251 return {
252 'Link': 'link',
253 'Daisy': 'daisy',
254 }[builder_dict['model']]
255
256 # iOS. 244 # iOS.
257 if 'iOS' in builder_dict.get('os', ''): 245 if 'iOS' in builder_dict.get('os', ''):
258 return { 246 return {
259 'iPad4': 'iPad4,1', 247 'iPad4': 'iPad4,1',
260 }[builder_dict['model']] 248 }[builder_dict['model']]
261 249
262 return None 250 return None
263 251
264 252
265 cov_skip.extend([lineno(), lineno() + 1]) 253 cov_skip.extend([lineno(), lineno() + 1])
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 def self_test(): 345 def self_test():
358 import coverage # This way the bots don't need coverage.py to be installed. 346 import coverage # This way the bots don't need coverage.py to be installed.
359 args = {} 347 args = {}
360 cases = [ 348 cases = [
361 'Build-Mac10.8-Clang-Arm7-Debug-Android', 349 'Build-Mac10.8-Clang-Arm7-Debug-Android',
362 'Build-Win-MSVC-x86-Debug', 350 'Build-Win-MSVC-x86-Debug',
363 'Build-Win-MSVC-x86-Debug-GDI', 351 'Build-Win-MSVC-x86-Debug-GDI',
364 'Build-Win-MSVC-x86-Debug-Exceptions', 352 'Build-Win-MSVC-x86-Debug-Exceptions',
365 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs', 353 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs',
366 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon', 354 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon',
367 'Build-Ubuntu-GCC-Arm7-Debug-CrOS_Daisy',
368 'Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link',
369 'Build-Ubuntu-GCC-x86_64-Release-Mesa', 355 'Build-Ubuntu-GCC-x86_64-Release-Mesa',
370 'Build-Ubuntu-GCC-x86_64-Release-ANGLE', 356 'Build-Ubuntu-GCC-x86_64-Release-ANGLE',
371 'Housekeeper-PerCommit', 357 'Housekeeper-PerCommit',
372 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', 358 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot',
373 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-VisualBench', 359 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-VisualBench',
374 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Debug', 360 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Debug',
375 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify', 361 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify',
376 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug', 362 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug',
377 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug',
378 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', 363 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
379 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', 364 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer',
380 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', 365 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release',
381 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage', 366 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage',
382 ('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-' 367 ('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-'
383 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE'), 368 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE'),
384 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD', 369 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD',
385 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Fast', 370 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Fast',
386 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared', 371 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared',
387 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 372 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
(...skipping 25 matching lines...) Expand all
413 if len(sys.argv) == 2 and sys.argv[1] == 'test': 398 if len(sys.argv) == 2 and sys.argv[1] == 'test':
414 self_test() 399 self_test()
415 sys.exit(0) 400 sys.exit(0)
416 401
417 if len(sys.argv) != 3: 402 if len(sys.argv) != 3:
418 print usage 403 print usage
419 sys.exit(1) 404 sys.exit(1)
420 405
421 with open(sys.argv[1], 'w') as out: 406 with open(sys.argv[1], 'w') as out:
422 json.dump(get_builder_spec(sys.argv[2]), out) 407 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