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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 }, { | 79 }, { |
80 'skia_os%': '<(skia_os)', | 80 'skia_os%': '<(skia_os)', |
81 'skia_chrome_utils%': 1, | 81 'skia_chrome_utils%': 1, |
82 'skia_use_system_json%': 0, | 82 'skia_use_system_json%': 0, |
83 }], | 83 }], |
84 [ 'skia_os == "win"', { | 84 [ 'skia_os == "win"', { |
85 'os_posix%': 0, | 85 'os_posix%': 0, |
86 }, { | 86 }, { |
87 'os_posix%': 1, | 87 'os_posix%': 1, |
88 }], | 88 }], |
89 [ 'skia_os in ["linux"]', { | |
90 'skia_poppler_enabled%': 1, | |
91 }, { | |
92 'skia_poppler_enabled%': 0, | |
93 }], | |
94 ['"64" in skia_arch_type', { | 89 ['"64" in skia_arch_type', { |
95 'skia_arch_width%': 64, | 90 'skia_arch_width%': 64, |
96 }, { | 91 }, { |
97 'skia_arch_width%': 32, | 92 'skia_arch_width%': 32, |
98 }], | 93 }], |
99 [ 'skia_os == "android"', { | 94 [ 'skia_os == "android"', { |
100 'skia_static_initializers%': 0, | 95 'skia_static_initializers%': 0, |
101 'skia_egl%': 1, | 96 'skia_egl%': 1, |
102 }, { | 97 }, { |
103 'skia_static_initializers%': 1, | 98 'skia_static_initializers%': 1, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 'skia_scalar%': '<(skia_scalar)', | 212 'skia_scalar%': '<(skia_scalar)', |
218 'skia_mesa%': '<(skia_mesa)', | 213 'skia_mesa%': '<(skia_mesa)', |
219 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', | 214 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', |
220 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 215 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
221 'skia_android_framework%': '<(skia_android_framework)', | 216 'skia_android_framework%': '<(skia_android_framework)', |
222 'skia_use_system_json%': '<(skia_use_system_json)', | 217 'skia_use_system_json%': '<(skia_use_system_json)', |
223 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 218 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
224 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 219 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
225 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 220 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
226 'skia_angle%': '<(skia_angle)', | 221 'skia_angle%': '<(skia_angle)', |
227 'skia_poppler_enabled%': '<(skia_poppler_enabled)', | |
228 'skia_arch_width%': '<(skia_arch_width)', | 222 'skia_arch_width%': '<(skia_arch_width)', |
229 'skia_arch_type%': '<(skia_arch_type)', | 223 'skia_arch_type%': '<(skia_arch_type)', |
230 'skia_chrome_utils%': '<(skia_chrome_utils)', | 224 'skia_chrome_utils%': '<(skia_chrome_utils)', |
231 'skia_gdi%': '<(skia_gdi)', | 225 'skia_gdi%': '<(skia_gdi)', |
232 'skia_gpu%': '<(skia_gpu)', | 226 'skia_gpu%': '<(skia_gpu)', |
233 'skia_win_exceptions%': 0, | 227 'skia_win_exceptions%': 0, |
234 'skia_win_ltcg%': 1, | 228 'skia_win_ltcg%': 1, |
235 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 229 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
236 'skia_profile_enabled%': '<(skia_profile_enabled)', | 230 'skia_profile_enabled%': '<(skia_profile_enabled)', |
237 'skia_shared_lib%': '<(skia_shared_lib)', | 231 'skia_shared_lib%': '<(skia_shared_lib)', |
238 'skia_opencl%': '<(skia_opencl)', | 232 'skia_opencl%': '<(skia_opencl)', |
239 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', | 233 'skia_force_distance_field_text%': '<(skia_force_distance_field_text)', |
240 'skia_static_initializers%': '<(skia_static_initializers)', | 234 'skia_static_initializers%': '<(skia_static_initializers)', |
241 'ios_sdk_version%': '6.0', | 235 'ios_sdk_version%': '6.0', |
242 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 236 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
243 'skia_run_pdfviewer_in_gm%': 0, | 237 'skia_run_pdfviewer_in_gm%': 0, |
244 'skia_disable_inlining%': 0, | 238 'skia_disable_inlining%': 0, |
245 'skia_moz2d%': 0, | 239 'skia_moz2d%': 0, |
246 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', | 240 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', |
247 'skia_egl%': '<(skia_egl)', | 241 'skia_egl%': '<(skia_egl)', |
248 | 242 |
249 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 243 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
250 # | 244 # |
251 'skia_src_path%': '../src', | 245 'skia_src_path%': '../src', |
252 'skia_include_path%': '../include', | 246 'skia_include_path%': '../include', |
253 }, | 247 }, |
254 } | 248 } |
OLD | NEW |