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