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

Side by Side Diff: tools/buildbot_spec.py

Issue 2185953003: Add gyp define to enable vulkan debug layers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 builder_dict.get('role') == 'Perf'): 165 builder_dict.get('role') == 'Perf'):
166 gyp_defs['skia_dump_stats'] = '1' 166 gyp_defs['skia_dump_stats'] = '1'
167 167
168 # CommandBuffer. 168 # CommandBuffer.
169 if builder_dict.get('extra_config') == 'CommandBuffer': 169 if builder_dict.get('extra_config') == 'CommandBuffer':
170 gyp_defs['skia_command_buffer'] = '1' 170 gyp_defs['skia_command_buffer'] = '1'
171 171
172 # Vulkan. 172 # Vulkan.
173 if builder_dict.get('extra_config') == 'Vulkan': 173 if builder_dict.get('extra_config') == 'Vulkan':
174 gyp_defs['skia_vulkan'] = '1' 174 gyp_defs['skia_vulkan'] = '1'
175 gyp_defs['skia_vulkan_debug_layers'] = '0'
175 176
176 return gyp_defs 177 return gyp_defs
177 178
178 179
179 cov_skip.extend([lineno(), lineno() + 1]) 180 cov_skip.extend([lineno(), lineno() + 1])
180 def get_extra_env_vars(builder_dict): 181 def get_extra_env_vars(builder_dict):
181 env = {} 182 env = {}
182 if builder_dict.get('configuration') == CONFIG_COVERAGE: 183 if builder_dict.get('configuration') == CONFIG_COVERAGE:
183 # We have to use Clang 3.6 because earlier versions do not support the 184 # We have to use Clang 3.6 because earlier versions do not support the
184 # compile flags we use and 3.7 and 3.8 hit asserts during compilation. 185 # compile flags we use and 3.7 and 3.8 hit asserts during compilation.
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 if len(sys.argv) == 2 and sys.argv[1] == 'test': 408 if len(sys.argv) == 2 and sys.argv[1] == 'test':
408 self_test() 409 self_test()
409 sys.exit(0) 410 sys.exit(0)
410 411
411 if len(sys.argv) != 3: 412 if len(sys.argv) != 3:
412 print usage 413 print usage
413 sys.exit(1) 414 sys.exit(1)
414 415
415 with open(sys.argv[1], 'w') as out: 416 with open(sys.argv[1], 'w') as out:
416 json.dump(get_builder_spec(sys.argv[2]), out) 417 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