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

Side by Side Diff: tools/buildbot_spec.py

Issue 1533523003: Add VisualBench switch to extra_config (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 # Link-time code generation just wastes time on compile-only bots. 136 # Link-time code generation just wastes time on compile-only bots.
137 if (builder_dict.get('role') == builder_name_schema.BUILDER_ROLE_BUILD and 137 if (builder_dict.get('role') == builder_name_schema.BUILDER_ROLE_BUILD and
138 builder_dict.get('compiler') == 'MSVC'): 138 builder_dict.get('compiler') == 'MSVC'):
139 gyp_defs['skia_win_ltcg'] = '0' 139 gyp_defs['skia_win_ltcg'] = '0'
140 140
141 # Mesa. 141 # Mesa.
142 if (builder_dict.get('extra_config') == 'Mesa' or 142 if (builder_dict.get('extra_config') == 'Mesa' or
143 builder_dict.get('cpu_or_gpu_value') == 'Mesa'): 143 builder_dict.get('cpu_or_gpu_value') == 'Mesa'):
144 gyp_defs['skia_mesa'] = '1' 144 gyp_defs['skia_mesa'] = '1'
145 145
146 # VisualBench
147 if builder_dict.get('extra_config') == 'VisualBench':
148 gyp_defs['skia_use_sdl'] = '1'
borenet 2015/12/16 20:13:58 Nit 2-space indent
149 builder_dict['target'] = 'visualbench'
borenet 2015/12/16 20:13:58 This goes in build_targets_from_builder_dict (line
150
146 # skia_use_android_framework_defines. 151 # skia_use_android_framework_defines.
147 if builder_dict.get('extra_config') == 'Android_FrameworkDefs': 152 if builder_dict.get('extra_config') == 'Android_FrameworkDefs':
148 gyp_defs['skia_use_android_framework_defines'] = '1' 153 gyp_defs['skia_use_android_framework_defines'] = '1'
149 154
150 # Skia dump stats for perf tests and gpu 155 # Skia dump stats for perf tests and gpu
151 if (builder_dict.get('cpu_or_gpu') == 'GPU' and 156 if (builder_dict.get('cpu_or_gpu') == 'GPU' and
152 builder_dict.get('role') == 'Perf'): 157 builder_dict.get('role') == 'Perf'):
153 gyp_defs['skia_dump_stats'] = '1' 158 gyp_defs['skia_dump_stats'] = '1'
154 159
155 return gyp_defs 160 return gyp_defs
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 'Build-Mac10.8-Clang-Arm7-Debug-Android', 315 'Build-Mac10.8-Clang-Arm7-Debug-Android',
311 'Build-Win-MSVC-x86-Debug', 316 'Build-Win-MSVC-x86-Debug',
312 'Build-Win-MSVC-x86-Debug-GDI', 317 'Build-Win-MSVC-x86-Debug-GDI',
313 'Build-Win-MSVC-x86-Debug-Exceptions', 318 'Build-Win-MSVC-x86-Debug-Exceptions',
314 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs', 319 'Build-Ubuntu-GCC-Arm7-Debug-Android_FrameworkDefs',
315 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon', 320 'Build-Ubuntu-GCC-Arm7-Debug-Android_NoNeon',
316 'Build-Ubuntu-GCC-Arm7-Debug-CrOS_Daisy', 321 'Build-Ubuntu-GCC-Arm7-Debug-CrOS_Daisy',
317 'Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link', 322 'Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link',
318 'Build-Ubuntu-GCC-x86_64-Release-Mesa', 323 'Build-Ubuntu-GCC-x86_64-Release-Mesa',
319 'Build-Ubuntu-GCC-x86_64-Release-ANGLE', 324 'Build-Ubuntu-GCC-x86_64-Release-ANGLE',
325 'Build-Ubuntu-GCC-x86_64-Release-VisualBench',
320 'Housekeeper-PerCommit', 326 'Housekeeper-PerCommit',
321 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', 327 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot',
322 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Debug', 328 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Debug',
323 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify', 329 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify',
324 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug', 330 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug',
325 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug', 331 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug',
326 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', 332 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
327 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', 333 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release',
328 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage', 334 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage',
329 ('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-' 335 ('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-'
(...skipping 28 matching lines...) Expand all
358 if len(sys.argv) == 2 and sys.argv[1] == 'test': 364 if len(sys.argv) == 2 and sys.argv[1] == 'test':
359 self_test() 365 self_test()
360 sys.exit(0) 366 sys.exit(0)
361 367
362 if len(sys.argv) != 3: 368 if len(sys.argv) != 3:
363 print usage 369 print usage
364 sys.exit(1) 370 sys.exit(1)
365 371
366 with open(sys.argv[1], 'w') as out: 372 with open(sys.argv[1], 'w') as out:
367 json.dump(get_builder_spec(sys.argv[2]), out) 373 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