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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
84 }], | 84 }], |
85 [ 'skia_os == "ios"', { | 85 [ 'skia_os == "ios"', { |
86 'skia_arch_type%': 'arm', | 86 'skia_arch_type%': 'arm', |
87 'arm_version%': 7, | 87 'arm_version%': 7, |
88 'arm_neon%': 0, # neon asm files known not to work with the ios build | 88 'arm_neon%': 0, # neon asm files known not to work with the ios build |
89 },{ # skia_os is not ios | 89 },{ # skia_os is not ios |
90 'skia_arch_type%': 'x86', | 90 'skia_arch_type%': 'x86', |
91 'arm_version%': 0, | 91 'arm_version%': 0, |
92 'arm_neon%': 0, | 92 'arm_neon%': 0, |
93 }], | 93 }], |
94 [ 'skia_os in ["android", "nacl"] and not skia_android_framework', | |
95 # skia_freetype_static - on OS variants that normally would | |
96 # dynamically link the system FreeType library, don't do | |
97 # that; instead statically link to the version in | |
98 # third_party/freetype and third_party/externals/freetype. | |
99 { | |
100 'skia_freetype_static%': '1', | |
101 }, { | |
102 'skia_freetype_static%': '0', | |
103 } | |
104 ], | |
94 ], | 105 ], |
95 | 106 |
107 # skia_giflib_static - on OS variants that normally would link giflib | |
108 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', | |
109 # don't do that; instead compile and staticlly link the version of | |
110 # giflib in third_party/externals/giflib. | |
111 'skia_giflib_static%': '0', | |
112 | |
113 # skia_libpng_static - on OS variants that normally would link libpng | |
114 # with '-lpng' and include the headers from '/usr/include/png.h', | |
115 # don't do that; instead compile and staticlly link the version of | |
116 # libpng in third_party/externals/libpng. | |
117 'skia_libpng_static%': '0', | |
118 | |
119 # skia_zlib_static - on OS variants that normally would link zlib with | |
120 # '-lz' or libz.dylib and include the headers from '<zlib.h>', | |
121 # don't do that; instead compile and staticlly link the version of | |
borenet
2014/02/24 20:46:57
Nit: spelling
| |
122 # zlib in third_party/externals/zlib. | |
123 'skia_zlib_static%': '0', | |
124 | |
125 # skia_no_fontconfig - On POSIX systems that would normally use the | |
126 # SkFontHost_fontconfig interface; use the SkFontHost_linux | |
127 # version instead. | |
128 'skia_no_fontconfig%': '0', | |
129 | |
96 'skia_sanitizer%': '', | 130 'skia_sanitizer%': '', |
97 'skia_scalar%': 'float', | 131 'skia_scalar%': 'float', |
98 'skia_mesa%': 0, | 132 'skia_mesa%': 0, |
99 'skia_stroke_path_rendering%': 0, | 133 'skia_stroke_path_rendering%': 0, |
100 'skia_android_path_rendering%': 0, | 134 'skia_android_path_rendering%': 0, |
101 'skia_resource_cache_mb_limit%': 0, | 135 'skia_resource_cache_mb_limit%': 0, |
102 'skia_resource_cache_count_limit%': 0, | 136 'skia_resource_cache_count_limit%': 0, |
103 'skia_angle%': 0, | 137 'skia_angle%': 0, |
104 'skia_directwrite%': 0, | 138 'skia_directwrite%': 0, |
105 'skia_gpu%': 1, | 139 'skia_gpu%': 1, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 }], | 178 }], |
145 ], | 179 ], |
146 | 180 |
147 # Re-define all variables defined within the level-2 'variables' dict, | 181 # Re-define all variables defined within the level-2 'variables' dict, |
148 # so that siblings of the level-1 'variables' dict can see them. | 182 # so that siblings of the level-1 'variables' dict can see them. |
149 'arm_version%': '<(arm_version)', | 183 'arm_version%': '<(arm_version)', |
150 'arm_neon%': '<(arm_neon)', | 184 'arm_neon%': '<(arm_neon)', |
151 'arm_neon_optional%': 0, | 185 'arm_neon_optional%': 0, |
152 'skia_os%': '<(skia_os)', | 186 'skia_os%': '<(skia_os)', |
153 'os_posix%': '<(os_posix)', | 187 'os_posix%': '<(os_posix)', |
188 | |
189 'skia_freetype_static%': '<(skia_freetype_static)', | |
190 'skia_giflib_static%': '<(skia_giflib_static)', | |
191 'skia_libpng_static%': '<(skia_libpng_static)', | |
192 'skia_zlib_static%': '<(skia_zlib_static)', | |
193 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | |
154 'skia_sanitizer%': '<(skia_sanitizer)', | 194 'skia_sanitizer%': '<(skia_sanitizer)', |
155 'skia_scalar%': '<(skia_scalar)', | 195 'skia_scalar%': '<(skia_scalar)', |
156 'skia_mesa%': '<(skia_mesa)', | 196 'skia_mesa%': '<(skia_mesa)', |
157 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 197 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
158 'skia_android_framework%': '<(skia_android_framework)', | 198 'skia_android_framework%': '<(skia_android_framework)', |
159 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 199 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
160 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 200 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
161 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 201 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
162 'skia_angle%': '<(skia_angle)', | 202 'skia_angle%': '<(skia_angle)', |
163 'skia_poppler_enabled%': '<(skia_poppler_enabled)', | 203 'skia_poppler_enabled%': '<(skia_poppler_enabled)', |
(...skipping 13 matching lines...) Expand all Loading... | |
177 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 217 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
178 'skia_run_pdfviewer_in_gm%': 0, | 218 'skia_run_pdfviewer_in_gm%': 0, |
179 'skia_disable_inlining%': 0, | 219 'skia_disable_inlining%': 0, |
180 | 220 |
181 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 221 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
182 # | 222 # |
183 'skia_src_path%': '../src', | 223 'skia_src_path%': '../src', |
184 'skia_include_path%': '../include', | 224 'skia_include_path%': '../include', |
185 }, | 225 }, |
186 } | 226 } |
OLD | NEW |