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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 'skia_resource_cache_mb_limit%': 0, | 145 'skia_resource_cache_mb_limit%': 0, |
146 'skia_resource_cache_count_limit%': 0, | 146 'skia_resource_cache_count_limit%': 0, |
147 'skia_angle%': 0, | 147 'skia_angle%': 0, |
148 'skia_gdi%': 0, | 148 'skia_gdi%': 0, |
149 'skia_gpu%': 1, | 149 'skia_gpu%': 1, |
150 'skia_osx_deployment_target%': '', | 150 'skia_osx_deployment_target%': '', |
151 'skia_profile_enabled%': 0, | 151 'skia_profile_enabled%': 0, |
152 'skia_win_debuggers_path%': '', | 152 'skia_win_debuggers_path%': '', |
153 'skia_shared_lib%': 0, | 153 'skia_shared_lib%': 0, |
154 'skia_opencl%': 0, | 154 'skia_opencl%': 0, |
155 'skia_force_distancefield_fonts%': 0, | 155 'skia_force_distance_field_text%': 0, |
156 | 156 |
157 # These variables determine the default optimization level for different | 157 # These variables determine the default optimization level for different |
158 # compilers. | 158 # compilers. |
159 'skia_default_vs_optimization_level': 3, # full (/Ox) | 159 'skia_default_vs_optimization_level': 3, # full (/Ox) |
160 'skia_default_gcc_optimization_level': 3, # -O3 | 160 'skia_default_gcc_optimization_level': 3, # -O3 |
161 }, | 161 }, |
162 | 162 |
163 'conditions': [ | 163 'conditions': [ |
164 [ 'skia_os == "win" and skia_arch_width == 32 or ' | 164 [ 'skia_os == "win" and skia_arch_width == 32 or ' |
165 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] ' | 165 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] ' |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 'skia_arch_type%': '<(skia_arch_type)', | 224 'skia_arch_type%': '<(skia_arch_type)', |
225 'skia_chrome_utils%': '<(skia_chrome_utils)', | 225 'skia_chrome_utils%': '<(skia_chrome_utils)', |
226 'skia_gdi%': '<(skia_gdi)', | 226 'skia_gdi%': '<(skia_gdi)', |
227 'skia_gpu%': '<(skia_gpu)', | 227 'skia_gpu%': '<(skia_gpu)', |
228 'skia_win_exceptions%': 0, | 228 'skia_win_exceptions%': 0, |
229 'skia_win_ltcg%': 1, | 229 'skia_win_ltcg%': 1, |
230 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 230 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
231 'skia_profile_enabled%': '<(skia_profile_enabled)', | 231 'skia_profile_enabled%': '<(skia_profile_enabled)', |
232 'skia_shared_lib%': '<(skia_shared_lib)', | 232 'skia_shared_lib%': '<(skia_shared_lib)', |
233 'skia_opencl%': '<(skia_opencl)', | 233 'skia_opencl%': '<(skia_opencl)', |
234 'skia_force_distancefield_fonts%': '<(skia_force_distancefield_fonts)', | 234 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', |
235 'skia_static_initializers%': '<(skia_static_initializers)', | 235 'skia_static_initializers%': '<(skia_static_initializers)', |
236 'ios_sdk_version%': '6.0', | 236 'ios_sdk_version%': '6.0', |
237 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 237 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
238 'skia_run_pdfviewer_in_gm%': 0, | 238 'skia_run_pdfviewer_in_gm%': 0, |
239 'skia_disable_inlining%': 0, | 239 'skia_disable_inlining%': 0, |
240 'skia_moz2d%': 0, | 240 'skia_moz2d%': 0, |
241 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', | 241 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', |
242 'skia_egl%': '<(skia_egl)', | 242 'skia_egl%': '<(skia_egl)', |
243 | 243 |
244 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 244 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
245 # | 245 # |
246 'skia_src_path%': '../src', | 246 'skia_src_path%': '../src', |
247 'skia_include_path%': '../include', | 247 'skia_include_path%': '../include', |
248 }, | 248 }, |
249 } | 249 } |
OLD | NEW |