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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 # that; instead statically link to the version in | 111 # that; instead statically link to the version in |
112 # third_party/freetype and third_party/externals/freetype. | 112 # third_party/freetype and third_party/externals/freetype. |
113 { | 113 { |
114 'skia_freetype_static%': '1', | 114 'skia_freetype_static%': '1', |
115 }, { | 115 }, { |
116 'skia_freetype_static%': '0', | 116 'skia_freetype_static%': '0', |
117 } | 117 } |
118 ], | 118 ], |
119 ], | 119 ], |
120 | 120 |
| 121 # skia_giflib_static - on OS variants that normally would link giflib |
| 122 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', |
| 123 # don't do that; instead compile and staticlly link the version of |
| 124 # giflib in third_party/externals/giflib. |
| 125 'skia_giflib_static%': '0', |
| 126 |
| 127 |
121 # skia_no_fontconfig - On POSIX systems that would normally use the | 128 # skia_no_fontconfig - On POSIX systems that would normally use the |
122 # SkFontHost_fontconfig interface; use the SkFontHost_linux | 129 # SkFontHost_fontconfig interface; use the SkFontHost_linux |
123 # version instead. | 130 # version instead. |
124 'skia_no_fontconfig%': '0', | 131 'skia_no_fontconfig%': '0', |
125 | 132 |
126 'skia_sanitizer%': '', | 133 'skia_sanitizer%': '', |
127 'skia_scalar%': 'float', | 134 'skia_scalar%': 'float', |
128 'skia_mesa%': 0, | 135 'skia_mesa%': 0, |
129 'skia_gpu_extra_dependency_path%': '', | 136 'skia_gpu_extra_dependency_path%': '', |
130 'skia_stroke_path_rendering%': 0, | 137 'skia_stroke_path_rendering%': 0, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 # so that siblings of the level-1 'variables' dict can see them. | 199 # so that siblings of the level-1 'variables' dict can see them. |
193 'arm_version%': '<(arm_version)', | 200 'arm_version%': '<(arm_version)', |
194 'arm_neon%': '<(arm_neon)', | 201 'arm_neon%': '<(arm_neon)', |
195 'arm_neon_optional%': 0, | 202 'arm_neon_optional%': 0, |
196 'mips_arch_variant%': 'mips32', | 203 'mips_arch_variant%': 'mips32', |
197 'mips_dsp%': 0, | 204 'mips_dsp%': 0, |
198 'skia_os%': '<(skia_os)', | 205 'skia_os%': '<(skia_os)', |
199 'os_posix%': '<(os_posix)', | 206 'os_posix%': '<(os_posix)', |
200 | 207 |
201 'skia_freetype_static%': '<(skia_freetype_static)', | 208 'skia_freetype_static%': '<(skia_freetype_static)', |
| 209 'skia_giflib_static%': '<(skia_giflib_static)', |
202 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | 210 'skia_no_fontconfig%': '<(skia_no_fontconfig)', |
203 'skia_sanitizer%': '<(skia_sanitizer)', | 211 'skia_sanitizer%': '<(skia_sanitizer)', |
204 'skia_scalar%': '<(skia_scalar)', | 212 'skia_scalar%': '<(skia_scalar)', |
205 'skia_mesa%': '<(skia_mesa)', | 213 'skia_mesa%': '<(skia_mesa)', |
206 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', | 214 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', |
207 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 215 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
208 'skia_android_framework%': '<(skia_android_framework)', | 216 'skia_android_framework%': '<(skia_android_framework)', |
209 'skia_use_system_json%': '<(skia_use_system_json)', | 217 'skia_use_system_json%': '<(skia_use_system_json)', |
210 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 218 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
211 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 219 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
(...skipping 27 matching lines...) Expand all Loading... |
239 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 247 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
240 #'-flto' # Enable link-time optimization. | 248 #'-flto' # Enable link-time optimization. |
241 ], | 249 ], |
242 | 250 |
243 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 251 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
244 # | 252 # |
245 'skia_src_path%': '../src', | 253 'skia_src_path%': '../src', |
246 'skia_include_path%': '../include', | 254 'skia_include_path%': '../include', |
247 }, | 255 }, |
248 } | 256 } |
OLD | NEW |