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