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