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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 'skia_os%': 'android', | 76 'skia_os%': 'android', |
77 'skia_chrome_utils%': 0, | 77 'skia_chrome_utils%': 0, |
78 'skia_use_system_json%': 1, | 78 'skia_use_system_json%': 1, |
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 'skia_angle%': 1, | |
87 }, { | 86 }, { |
88 'os_posix%': 1, | 87 'os_posix%': 1, |
89 'skia_angle%': 0, | |
90 }], | 88 }], |
91 [ 'skia_os in ["linux"]', { | 89 [ 'skia_os in ["linux"]', { |
92 'skia_poppler_enabled%': 1, | 90 'skia_poppler_enabled%': 1, |
93 }, { | 91 }, { |
94 'skia_poppler_enabled%': 0, | 92 'skia_poppler_enabled%': 0, |
95 }], | 93 }], |
96 ['"64" in skia_arch_type', { | 94 ['"64" in skia_arch_type', { |
97 'skia_arch_width%': 64, | 95 'skia_arch_width%': 64, |
98 }, { | 96 }, { |
99 'skia_arch_width%': 32, | 97 'skia_arch_width%': 32, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 # version instead. | 140 # version instead. |
143 'skia_no_fontconfig%': '0', | 141 'skia_no_fontconfig%': '0', |
144 | 142 |
145 'skia_sanitizer%': '', | 143 'skia_sanitizer%': '', |
146 'skia_scalar%': 'float', | 144 'skia_scalar%': 'float', |
147 'skia_mesa%': 0, | 145 'skia_mesa%': 0, |
148 'skia_stroke_path_rendering%': 0, | 146 'skia_stroke_path_rendering%': 0, |
149 'skia_android_path_rendering%': 0, | 147 'skia_android_path_rendering%': 0, |
150 'skia_resource_cache_mb_limit%': 0, | 148 'skia_resource_cache_mb_limit%': 0, |
151 'skia_resource_cache_count_limit%': 0, | 149 'skia_resource_cache_count_limit%': 0, |
| 150 'skia_angle%': 0, |
152 'skia_gdi%': 0, | 151 'skia_gdi%': 0, |
153 'skia_gpu%': 1, | 152 'skia_gpu%': 1, |
154 'skia_osx_deployment_target%': '', | 153 'skia_osx_deployment_target%': '', |
155 'skia_profile_enabled%': 0, | 154 'skia_profile_enabled%': 0, |
156 'skia_win_debuggers_path%': '', | 155 'skia_win_debuggers_path%': '', |
157 'skia_shared_lib%': 0, | 156 'skia_shared_lib%': 0, |
158 'skia_opencl%': 0, | 157 'skia_opencl%': 0, |
159 'skia_force_distance_field_text%': 0, | 158 'skia_force_distance_field_text%': 0, |
160 | 159 |
161 # These variables determine the default optimization level for different | 160 # These variables determine the default optimization level for different |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 'skia_moz2d%': 0, | 240 'skia_moz2d%': 0, |
242 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', | 241 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', |
243 'skia_egl%': '<(skia_egl)', | 242 'skia_egl%': '<(skia_egl)', |
244 | 243 |
245 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 244 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
246 # | 245 # |
247 'skia_src_path%': '../src', | 246 'skia_src_path%': '../src', |
248 'skia_include_path%': '../include', | 247 'skia_include_path%': '../include', |
249 }, | 248 }, |
250 } | 249 } |
OLD | NEW |