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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 # (skia_os will depend on skia_android_framework.) | 57 # (skia_os will depend on skia_android_framework.) |
58 'skia_android_framework%': '<(skia_android_framework)', | 58 'skia_android_framework%': '<(skia_android_framework)', |
59 'skia_arch_type%': '<(skia_arch_type)', | 59 'skia_arch_type%': '<(skia_arch_type)', |
60 'arm_version%': '<(arm_version)', | 60 'arm_version%': '<(arm_version)', |
61 'arm_neon%': '<(arm_neon)', | 61 'arm_neon%': '<(arm_neon)', |
62 | 62 |
63 'conditions': [ | 63 'conditions': [ |
64 [ 'skia_android_framework == 1', { | 64 [ 'skia_android_framework == 1', { |
65 'skia_os%': 'android', | 65 'skia_os%': 'android', |
66 'skia_chrome_utils%': 0, | 66 'skia_chrome_utils%': 0, |
67 # FIXME (scroggo): JSON is disabled in Android framework until we | 67 'skia_use_system_json%': 1, |
68 # solve skbug.com/2448 | |
69 'skia_build_json_writer%': 0, | |
70 }, { | 68 }, { |
71 'skia_os%': '<(skia_os)', | 69 'skia_os%': '<(skia_os)', |
72 'skia_chrome_utils%': 1, | 70 'skia_chrome_utils%': 1, |
73 'skia_build_json_writer%': 1, | 71 'skia_use_system_json%': 0, |
74 }], | 72 }], |
75 [ 'skia_os == "win"', { | 73 [ 'skia_os == "win"', { |
76 'os_posix%': 0, | 74 'os_posix%': 0, |
77 }, { | 75 }, { |
78 'os_posix%': 1, | 76 'os_posix%': 1, |
79 }], | 77 }], |
80 [ 'skia_os in ["linux"]', { | 78 [ 'skia_os in ["linux"]', { |
81 'skia_poppler_enabled%': 1, | 79 'skia_poppler_enabled%': 1, |
82 }, { | 80 }, { |
83 'skia_poppler_enabled%': 0, | 81 'skia_poppler_enabled%': 0, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 'skia_freetype_static%': '<(skia_freetype_static)', | 195 'skia_freetype_static%': '<(skia_freetype_static)', |
198 'skia_giflib_static%': '<(skia_giflib_static)', | 196 'skia_giflib_static%': '<(skia_giflib_static)', |
199 'skia_libpng_static%': '<(skia_libpng_static)', | 197 'skia_libpng_static%': '<(skia_libpng_static)', |
200 'skia_zlib_static%': '<(skia_zlib_static)', | 198 'skia_zlib_static%': '<(skia_zlib_static)', |
201 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | 199 'skia_no_fontconfig%': '<(skia_no_fontconfig)', |
202 'skia_sanitizer%': '<(skia_sanitizer)', | 200 'skia_sanitizer%': '<(skia_sanitizer)', |
203 'skia_scalar%': '<(skia_scalar)', | 201 'skia_scalar%': '<(skia_scalar)', |
204 'skia_mesa%': '<(skia_mesa)', | 202 'skia_mesa%': '<(skia_mesa)', |
205 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 203 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
206 'skia_android_framework%': '<(skia_android_framework)', | 204 'skia_android_framework%': '<(skia_android_framework)', |
207 'skia_build_json_writer%': '<(skia_build_json_writer)', | 205 'skia_use_system_json%': '<(skia_use_system_json)', |
208 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 206 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
209 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 207 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
210 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 208 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
211 'skia_angle%': '<(skia_angle)', | 209 'skia_angle%': '<(skia_angle)', |
212 'skia_poppler_enabled%': '<(skia_poppler_enabled)', | 210 'skia_poppler_enabled%': '<(skia_poppler_enabled)', |
213 'skia_arch_width%': '<(skia_arch_width)', | 211 'skia_arch_width%': '<(skia_arch_width)', |
214 'skia_arch_type%': '<(skia_arch_type)', | 212 'skia_arch_type%': '<(skia_arch_type)', |
215 'skia_chrome_utils%': '<(skia_chrome_utils)', | 213 'skia_chrome_utils%': '<(skia_chrome_utils)', |
216 'skia_directwrite%': '<(skia_directwrite)', | 214 'skia_directwrite%': '<(skia_directwrite)', |
217 'skia_gpu%': '<(skia_gpu)', | 215 'skia_gpu%': '<(skia_gpu)', |
218 'skia_win_exceptions%': 0, | 216 'skia_win_exceptions%': 0, |
219 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 217 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
220 'skia_profile_enabled%': '<(skia_profile_enabled)', | 218 'skia_profile_enabled%': '<(skia_profile_enabled)', |
221 'skia_shared_lib%': '<(skia_shared_lib)', | 219 'skia_shared_lib%': '<(skia_shared_lib)', |
222 'skia_opencl%': '<(skia_opencl)', | 220 'skia_opencl%': '<(skia_opencl)', |
223 'skia_force_distancefield_fonts%': '<(skia_force_distancefield_fonts)', | 221 'skia_force_distancefield_fonts%': '<(skia_force_distancefield_fonts)', |
224 'skia_static_initializers%': '<(skia_static_initializers)', | 222 'skia_static_initializers%': '<(skia_static_initializers)', |
225 'ios_sdk_version%': '6.0', | 223 'ios_sdk_version%': '6.0', |
226 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 224 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
227 'skia_run_pdfviewer_in_gm%': 0, | 225 'skia_run_pdfviewer_in_gm%': 0, |
228 'skia_disable_inlining%': 0, | 226 'skia_disable_inlining%': 0, |
229 'skia_moz2d%': 0, | 227 'skia_moz2d%': 0, |
230 | 228 |
231 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 229 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
232 # | 230 # |
233 'skia_src_path%': '../src', | 231 'skia_src_path%': '../src', |
234 'skia_include_path%': '../include', | 232 'skia_include_path%': '../include', |
235 }, | 233 }, |
236 } | 234 } |
OLD | NEW |