| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 # that; instead statically link to the version in | 111 # that; instead statically link to the version in |
| 112 # third_party/freetype and third_party/externals/freetype. | 112 # third_party/freetype and third_party/externals/freetype. |
| 113 { | 113 { |
| 114 'skia_freetype_static%': '1', | 114 'skia_freetype_static%': '1', |
| 115 }, { | 115 }, { |
| 116 'skia_freetype_static%': '0', | 116 'skia_freetype_static%': '0', |
| 117 } | 117 } |
| 118 ], | 118 ], |
| 119 ], | 119 ], |
| 120 | 120 |
| 121 # skia_giflib_static - on OS variants that normally would link giflib | |
| 122 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', | |
| 123 # don't do that; instead compile and staticlly link the version of | |
| 124 # giflib in third_party/externals/giflib. | |
| 125 'skia_giflib_static%': '0', | |
| 126 | |
| 127 | |
| 128 # skia_no_fontconfig - On POSIX systems that would normally use the | 121 # skia_no_fontconfig - On POSIX systems that would normally use the |
| 129 # SkFontHost_fontconfig interface; use the SkFontHost_linux | 122 # SkFontHost_fontconfig interface; use the SkFontHost_linux |
| 130 # version instead. | 123 # version instead. |
| 131 'skia_no_fontconfig%': '0', | 124 'skia_no_fontconfig%': '0', |
| 132 | 125 |
| 133 'skia_sanitizer%': '', | 126 'skia_sanitizer%': '', |
| 134 'skia_scalar%': 'float', | 127 'skia_scalar%': 'float', |
| 135 'skia_mesa%': 0, | 128 'skia_mesa%': 0, |
| 136 'skia_gpu_extra_dependency_path%': '', | 129 'skia_gpu_extra_dependency_path%': '', |
| 137 'skia_stroke_path_rendering%': 0, | 130 'skia_stroke_path_rendering%': 0, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 # so that siblings of the level-1 'variables' dict can see them. | 192 # so that siblings of the level-1 'variables' dict can see them. |
| 200 'arm_version%': '<(arm_version)', | 193 'arm_version%': '<(arm_version)', |
| 201 'arm_neon%': '<(arm_neon)', | 194 'arm_neon%': '<(arm_neon)', |
| 202 'arm_neon_optional%': 0, | 195 'arm_neon_optional%': 0, |
| 203 'mips_arch_variant%': 'mips32', | 196 'mips_arch_variant%': 'mips32', |
| 204 'mips_dsp%': 0, | 197 'mips_dsp%': 0, |
| 205 'skia_os%': '<(skia_os)', | 198 'skia_os%': '<(skia_os)', |
| 206 'os_posix%': '<(os_posix)', | 199 'os_posix%': '<(os_posix)', |
| 207 | 200 |
| 208 'skia_freetype_static%': '<(skia_freetype_static)', | 201 'skia_freetype_static%': '<(skia_freetype_static)', |
| 209 'skia_giflib_static%': '<(skia_giflib_static)', | |
| 210 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | 202 'skia_no_fontconfig%': '<(skia_no_fontconfig)', |
| 211 'skia_sanitizer%': '<(skia_sanitizer)', | 203 'skia_sanitizer%': '<(skia_sanitizer)', |
| 212 'skia_scalar%': '<(skia_scalar)', | 204 'skia_scalar%': '<(skia_scalar)', |
| 213 'skia_mesa%': '<(skia_mesa)', | 205 'skia_mesa%': '<(skia_mesa)', |
| 214 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', | 206 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', |
| 215 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 207 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
| 216 'skia_android_framework%': '<(skia_android_framework)', | 208 'skia_android_framework%': '<(skia_android_framework)', |
| 217 'skia_use_system_json%': '<(skia_use_system_json)', | 209 'skia_use_system_json%': '<(skia_use_system_json)', |
| 218 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 210 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
| 219 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 211 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
| (...skipping 27 matching lines...) Expand all Loading... |
| 247 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 239 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
| 248 #'-flto' # Enable link-time optimization. | 240 #'-flto' # Enable link-time optimization. |
| 249 ], | 241 ], |
| 250 | 242 |
| 251 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 243 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 252 # | 244 # |
| 253 'skia_src_path%': '../src', | 245 'skia_src_path%': '../src', |
| 254 'skia_include_path%': '../include', | 246 'skia_include_path%': '../include', |
| 255 }, | 247 }, |
| 256 } | 248 } |
| OLD | NEW |