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