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