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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 'skia_os%': '<(skia_os)', | 82 'skia_os%': '<(skia_os)', |
83 'skia_chrome_utils%': 1, | 83 'skia_chrome_utils%': 1, |
84 'skia_use_android_framework_defines%': 0, | 84 'skia_use_android_framework_defines%': 0, |
85 'skia_use_system_json%': 0, | 85 'skia_use_system_json%': 0, |
86 }], | 86 }], |
87 [ 'skia_os == "win"', { | 87 [ 'skia_os == "win"', { |
88 'os_posix%': 0, | 88 'os_posix%': 0, |
89 }, { | 89 }, { |
90 'os_posix%': 1, | 90 'os_posix%': 1, |
91 }], | 91 }], |
92 ['"64" in skia_arch_type', { | |
93 'skia_arch_width%': 64, | |
94 }, { | |
95 'skia_arch_width%': 32, | |
96 }], | |
97 [ 'skia_os == "android"', { | 92 [ 'skia_os == "android"', { |
98 'skia_static_initializers%': 0, | 93 'skia_static_initializers%': 0, |
99 'skia_egl%': 1, | 94 'skia_egl%': 1, |
100 }, { | 95 }, { |
101 'skia_static_initializers%': 1, | 96 'skia_static_initializers%': 1, |
102 }], | 97 }], |
103 [ 'skia_os == "ios"', { | 98 [ 'skia_os == "ios"', { |
104 'skia_arch_type%': 'arm', | 99 'skia_arch_type%': 'arm', |
105 'arm_version%': 7, | 100 'arm_version%': 7, |
106 'arm_neon%': 0, # neon asm files known not to work with the ios build | 101 'arm_neon%': 0, # neon asm files known not to work with the ios build |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 'skia_mesa%': '<(skia_mesa)', | 193 'skia_mesa%': '<(skia_mesa)', |
199 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', | 194 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', |
200 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 195 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
201 'skia_android_framework%': '<(skia_android_framework)', | 196 'skia_android_framework%': '<(skia_android_framework)', |
202 'skia_use_android_framework_defines%': '<(skia_use_android_framework_defines
)', | 197 'skia_use_android_framework_defines%': '<(skia_use_android_framework_defines
)', |
203 'skia_use_system_json%': '<(skia_use_system_json)', | 198 'skia_use_system_json%': '<(skia_use_system_json)', |
204 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 199 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
205 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 200 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
206 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 201 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
207 'skia_angle%': '<(skia_angle)', | 202 'skia_angle%': '<(skia_angle)', |
208 'skia_arch_width%': '<(skia_arch_width)', | |
209 'skia_arch_type%': '<(skia_arch_type)', | 203 'skia_arch_type%': '<(skia_arch_type)', |
210 'skia_chrome_utils%': '<(skia_chrome_utils)', | 204 'skia_chrome_utils%': '<(skia_chrome_utils)', |
211 'skia_gdi%': '<(skia_gdi)', | 205 'skia_gdi%': '<(skia_gdi)', |
212 'skia_gpu%': '<(skia_gpu)', | 206 'skia_gpu%': '<(skia_gpu)', |
213 'skia_win_exceptions%': 0, | 207 'skia_win_exceptions%': 0, |
214 'skia_win_ltcg%': 1, | 208 'skia_win_ltcg%': 1, |
215 'sknx_no_simd%': 0, | 209 'sknx_no_simd%': 0, |
216 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 210 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
217 'skia_profile_enabled%': '<(skia_profile_enabled)', | 211 'skia_profile_enabled%': '<(skia_profile_enabled)', |
218 'skia_shared_lib%': '<(skia_shared_lib)', | 212 'skia_shared_lib%': '<(skia_shared_lib)', |
(...skipping 15 matching lines...) Expand all Loading... |
234 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 228 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
235 #'-flto' # Enable link-time optimization. | 229 #'-flto' # Enable link-time optimization. |
236 ], | 230 ], |
237 | 231 |
238 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 232 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
239 # | 233 # |
240 'skia_src_path%': '../src', | 234 'skia_src_path%': '../src', |
241 'skia_include_path%': '../include', | 235 'skia_include_path%': '../include', |
242 }, | 236 }, |
243 } | 237 } |
OLD | NEW |