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

Side by Side Diff: gyp/common_variables.gypi

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 | « gyp/common.gypi ('k') | include/gpu/vk/GrVkBackendContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Android Open Source Project 1 # Copyright 2012 The Android Open Source Project
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 { 6 {
7 # Get ready for the ugly... 7 # Get ready for the ugly...
8 # 8 #
9 # - We have to nest our variables dictionaries multiple levels deep, so that 9 # - We have to nest our variables dictionaries multiple levels deep, so that
10 # this and other gyp files can rely on previously-set variable values in 10 # this and other gyp files can rely on previously-set variable values in
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 'arm_neon%': '<(arm_neon)', 76 'arm_neon%': '<(arm_neon)',
77 'skia_egl%': '<(skia_egl)', 77 'skia_egl%': '<(skia_egl)',
78 'vulkan_merged_into_skia%': '<(vulkan_merged_into_skia)', 78 'vulkan_merged_into_skia%': '<(vulkan_merged_into_skia)',
79 'conditions': [ 79 'conditions': [
80 [ 'skia_android_framework == 1', { 80 [ 'skia_android_framework == 1', {
81 'skia_os%': 'android', 81 'skia_os%': 'android',
82 'skia_chrome_utils%': 0, 82 'skia_chrome_utils%': 0,
83 'skia_use_android_framework_defines%': 1, 83 'skia_use_android_framework_defines%': 1,
84 'skia_use_system_json%': 1, 84 'skia_use_system_json%': 1,
85 'skia_vulkan%': 1, 85 'skia_vulkan%': 1,
86 'skia_vulkan_debug_layers%': 0,
86 }, { 87 }, {
87 'skia_os%': '<(skia_os)', 88 'skia_os%': '<(skia_os)',
88 'skia_chrome_utils%': 1, 89 'skia_chrome_utils%': 1,
89 'skia_use_android_framework_defines%': 0, 90 'skia_use_android_framework_defines%': 0,
90 'skia_use_system_json%': 0, 91 'skia_use_system_json%': 0,
91 }], 92 }],
92 [ 'skia_os == "win"', { 93 [ 'skia_os == "win"', {
93 'os_posix%': 0, 94 'os_posix%': 0,
94 }, { 95 }, {
95 'os_posix%': 1, 96 'os_posix%': 1,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 'skia_resource_cache_mb_limit%': 0, 139 'skia_resource_cache_mb_limit%': 0,
139 'skia_resource_cache_count_limit%': 0, 140 'skia_resource_cache_count_limit%': 0,
140 'skia_angle%': 0, 141 'skia_angle%': 0,
141 'skia_command_buffer%': 0, 142 'skia_command_buffer%': 0,
142 'skia_gdi%': 0, 143 'skia_gdi%': 0,
143 'skia_gpu%': 1, 144 'skia_gpu%': 1,
144 'skia_osx_deployment_target%': '', 145 'skia_osx_deployment_target%': '',
145 'skia_pdf%': 1, 146 'skia_pdf%': 1,
146 'skia_profile_enabled%': 0, 147 'skia_profile_enabled%': 0,
147 'skia_vulkan%': 0, 148 'skia_vulkan%': 0,
149 'skia_vulkan_debug_layers%': 1,
148 'skia_win_debuggers_path%': '', 150 'skia_win_debuggers_path%': '',
149 'skia_shared_lib%': 0, 151 'skia_shared_lib%': 0,
150 'skia_force_distance_field_text%': 0, 152 'skia_force_distance_field_text%': 0,
151 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HE ADLESS\', 0)")', 153 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HE ADLESS\', 0)")',
152 154
153 # These variables determine the default optimization level for different 155 # These variables determine the default optimization level for different
154 # compilers. 156 # compilers.
155 'skia_default_vs_optimization_level': 3, # full (/Ox) 157 'skia_default_vs_optimization_level': 3, # full (/Ox)
156 'skia_default_gcc_optimization_level': 3, # -O3 158 'skia_default_gcc_optimization_level': 3, # -O3
157 }, 159 },
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 'skia_android_path_rendering%': '<(skia_android_path_rendering)', 221 'skia_android_path_rendering%': '<(skia_android_path_rendering)',
220 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', 222 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)',
221 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', 223 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)',
222 'skia_angle%': '<(skia_angle)', 224 'skia_angle%': '<(skia_angle)',
223 'skia_arch_type%': '<(skia_arch_type)', 225 'skia_arch_type%': '<(skia_arch_type)',
224 'skia_chrome_utils%': '<(skia_chrome_utils)', 226 'skia_chrome_utils%': '<(skia_chrome_utils)',
225 'skia_command_buffer%': '<(skia_command_buffer)', 227 'skia_command_buffer%': '<(skia_command_buffer)',
226 'skia_gdi%': '<(skia_gdi)', 228 'skia_gdi%': '<(skia_gdi)',
227 'skia_gpu%': '<(skia_gpu)', 229 'skia_gpu%': '<(skia_gpu)',
228 'skia_vulkan%': '<(skia_vulkan)', 230 'skia_vulkan%': '<(skia_vulkan)',
231 'skia_vulkan_debug_layers%': '<(skia_vulkan_debug_layers)',
229 'skia_win_exceptions%': 0, 232 'skia_win_exceptions%': 0,
230 'skia_win_ltcg%': '<(skia_is_bot)', 233 'skia_win_ltcg%': '<(skia_is_bot)',
231 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', 234 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)',
232 'skia_pdf%': '<(skia_pdf)', 235 'skia_pdf%': '<(skia_pdf)',
233 'skia_profile_enabled%': '<(skia_profile_enabled)', 236 'skia_profile_enabled%': '<(skia_profile_enabled)',
234 'skia_shared_lib%': '<(skia_shared_lib)', 237 'skia_shared_lib%': '<(skia_shared_lib)',
235 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', 238 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)',
236 'skia_static_initializers%': '<(skia_static_initializers)', 239 'skia_static_initializers%': '<(skia_static_initializers)',
237 'ios_sdk_version%': '6.0', 240 'ios_sdk_version%': '6.0',
238 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', 241 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)',
(...skipping 13 matching lines...) Expand all
252 #'-flto' # Enable link-time optimization. 255 #'-flto' # Enable link-time optimization.
253 ], 256 ],
254 'skia_experimental_shadowing': 0, # for experimental shadow-drawing 257 'skia_experimental_shadowing': 0, # for experimental shadow-drawing
255 258
256 # These are referenced by our .gypi files that list files (e.g. core.gypi) 259 # These are referenced by our .gypi files that list files (e.g. core.gypi)
257 # 260 #
258 'skia_src_path%': '../src', 261 'skia_src_path%': '../src',
259 'skia_include_path%': '../include', 262 'skia_include_path%': '../include',
260 }, 263 },
261 } 264 }
OLDNEW
« no previous file with comments | « gyp/common.gypi ('k') | include/gpu/vk/GrVkBackendContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698