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 'skia_arch_type%': 'arm', | 84 'skia_arch_type%': 'arm', |
85 'arm_version%': 7, | 85 'arm_version%': 7, |
86 'arm_neon%': 0, # neon asm files known not to work with the ios build | 86 'arm_neon%': 0, # neon asm files known not to work with the ios build |
87 },{ # skia_os is not ios | 87 },{ # skia_os is not ios |
88 'skia_arch_type%': 'x86', | 88 'skia_arch_type%': 'x86', |
89 'arm_version%': 0, | 89 'arm_version%': 0, |
90 'arm_neon%': 0, | 90 'arm_neon%': 0, |
91 }], | 91 }], |
92 ], | 92 ], |
93 | 93 |
94 # skia_freetype_static - on OS variants that normally would | |
95 # dynamically link the system FreeType library, don't do that; | |
96 # instead statically link to the version in third_party/freetype | |
97 # and third_party/externals/freetype. Requires gclient sync to | |
scroggo
2014/02/06 16:22:13
What does this mean? You need to do a gclient sync
hal.canary
2014/02/06 18:01:57
I was referring to setting the deps_os to make sur
| |
98 # download the source files. | |
99 'skia_freetype_static%': '0', | |
100 | |
101 # skia_giflib_static - on OS variants that normally would link giflib | |
102 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', | |
103 # don't do that; instead compile and staticlly link the version of | |
104 # giflib in third_party/externals/giflib. Requires gclient sync to | |
105 # download the source files. | |
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. Requires gclient sync | |
112 # to download the source files. | |
113 'skia_libpng_static%': '0', | |
114 | |
115 # skia_zlib_static - on OS variants that normally would link zlib with | |
116 # '-lz' or libz.dylib and include the headers from '<zlib.h>', | |
117 # don't do that; instead compile and staticlly link the version of | |
118 # zlib in third_party/externals/zlib. Requires gclient sync to | |
119 # download the source files. | |
120 'skia_zlib_static%': '0', | |
121 | |
122 # skia_no_fontconfig - On POSIX systems that would normally use the | |
123 # SkFontHost_fontconfig interface; use the SkFontHost_linux | |
124 # version instead.. | |
scroggo
2014/02/06 16:22:13
Only one period.
hal.canary
2014/02/06 18:01:57
Done.
| |
125 'skia_no_fontconfig%': '0', | |
126 | |
94 'skia_sanitizer%': '', | 127 'skia_sanitizer%': '', |
95 'skia_scalar%': 'float', | 128 'skia_scalar%': 'float', |
96 'skia_mesa%': 0, | 129 'skia_mesa%': 0, |
97 'skia_stroke_path_rendering%': 0, | 130 'skia_stroke_path_rendering%': 0, |
98 'skia_android_path_rendering%': 0, | 131 'skia_android_path_rendering%': 0, |
99 'skia_resource_cache_mb_limit%': 0, | 132 'skia_resource_cache_mb_limit%': 0, |
100 'skia_resource_cache_count_limit%': 0, | 133 'skia_resource_cache_count_limit%': 0, |
101 'skia_angle%': 0, | 134 'skia_angle%': 0, |
102 'skia_chrome_utils%': 1, | 135 'skia_chrome_utils%': 1, |
103 'skia_directwrite%': 0, | 136 'skia_directwrite%': 0, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
143 }], | 176 }], |
144 ], | 177 ], |
145 | 178 |
146 # Re-define all variables defined within the level-2 'variables' dict, | 179 # Re-define all variables defined within the level-2 'variables' dict, |
147 # so that siblings of the level-1 'variables' dict can see them. | 180 # so that siblings of the level-1 'variables' dict can see them. |
148 'arm_version%': '<(arm_version)', | 181 'arm_version%': '<(arm_version)', |
149 'arm_neon%': '<(arm_neon)', | 182 'arm_neon%': '<(arm_neon)', |
150 'arm_neon_optional%': 0, | 183 'arm_neon_optional%': 0, |
151 'skia_os%': '<(skia_os)', | 184 'skia_os%': '<(skia_os)', |
152 'os_posix%': '<(os_posix)', | 185 'os_posix%': '<(os_posix)', |
186 | |
187 'skia_freetype_static%': '<(skia_freetype_static)', | |
188 'skia_giflib_static%': '<(skia_giflib_static)', | |
189 'skia_libpng_static%': '<(skia_libpng_static)', | |
190 'skia_zlib_static%': '<(skia_zlib_static)', | |
191 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | |
153 'skia_sanitizer%': '<(skia_sanitizer)', | 192 'skia_sanitizer%': '<(skia_sanitizer)', |
154 'skia_scalar%': '<(skia_scalar)', | 193 'skia_scalar%': '<(skia_scalar)', |
155 'skia_mesa%': '<(skia_mesa)', | 194 'skia_mesa%': '<(skia_mesa)', |
156 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 195 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
157 'skia_android_framework%': '<(skia_android_framework)', | 196 'skia_android_framework%': '<(skia_android_framework)', |
158 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 197 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
159 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 198 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
160 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 199 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
161 'skia_angle%': '<(skia_angle)', | 200 'skia_angle%': '<(skia_angle)', |
162 'skia_poppler_enabled%': '<(skia_poppler_enabled)', | 201 'skia_poppler_enabled%': '<(skia_poppler_enabled)', |
(...skipping 12 matching lines...) Expand all Loading... | |
175 'ios_sdk_version%': '6.0', | 214 'ios_sdk_version%': '6.0', |
176 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 215 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
177 'skia_run_pdfviewer_in_gm%': 0, | 216 'skia_run_pdfviewer_in_gm%': 0, |
178 | 217 |
179 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 218 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
180 # | 219 # |
181 'skia_src_path%': '../src', | 220 'skia_src_path%': '../src', |
182 'skia_include_path%': '../include', | 221 'skia_include_path%': '../include', |
183 }, | 222 }, |
184 } | 223 } |
OLD | NEW |