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

Side by Side Diff: tools/buildbot_spec.py

Issue 1877883002: Fixes for CommandBuffer bot (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add dm flags and gyp_defines 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') | tools/dm_flags.json » ('j') | 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 # skia_use_android_framework_defines. 154 # skia_use_android_framework_defines.
155 if builder_dict.get('extra_config') == 'Android_FrameworkDefs': 155 if builder_dict.get('extra_config') == 'Android_FrameworkDefs':
156 gyp_defs['skia_use_android_framework_defines'] = '1' 156 gyp_defs['skia_use_android_framework_defines'] = '1'
157 157
158 # Skia dump stats for perf tests and gpu 158 # Skia dump stats for perf tests and gpu
159 if (builder_dict.get('cpu_or_gpu') == 'GPU' and 159 if (builder_dict.get('cpu_or_gpu') == 'GPU' and
160 builder_dict.get('role') == 'Perf'): 160 builder_dict.get('role') == 'Perf'):
161 gyp_defs['skia_dump_stats'] = '1' 161 gyp_defs['skia_dump_stats'] = '1'
162 162
163 # CommandBuffer.
164 if builder_dict.get('extra_config') == 'CommandBuffer':
165 gyp_defs['skia_command_buffer'] = '1'
166
163 return gyp_defs 167 return gyp_defs
164 168
165 169
166 cov_skip.extend([lineno(), lineno() + 1]) 170 cov_skip.extend([lineno(), lineno() + 1])
167 def get_extra_env_vars(builder_dict): 171 def get_extra_env_vars(builder_dict):
168 env = {} 172 env = {}
169 if builder_dict.get('configuration') == 'Coverage': 173 if builder_dict.get('configuration') == 'Coverage':
170 # We have to use Clang 3.6 because earlier versions do not support the 174 # We have to use Clang 3.6 because earlier versions do not support the
171 # compile flags we use and 3.7 and 3.8 hit asserts during compilation. 175 # compile flags we use and 3.7 and 3.8 hit asserts during compilation.
172 env['CC'] = '/usr/bin/clang-3.6' 176 env['CC'] = '/usr/bin/clang-3.6'
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 'Build-Ubuntu-GCC-x86_64-Release-Mesa', 362 'Build-Ubuntu-GCC-x86_64-Release-Mesa',
359 'Build-Ubuntu-GCC-x86_64-Release-ANGLE', 363 'Build-Ubuntu-GCC-x86_64-Release-ANGLE',
360 'Housekeeper-PerCommit', 364 'Housekeeper-PerCommit',
361 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', 365 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot',
362 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-VisualBench', 366 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-VisualBench',
363 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Debug', 367 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Debug',
364 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify', 368 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify',
365 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug', 369 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug',
366 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug', 370 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug',
367 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', 371 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
372 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer',
368 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', 373 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release',
369 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage', 374 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage',
370 ('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-' 375 ('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-'
371 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE'), 376 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE'),
372 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD', 377 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD',
373 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Fast', 378 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Fast',
374 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared', 379 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared',
375 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 380 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
376 'Test-Win8-MSVC-ShuttleB-GPU-HD4600-x86-Release-ANGLE', 381 'Test-Win8-MSVC-ShuttleB-GPU-HD4600-x86-Release-ANGLE',
377 'Test-Win8-MSVC-ShuttleA-CPU-AVX-x86_64-Debug', 382 'Test-Win8-MSVC-ShuttleA-CPU-AVX-x86_64-Debug',
(...skipping 22 matching lines...) Expand all
400 if len(sys.argv) == 2 and sys.argv[1] == 'test': 405 if len(sys.argv) == 2 and sys.argv[1] == 'test':
401 self_test() 406 self_test()
402 sys.exit(0) 407 sys.exit(0)
403 408
404 if len(sys.argv) != 3: 409 if len(sys.argv) != 3:
405 print usage 410 print usage
406 sys.exit(1) 411 sys.exit(1)
407 412
408 with open(sys.argv[1], 'w') as out: 413 with open(sys.argv[1], 'w') as out:
409 json.dump(get_builder_spec(sys.argv[2]), out) 414 json.dump(get_builder_spec(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/buildbot_spec.json ('k') | tools/dm_flags.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698