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