OLD | NEW |
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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 'chromeos%': 0, | 174 'chromeos%': 0, |
175 'use_x11%': 1, | 175 'use_x11%': 1, |
176 }], | 176 }], |
177 [ 'skia_sanitizer', { | 177 [ 'skia_sanitizer', { |
178 'skia_clang_build': 1, | 178 'skia_clang_build': 1, |
179 'skia_keep_frame_pointer': 1, | 179 'skia_keep_frame_pointer': 1, |
180 }, { | 180 }, { |
181 'skia_clang_build%': 0, | 181 'skia_clang_build%': 0, |
182 'skia_keep_frame_pointer%': 0, | 182 'skia_keep_frame_pointer%': 0, |
183 }], | 183 }], |
184 [ 'skia_shared_lib or skia_sanitizer or skia_os == "android" or (skia_os =
= "linux" and skia_angle == 1)', { | 184 [ 'skia_shared_lib or skia_sanitizer or skia_os == "android" or (skia_os =
= "linux" and (skia_angle == 1 or skia_command_buffer == 1))', { |
185 'skia_pic%' : 1, | 185 'skia_pic%' : 1, |
186 }, { | 186 }, { |
187 'skia_pic%' : 0, | 187 'skia_pic%' : 0, |
188 } | 188 } |
189 ], | 189 ], |
190 ], | 190 ], |
191 | 191 |
192 # Re-define all variables defined within the level-2 'variables' dict, | 192 # Re-define all variables defined within the level-2 'variables' dict, |
193 # so that siblings of the level-1 'variables' dict can see them. | 193 # so that siblings of the level-1 'variables' dict can see them. |
194 'arm_version%': '<(arm_version)', | 194 'arm_version%': '<(arm_version)', |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 244 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
245 #'-flto' # Enable link-time optimization. | 245 #'-flto' # Enable link-time optimization. |
246 ], | 246 ], |
247 | 247 |
248 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 248 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
249 # | 249 # |
250 'skia_src_path%': '../src', | 250 'skia_src_path%': '../src', |
251 'skia_include_path%': '../include', | 251 'skia_include_path%': '../include', |
252 }, | 252 }, |
253 } | 253 } |
OLD | NEW |