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