| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 'skia_is_bot%': '<(skia_is_bot)', | 250 'skia_is_bot%': '<(skia_is_bot)', |
| 251 'skia_egl%': '<(skia_egl)', | 251 'skia_egl%': '<(skia_egl)', |
| 252 'skia_use_sdl%': 0, | 252 'skia_use_sdl%': 0, |
| 253 'skia_fast%': 0, | 253 'skia_fast%': 0, |
| 254 'skia_dump_stats%': 0, | 254 'skia_dump_stats%': 0, |
| 255 'skia_build_server%': 0, | 255 'skia_build_server%': 0, |
| 256 'skia_fast_flags': [ | 256 'skia_fast_flags': [ |
| 257 '-O3', # Even for Debug builds. | 257 '-O3', # Even for Debug builds. |
| 258 '-march=native', # Use all features of and optimize for THIS mac
hine. | 258 '-march=native', # Use all features of and optimize for THIS mac
hine. |
| 259 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. | 259 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. |
| 260 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 260 #'-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
| 261 #'-flto' # Enable link-time optimization. | 261 #'-flto' # Enable link-time optimization. |
| 262 ], | 262 ], |
| 263 | 263 |
| 264 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 264 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 265 # | 265 # |
| 266 'skia_src_path%': '../src', | 266 'skia_src_path%': '../src', |
| 267 'skia_include_path%': '../include', | 267 'skia_include_path%': '../include', |
| 268 }, | 268 }, |
| 269 } | 269 } |
| OLD | NEW |