| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 'skia_gpu_extra_dependency_path%': '', | 125 'skia_gpu_extra_dependency_path%': '', |
| 126 'skia_stroke_path_rendering%': 0, | 126 'skia_stroke_path_rendering%': 0, |
| 127 'skia_android_path_rendering%': 0, | 127 'skia_android_path_rendering%': 0, |
| 128 'skia_resource_cache_mb_limit%': 0, | 128 'skia_resource_cache_mb_limit%': 0, |
| 129 'skia_resource_cache_count_limit%': 0, | 129 'skia_resource_cache_count_limit%': 0, |
| 130 'skia_angle%': 0, | 130 'skia_angle%': 0, |
| 131 'skia_gdi%': 0, | 131 'skia_gdi%': 0, |
| 132 'skia_gpu%': 1, | 132 'skia_gpu%': 1, |
| 133 'skia_osx_deployment_target%': '', | 133 'skia_osx_deployment_target%': '', |
| 134 'skia_profile_enabled%': 0, | 134 'skia_profile_enabled%': 0, |
| 135 'skia_vulkan%': 0, |
| 135 'skia_win_debuggers_path%': '', | 136 'skia_win_debuggers_path%': '', |
| 136 'skia_shared_lib%': 0, | 137 'skia_shared_lib%': 0, |
| 137 'skia_opencl%': 0, | 138 'skia_opencl%': 0, |
| 138 'skia_force_distance_field_text%': 0, | 139 'skia_force_distance_field_text%': 0, |
| 139 | 140 |
| 140 # These variables determine the default optimization level for different | 141 # These variables determine the default optimization level for different |
| 141 # compilers. | 142 # compilers. |
| 142 'skia_default_vs_optimization_level': 3, # full (/Ox) | 143 'skia_default_vs_optimization_level': 3, # full (/Ox) |
| 143 'skia_default_gcc_optimization_level': 3, # -O3 | 144 'skia_default_gcc_optimization_level': 3, # -O3 |
| 144 }, | 145 }, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 'skia_use_android_framework_defines%': '<(skia_use_android_framework_defines
)', | 198 'skia_use_android_framework_defines%': '<(skia_use_android_framework_defines
)', |
| 198 'skia_use_system_json%': '<(skia_use_system_json)', | 199 'skia_use_system_json%': '<(skia_use_system_json)', |
| 199 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 200 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
| 200 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 201 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
| 201 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 202 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
| 202 'skia_angle%': '<(skia_angle)', | 203 'skia_angle%': '<(skia_angle)', |
| 203 'skia_arch_type%': '<(skia_arch_type)', | 204 'skia_arch_type%': '<(skia_arch_type)', |
| 204 'skia_chrome_utils%': '<(skia_chrome_utils)', | 205 'skia_chrome_utils%': '<(skia_chrome_utils)', |
| 205 'skia_gdi%': '<(skia_gdi)', | 206 'skia_gdi%': '<(skia_gdi)', |
| 206 'skia_gpu%': '<(skia_gpu)', | 207 'skia_gpu%': '<(skia_gpu)', |
| 208 'skia_vulkan%': '<(skia_vulkan)', |
| 207 'skia_win_exceptions%': 0, | 209 'skia_win_exceptions%': 0, |
| 208 'skia_win_ltcg%': 1, | 210 'skia_win_ltcg%': 1, |
| 209 'sknx_no_simd%': 0, | 211 'sknx_no_simd%': 0, |
| 210 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 212 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
| 211 'skia_profile_enabled%': '<(skia_profile_enabled)', | 213 'skia_profile_enabled%': '<(skia_profile_enabled)', |
| 212 'skia_shared_lib%': '<(skia_shared_lib)', | 214 'skia_shared_lib%': '<(skia_shared_lib)', |
| 213 'skia_opencl%': '<(skia_opencl)', | 215 'skia_opencl%': '<(skia_opencl)', |
| 214 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', | 216 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', |
| 215 'skia_static_initializers%': '<(skia_static_initializers)', | 217 'skia_static_initializers%': '<(skia_static_initializers)', |
| 216 'ios_sdk_version%': '6.0', | 218 'ios_sdk_version%': '6.0', |
| (...skipping 11 matching lines...) Expand all Loading... |
| 228 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 230 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
| 229 #'-flto' # Enable link-time optimization. | 231 #'-flto' # Enable link-time optimization. |
| 230 ], | 232 ], |
| 231 | 233 |
| 232 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 234 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 233 # | 235 # |
| 234 'skia_src_path%': '../src', | 236 'skia_src_path%': '../src', |
| 235 'skia_include_path%': '../include', | 237 'skia_include_path%': '../include', |
| 236 }, | 238 }, |
| 237 } | 239 } |
| OLD | NEW |