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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
154 'skia_opencl%': 0, | 154 'skia_opencl%': 0, |
155 'skia_force_distance_field_text%': 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" or ' |
165 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] ' | 165 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] ' |
mtklein
2014/12/15 16:51:41
Might want to put "win" in the list with the other
bsalomon
2014/12/15 16:54:12
oh, yeah, duh.
| |
166 'and skia_android_framework == 0 or ' | 166 'and skia_android_framework == 0 or ' |
167 'skia_os == "mac" and skia_arch_width == 32', { | 167 'skia_os == "mac" and skia_arch_width == 32', { |
168 'skia_warnings_as_errors%': 1, | 168 'skia_warnings_as_errors%': 1, |
169 }, { | 169 }, { |
170 'skia_warnings_as_errors%': 0, | 170 'skia_warnings_as_errors%': 0, |
171 }], | 171 }], |
172 | 172 |
173 # This variable allows the user to customize the optimization level used | 173 # This variable allows the user to customize the optimization level used |
174 # by the compiler. The user should be aware that this has different | 174 # by the compiler. The user should be aware that this has different |
175 # meanings for different compilers and should exercise caution when | 175 # meanings for different compilers and should exercise caution when |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 |