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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 'skia_arch_type%': '<(skia_arch_type)', | 218 'skia_arch_type%': '<(skia_arch_type)', |
219 'skia_chrome_utils%': '<(skia_chrome_utils)', | 219 'skia_chrome_utils%': '<(skia_chrome_utils)', |
220 'skia_command_buffer%': '<(skia_command_buffer)', | 220 'skia_command_buffer%': '<(skia_command_buffer)', |
221 'skia_gdi%': '<(skia_gdi)', | 221 'skia_gdi%': '<(skia_gdi)', |
222 'skia_gpu%': '<(skia_gpu)', | 222 'skia_gpu%': '<(skia_gpu)', |
223 'skia_vulkan%': '<(skia_vulkan)', | 223 'skia_vulkan%': '<(skia_vulkan)', |
224 'skia_win_exceptions%': 0, | 224 'skia_win_exceptions%': 0, |
225 'skia_win_ltcg%': 1, | 225 'skia_win_ltcg%': 1, |
226 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 226 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
227 'skia_pdf%': '<(skia_pdf)', | 227 'skia_pdf%': '<(skia_pdf)', |
| 228 'skia_pdf_generate_pdfa%': 0, # emit larger PDF/A-2b file |
228 'skia_profile_enabled%': '<(skia_profile_enabled)', | 229 'skia_profile_enabled%': '<(skia_profile_enabled)', |
229 'skia_shared_lib%': '<(skia_shared_lib)', | 230 'skia_shared_lib%': '<(skia_shared_lib)', |
230 'skia_opencl%': '<(skia_opencl)', | 231 'skia_opencl%': '<(skia_opencl)', |
231 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', | 232 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', |
232 'skia_static_initializers%': '<(skia_static_initializers)', | 233 'skia_static_initializers%': '<(skia_static_initializers)', |
233 'ios_sdk_version%': '6.0', | 234 'ios_sdk_version%': '6.0', |
234 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 235 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
235 'skia_disable_inlining%': 0, | 236 'skia_disable_inlining%': 0, |
236 'skia_moz2d%': 0, | 237 'skia_moz2d%': 0, |
237 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', | 238 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', |
238 'skia_egl%': '<(skia_egl)', | 239 'skia_egl%': '<(skia_egl)', |
239 'skia_fast%': 0, | 240 'skia_fast%': 0, |
240 'skia_fast_flags': [ | 241 'skia_fast_flags': [ |
241 '-O3', # Even for Debug builds. | 242 '-O3', # Even for Debug builds. |
242 '-march=native', # Use all features of and optimize for THIS mac
hine. | 243 '-march=native', # Use all features of and optimize for THIS mac
hine. |
243 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. | 244 '-fomit-frame-pointer', # Sometimes an extra register is nice, and cuts
a push/pop. |
244 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 245 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
245 #'-flto' # Enable link-time optimization. | 246 #'-flto' # Enable link-time optimization. |
246 ], | 247 ], |
247 | 248 |
248 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 249 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
249 # | 250 # |
250 'skia_src_path%': '../src', | 251 'skia_src_path%': '../src', |
251 'skia_include_path%': '../include', | 252 'skia_include_path%': '../include', |
252 }, | 253 }, |
253 } | 254 } |
OLD | NEW |