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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 # Re-define all variables defined within the level-3 'variables' dict, | 50 # Re-define all variables defined within the level-3 'variables' dict, |
51 # so that siblings of the level-2 'variables' dict can see them. | 51 # so that siblings of the level-2 'variables' dict can see them. |
52 'skia_os%': '<(skia_os)', | 52 'skia_os%': '<(skia_os)', |
53 | 53 |
54 'conditions': [ | 54 'conditions': [ |
55 [ 'skia_os == "win"', { | 55 [ 'skia_os == "win"', { |
56 'os_posix%': 0, | 56 'os_posix%': 0, |
57 }, { | 57 }, { |
58 'os_posix%': 1, | 58 'os_posix%': 1, |
59 }], | 59 }], |
| 60 [ 'skia_os in ["linux", "win", "mac"]', { |
| 61 'skia_poppler_enabled%': 1, |
| 62 }, { |
| 63 'skia_poppler_enabled%': 0, |
| 64 }], |
60 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { | 65 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
61 'skia_arch_width%': 64, | 66 'skia_arch_width%': 64, |
62 }, { | 67 }, { |
63 'skia_arch_width%': 32, | 68 'skia_arch_width%': 32, |
64 }], | 69 }], |
65 [ 'skia_os == "android"', { | 70 [ 'skia_os == "android"', { |
66 'skia_static_initializers%': 0, | 71 'skia_static_initializers%': 0, |
67 }, { | 72 }, { |
68 'skia_static_initializers%': 1, | 73 'skia_static_initializers%': 1, |
69 }], | 74 }], |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 'os_posix%': '<(os_posix)', | 144 'os_posix%': '<(os_posix)', |
140 'skia_sanitizer%': '<(skia_sanitizer)', | 145 'skia_sanitizer%': '<(skia_sanitizer)', |
141 'skia_scalar%': '<(skia_scalar)', | 146 'skia_scalar%': '<(skia_scalar)', |
142 'skia_mesa%': '<(skia_mesa)', | 147 'skia_mesa%': '<(skia_mesa)', |
143 'skia_nv_path_rendering%': '<(skia_nv_path_rendering)', | 148 'skia_nv_path_rendering%': '<(skia_nv_path_rendering)', |
144 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 149 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
145 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 150 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
146 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 151 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
147 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 152 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
148 'skia_angle%': '<(skia_angle)', | 153 'skia_angle%': '<(skia_angle)', |
| 154 'skia_poppler_enabled%': '<(skia_poppler_enabled)', |
149 'skia_arch_width%': '<(skia_arch_width)', | 155 'skia_arch_width%': '<(skia_arch_width)', |
150 'skia_arch_type%': '<(skia_arch_type)', | 156 'skia_arch_type%': '<(skia_arch_type)', |
151 'skia_chrome_utils%': '<(skia_chrome_utils)', | 157 'skia_chrome_utils%': '<(skia_chrome_utils)', |
152 'skia_directwrite%': '<(skia_directwrite)', | 158 'skia_directwrite%': '<(skia_directwrite)', |
153 'skia_gpu%': '<(skia_gpu)', | 159 'skia_gpu%': '<(skia_gpu)', |
154 'skia_win_exceptions%': 0, | 160 'skia_win_exceptions%': 0, |
155 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', | 161 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', |
156 'skia_profile_enabled%': '<(skia_profile_enabled)', | 162 'skia_profile_enabled%': '<(skia_profile_enabled)', |
157 'skia_shared_lib%': '<(skia_shared_lib)', | 163 'skia_shared_lib%': '<(skia_shared_lib)', |
158 'skia_opencl%': '<(skia_opencl)', | 164 'skia_opencl%': '<(skia_opencl)', |
159 'skia_distancefield_fonts%': '<(skia_distancefield_fonts)', | 165 'skia_distancefield_fonts%': '<(skia_distancefield_fonts)', |
160 'skia_static_initializers%': '<(skia_static_initializers)', | 166 'skia_static_initializers%': '<(skia_static_initializers)', |
161 'ios_sdk_version%': '6.0', | 167 'ios_sdk_version%': '6.0', |
162 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 168 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
163 'skia_run_pdfviewer_in_gm%': 0, | 169 'skia_run_pdfviewer_in_gm%': 0, |
164 | 170 |
165 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 171 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
166 # | 172 # |
167 'skia_src_path%': '../src', | 173 'skia_src_path%': '../src', |
168 'skia_include_path%': '../include', | 174 'skia_include_path%': '../include', |
169 }, | 175 }, |
170 } | 176 } |
OLD | NEW |