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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 'skia_resource_cache_mb_limit%': 0, | 135 'skia_resource_cache_mb_limit%': 0, |
136 'skia_resource_cache_count_limit%': 0, | 136 'skia_resource_cache_count_limit%': 0, |
137 'skia_angle%': 0, | 137 'skia_angle%': 0, |
138 'skia_directwrite%': 0, | 138 'skia_directwrite%': 0, |
139 'skia_gpu%': 1, | 139 'skia_gpu%': 1, |
140 'skia_osx_deployment_target%': '', | 140 'skia_osx_deployment_target%': '', |
141 'skia_profile_enabled%': 0, | 141 'skia_profile_enabled%': 0, |
142 'skia_win_debuggers_path%': '', | 142 'skia_win_debuggers_path%': '', |
143 'skia_shared_lib%': 0, | 143 'skia_shared_lib%': 0, |
144 'skia_opencl%': 0, | 144 'skia_opencl%': 0, |
145 'skia_distancefield_fonts%': 0, | |
146 | 145 |
147 # These variables determine the default optimization level for different | 146 # These variables determine the default optimization level for different |
148 # compilers. | 147 # compilers. |
149 'skia_default_vs_optimization_level': 3, # full (/Ox) | 148 'skia_default_vs_optimization_level': 3, # full (/Ox) |
150 'skia_default_gcc_optimization_level': 3, # -O3 | 149 'skia_default_gcc_optimization_level': 3, # -O3 |
151 }, | 150 }, |
152 | 151 |
153 'conditions': [ | 152 'conditions': [ |
154 [ 'skia_os == "win" and skia_arch_width == 32 or ' | 153 [ 'skia_os == "win" and skia_arch_width == 32 or ' |
155 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] ' | 154 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] ' |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 'skia_arch_width%': '<(skia_arch_width)', | 203 'skia_arch_width%': '<(skia_arch_width)', |
205 'skia_arch_type%': '<(skia_arch_type)', | 204 'skia_arch_type%': '<(skia_arch_type)', |
206 'skia_chrome_utils%': '<(skia_chrome_utils)', | 205 'skia_chrome_utils%': '<(skia_chrome_utils)', |
207 'skia_directwrite%': '<(skia_directwrite)', | 206 'skia_directwrite%': '<(skia_directwrite)', |
208 'skia_gpu%': '<(skia_gpu)', | 207 'skia_gpu%': '<(skia_gpu)', |
209 'skia_win_exceptions%': 0, | 208 'skia_win_exceptions%': 0, |
210 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 209 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
211 'skia_profile_enabled%': '<(skia_profile_enabled)', | 210 'skia_profile_enabled%': '<(skia_profile_enabled)', |
212 'skia_shared_lib%': '<(skia_shared_lib)', | 211 'skia_shared_lib%': '<(skia_shared_lib)', |
213 'skia_opencl%': '<(skia_opencl)', | 212 'skia_opencl%': '<(skia_opencl)', |
214 'skia_distancefield_fonts%': '<(skia_distancefield_fonts)', | |
215 'skia_static_initializers%': '<(skia_static_initializers)', | 213 'skia_static_initializers%': '<(skia_static_initializers)', |
216 'ios_sdk_version%': '6.0', | 214 'ios_sdk_version%': '6.0', |
217 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 215 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
218 'skia_run_pdfviewer_in_gm%': 0, | 216 'skia_run_pdfviewer_in_gm%': 0, |
219 'skia_disable_inlining%': 0, | 217 'skia_disable_inlining%': 0, |
220 | 218 |
221 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 219 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
222 # | 220 # |
223 'skia_src_path%': '../src', | 221 'skia_src_path%': '../src', |
224 'skia_include_path%': '../include', | 222 'skia_include_path%': '../include', |
225 }, | 223 }, |
226 } | 224 } |
OLD | NEW |