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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 'skia_use_system_json%': 1, | 67 'skia_use_system_json%': 1, |
| 68 'skia_egl%': 1, |
68 }, { | 69 }, { |
69 'skia_os%': '<(skia_os)', | 70 'skia_os%': '<(skia_os)', |
70 'skia_chrome_utils%': 1, | 71 'skia_chrome_utils%': 1, |
71 'skia_use_system_json%': 0, | 72 'skia_use_system_json%': 0, |
| 73 'skia_egl%': 0, |
72 }], | 74 }], |
73 [ 'skia_os == "win"', { | 75 [ 'skia_os == "win"', { |
74 'os_posix%': 0, | 76 'os_posix%': 0, |
75 }, { | 77 }, { |
76 'os_posix%': 1, | 78 'os_posix%': 1, |
77 }], | 79 }], |
78 [ 'skia_os in ["linux"]', { | 80 [ 'skia_os in ["linux"]', { |
79 'skia_poppler_enabled%': 1, | 81 'skia_poppler_enabled%': 1, |
80 }, { | 82 }, { |
81 'skia_poppler_enabled%': 0, | 83 'skia_poppler_enabled%': 0, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 'skia_shared_lib%': '<(skia_shared_lib)', | 228 'skia_shared_lib%': '<(skia_shared_lib)', |
227 'skia_opencl%': '<(skia_opencl)', | 229 'skia_opencl%': '<(skia_opencl)', |
228 'skia_force_distancefield_fonts%': '<(skia_force_distancefield_fonts)', | 230 'skia_force_distancefield_fonts%': '<(skia_force_distancefield_fonts)', |
229 'skia_static_initializers%': '<(skia_static_initializers)', | 231 'skia_static_initializers%': '<(skia_static_initializers)', |
230 'ios_sdk_version%': '6.0', | 232 'ios_sdk_version%': '6.0', |
231 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 233 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
232 'skia_run_pdfviewer_in_gm%': 0, | 234 'skia_run_pdfviewer_in_gm%': 0, |
233 'skia_disable_inlining%': 0, | 235 'skia_disable_inlining%': 0, |
234 'skia_moz2d%': 0, | 236 'skia_moz2d%': 0, |
235 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', | 237 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', |
| 238 'skia_egl%': '<(skia_egl)', |
236 | 239 |
237 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 240 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
238 # | 241 # |
239 'skia_src_path%': '../src', | 242 'skia_src_path%': '../src', |
240 'skia_include_path%': '../include', | 243 'skia_include_path%': '../include', |
241 }, | 244 }, |
242 } | 245 } |
OLD | NEW |