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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 206 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
207 'skia_angle%': '<(skia_angle)', | 207 'skia_angle%': '<(skia_angle)', |
208 'skia_arch_type%': '<(skia_arch_type)', | 208 'skia_arch_type%': '<(skia_arch_type)', |
209 'skia_chrome_utils%': '<(skia_chrome_utils)', | 209 'skia_chrome_utils%': '<(skia_chrome_utils)', |
210 'skia_command_buffer%': '<(skia_command_buffer)', | 210 'skia_command_buffer%': '<(skia_command_buffer)', |
211 'skia_gdi%': '<(skia_gdi)', | 211 'skia_gdi%': '<(skia_gdi)', |
212 'skia_gpu%': '<(skia_gpu)', | 212 'skia_gpu%': '<(skia_gpu)', |
213 'skia_vulkan%': '<(skia_vulkan)', | 213 'skia_vulkan%': '<(skia_vulkan)', |
214 'skia_win_exceptions%': 0, | 214 'skia_win_exceptions%': 0, |
215 'skia_win_ltcg%': 1, | 215 'skia_win_ltcg%': 1, |
216 'sknx_no_simd%': 0, | |
217 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 216 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
218 'skia_pdf%': '<(skia_pdf)', | 217 'skia_pdf%': '<(skia_pdf)', |
219 'skia_profile_enabled%': '<(skia_profile_enabled)', | 218 'skia_profile_enabled%': '<(skia_profile_enabled)', |
220 'skia_shared_lib%': '<(skia_shared_lib)', | 219 'skia_shared_lib%': '<(skia_shared_lib)', |
221 'skia_opencl%': '<(skia_opencl)', | 220 'skia_opencl%': '<(skia_opencl)', |
222 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', | 221 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', |
223 'skia_static_initializers%': '<(skia_static_initializers)', | 222 'skia_static_initializers%': '<(skia_static_initializers)', |
224 'ios_sdk_version%': '6.0', | 223 'ios_sdk_version%': '6.0', |
225 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 224 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
226 'skia_disable_inlining%': 0, | 225 'skia_disable_inlining%': 0, |
227 'skia_moz2d%': 0, | 226 'skia_moz2d%': 0, |
228 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', | 227 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', |
229 'skia_egl%': '<(skia_egl)', | 228 'skia_egl%': '<(skia_egl)', |
230 'skia_fast%': 0, | 229 'skia_fast%': 0, |
231 'skia_fast_flags': [ | 230 'skia_fast_flags': [ |
232 '-O3', # Even for Debug builds. | 231 '-O3', # Even for Debug builds. |
233 '-march=native', # Use all features of and optimize for THIS mac
hine. | 232 '-march=native', # Use all features of and optimize for THIS mac
hine. |
234 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. | 233 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. |
235 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 234 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
236 #'-flto' # Enable link-time optimization. | 235 #'-flto' # Enable link-time optimization. |
237 ], | 236 ], |
238 | 237 |
239 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 238 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
240 # | 239 # |
241 'skia_src_path%': '../src', | 240 'skia_src_path%': '../src', |
242 'skia_include_path%': '../include', | 241 'skia_include_path%': '../include', |
243 }, | 242 }, |
244 } | 243 } |
OLD | NEW |