| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 'skia_static_initializers%': '<(skia_static_initializers)', | 232 'skia_static_initializers%': '<(skia_static_initializers)', |
| 233 'ios_sdk_version%': '6.0', | 233 'ios_sdk_version%': '6.0', |
| 234 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 234 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
| 235 'skia_disable_inlining%': 0, | 235 'skia_disable_inlining%': 0, |
| 236 'skia_moz2d%': 0, | 236 'skia_moz2d%': 0, |
| 237 'skia_is_bot%': '<(skia_is_bot)', | 237 'skia_is_bot%': '<(skia_is_bot)', |
| 238 'skia_egl%': '<(skia_egl)', | 238 'skia_egl%': '<(skia_egl)', |
| 239 'skia_use_sdl%': 0, | 239 'skia_use_sdl%': 0, |
| 240 'skia_fast%': 0, | 240 'skia_fast%': 0, |
| 241 'skia_dump_stats%': 0, | 241 'skia_dump_stats%': 0, |
| 242 'skia_build_server%': 0, |
| 242 'skia_fast_flags': [ | 243 'skia_fast_flags': [ |
| 243 '-O3', # Even for Debug builds. | 244 '-O3', # Even for Debug builds. |
| 244 '-march=native', # Use all features of and optimize for THIS mac
hine. | 245 '-march=native', # Use all features of and optimize for THIS mac
hine. |
| 245 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. | 246 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. |
| 246 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 247 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
| 247 #'-flto' # Enable link-time optimization. | 248 #'-flto' # Enable link-time optimization. |
| 248 ], | 249 ], |
| 249 | 250 |
| 250 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 251 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 251 # | 252 # |
| 252 'skia_src_path%': '../src', | 253 'skia_src_path%': '../src', |
| 253 'skia_include_path%': '../include', | 254 'skia_include_path%': '../include', |
| 254 }, | 255 }, |
| 255 } | 256 } |
| OLD | NEW |