| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 'skia_resource_cache_count_limit%': 0, | 132 'skia_resource_cache_count_limit%': 0, |
| 133 'skia_angle%': 0, | 133 'skia_angle%': 0, |
| 134 'skia_gdi%': 0, | 134 'skia_gdi%': 0, |
| 135 'skia_gpu%': 1, | 135 'skia_gpu%': 1, |
| 136 'skia_osx_deployment_target%': '', | 136 'skia_osx_deployment_target%': '', |
| 137 'skia_profile_enabled%': 0, | 137 'skia_profile_enabled%': 0, |
| 138 'skia_win_debuggers_path%': '', | 138 'skia_win_debuggers_path%': '', |
| 139 'skia_shared_lib%': 0, | 139 'skia_shared_lib%': 0, |
| 140 'skia_opencl%': 0, | 140 'skia_opencl%': 0, |
| 141 'skia_force_distance_field_text%': 0, | 141 'skia_force_distance_field_text%': 0, |
| 142 'skia_use_android_framework_defines%': 0, |
| 142 | 143 |
| 143 # These variables determine the default optimization level for different | 144 # These variables determine the default optimization level for different |
| 144 # compilers. | 145 # compilers. |
| 145 'skia_default_vs_optimization_level': 3, # full (/Ox) | 146 'skia_default_vs_optimization_level': 3, # full (/Ox) |
| 146 'skia_default_gcc_optimization_level': 3, # -O3 | 147 'skia_default_gcc_optimization_level': 3, # -O3 |
| 147 }, | 148 }, |
| 148 | 149 |
| 149 'conditions': [ | 150 'conditions': [ |
| 150 [ 'skia_os in ["mac", "linux", "freebsd", "openbsd", "solaris", "android",
"win"] ' | 151 [ 'skia_os in ["mac", "linux", "freebsd", "openbsd", "solaris", "android",
"win"] ' |
| 151 'and skia_android_framework == 0', { | 152 'and skia_android_framework == 0', { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 232 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
| 232 #'-flto' # Enable link-time optimization. | 233 #'-flto' # Enable link-time optimization. |
| 233 ], | 234 ], |
| 234 | 235 |
| 235 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 236 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 236 # | 237 # |
| 237 'skia_src_path%': '../src', | 238 'skia_src_path%': '../src', |
| 238 'skia_include_path%': '../include', | 239 'skia_include_path%': '../include', |
| 239 }, | 240 }, |
| 240 } | 241 } |
| OLD | NEW |