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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 ], | 94 ], |
95 | 95 |
96 # skia_freetype_static - on OS variants that normally would | |
97 # dynamically link the system FreeType library, don't do that; | |
98 # instead statically link to the version in third_party/freetype | |
99 # and third_party/externals/freetype. | |
100 'skia_freetype_static%': 'skia_os in ["android", "nacl"]', | |
borenet
2014/02/21 15:24:34
Not sure if it's just convention or what, but this
hal.canary
2014/02/24 17:42:35
Done.
| |
101 | |
102 # skia_giflib_static - on OS variants that normally would link giflib | |
103 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', | |
104 # don't do that; instead compile and staticlly link the version of | |
105 # giflib in third_party/externals/giflib. | |
106 'skia_giflib_static%': '0', | |
107 | |
108 # skia_libpng_static - on OS variants that normally would link libpng | |
109 # with '-lpng' and include the headers from '/usr/include/png.h', | |
110 # don't do that; instead compile and staticlly link the version of | |
111 # libpng in third_party/externals/libpng. | |
112 'skia_libpng_static%': '0', | |
113 | |
114 # skia_zlib_static - on OS variants that normally would link zlib with | |
115 # '-lz' or libz.dylib and include the headers from '<zlib.h>', | |
116 # don't do that; instead compile and staticlly link the version of | |
117 # zlib in third_party/externals/zlib. | |
118 'skia_zlib_static%': '0', | |
119 | |
120 # skia_no_fontconfig - On POSIX systems that would normally use the | |
121 # SkFontHost_fontconfig interface; use the SkFontHost_linux | |
122 # version instead. | |
123 'skia_no_fontconfig%': '0', | |
124 | |
96 'skia_sanitizer%': '', | 125 'skia_sanitizer%': '', |
97 'skia_scalar%': 'float', | 126 'skia_scalar%': 'float', |
98 'skia_mesa%': 0, | 127 'skia_mesa%': 0, |
99 'skia_stroke_path_rendering%': 0, | 128 'skia_stroke_path_rendering%': 0, |
100 'skia_android_path_rendering%': 0, | 129 'skia_android_path_rendering%': 0, |
101 'skia_resource_cache_mb_limit%': 0, | 130 'skia_resource_cache_mb_limit%': 0, |
102 'skia_resource_cache_count_limit%': 0, | 131 'skia_resource_cache_count_limit%': 0, |
103 'skia_angle%': 0, | 132 'skia_angle%': 0, |
104 'skia_directwrite%': 0, | 133 'skia_directwrite%': 0, |
105 'skia_gpu%': 1, | 134 'skia_gpu%': 1, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 }], | 173 }], |
145 ], | 174 ], |
146 | 175 |
147 # Re-define all variables defined within the level-2 'variables' dict, | 176 # Re-define all variables defined within the level-2 'variables' dict, |
148 # so that siblings of the level-1 'variables' dict can see them. | 177 # so that siblings of the level-1 'variables' dict can see them. |
149 'arm_version%': '<(arm_version)', | 178 'arm_version%': '<(arm_version)', |
150 'arm_neon%': '<(arm_neon)', | 179 'arm_neon%': '<(arm_neon)', |
151 'arm_neon_optional%': 0, | 180 'arm_neon_optional%': 0, |
152 'skia_os%': '<(skia_os)', | 181 'skia_os%': '<(skia_os)', |
153 'os_posix%': '<(os_posix)', | 182 'os_posix%': '<(os_posix)', |
183 | |
184 'skia_freetype_static%': '<(skia_freetype_static)', | |
185 'skia_giflib_static%': '<(skia_giflib_static)', | |
186 'skia_libpng_static%': '<(skia_libpng_static)', | |
187 'skia_zlib_static%': '<(skia_zlib_static)', | |
188 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | |
154 'skia_sanitizer%': '<(skia_sanitizer)', | 189 'skia_sanitizer%': '<(skia_sanitizer)', |
155 'skia_scalar%': '<(skia_scalar)', | 190 'skia_scalar%': '<(skia_scalar)', |
156 'skia_mesa%': '<(skia_mesa)', | 191 'skia_mesa%': '<(skia_mesa)', |
157 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 192 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
158 'skia_android_framework%': '<(skia_android_framework)', | 193 'skia_android_framework%': '<(skia_android_framework)', |
159 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 194 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
160 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 195 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
161 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 196 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
162 'skia_angle%': '<(skia_angle)', | 197 'skia_angle%': '<(skia_angle)', |
163 'skia_poppler_enabled%': '<(skia_poppler_enabled)', | 198 'skia_poppler_enabled%': '<(skia_poppler_enabled)', |
(...skipping 13 matching lines...) Expand all Loading... | |
177 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 212 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
178 'skia_run_pdfviewer_in_gm%': 0, | 213 'skia_run_pdfviewer_in_gm%': 0, |
179 'skia_disable_inlining%': 0, | 214 'skia_disable_inlining%': 0, |
180 | 215 |
181 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 216 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
182 # | 217 # |
183 'skia_src_path%': '../src', | 218 'skia_src_path%': '../src', |
184 'skia_include_path%': '../include', | 219 'skia_include_path%': '../include', |
185 }, | 220 }, |
186 } | 221 } |
OLD | NEW |