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