| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', | 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 | 123 # don't do that; instead compile and staticlly link the version of |
| 124 # giflib in third_party/externals/giflib. | 124 # giflib in third_party/externals/giflib. |
| 125 'skia_giflib_static%': '0', | 125 'skia_giflib_static%': '0', |
| 126 | 126 |
| 127 | 127 |
| 128 # skia_no_fontconfig - On POSIX systems that would normally use the | 128 # skia_no_fontconfig - On POSIX systems that would normally use the |
| 129 # SkFontHost_fontconfig interface; use the SkFontHost_linux | 129 # SkFontHost_fontconfig interface; use the SkFontHost_linux |
| 130 # version instead. | 130 # version instead. |
| 131 'skia_no_fontconfig%': '0', | 131 'skia_no_fontconfig%': '0', |
| 132 'skia_embedded_fonts%': '0', |
| 132 | 133 |
| 133 'skia_sanitizer%': '', | 134 'skia_sanitizer%': '', |
| 134 'skia_scalar%': 'float', | 135 'skia_scalar%': 'float', |
| 135 'skia_mesa%': 0, | 136 'skia_mesa%': 0, |
| 136 'skia_gpu_extra_dependency_path%': '', | 137 'skia_gpu_extra_dependency_path%': '', |
| 137 'skia_stroke_path_rendering%': 0, | 138 'skia_stroke_path_rendering%': 0, |
| 138 'skia_android_path_rendering%': 0, | 139 'skia_android_path_rendering%': 0, |
| 139 'skia_resource_cache_mb_limit%': 0, | 140 'skia_resource_cache_mb_limit%': 0, |
| 140 'skia_resource_cache_count_limit%': 0, | 141 'skia_resource_cache_count_limit%': 0, |
| 141 'skia_angle%': 0, | 142 'skia_angle%': 0, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 'arm_neon%': '<(arm_neon)', | 202 'arm_neon%': '<(arm_neon)', |
| 202 'arm_neon_optional%': 0, | 203 'arm_neon_optional%': 0, |
| 203 'mips_arch_variant%': 'mips32', | 204 'mips_arch_variant%': 'mips32', |
| 204 'mips_dsp%': 0, | 205 'mips_dsp%': 0, |
| 205 'skia_os%': '<(skia_os)', | 206 'skia_os%': '<(skia_os)', |
| 206 'os_posix%': '<(os_posix)', | 207 'os_posix%': '<(os_posix)', |
| 207 | 208 |
| 208 'skia_freetype_static%': '<(skia_freetype_static)', | 209 'skia_freetype_static%': '<(skia_freetype_static)', |
| 209 'skia_giflib_static%': '<(skia_giflib_static)', | 210 'skia_giflib_static%': '<(skia_giflib_static)', |
| 210 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | 211 'skia_no_fontconfig%': '<(skia_no_fontconfig)', |
| 212 'skia_embedded_fonts%': '<(skia_embedded_fonts)', |
| 211 'skia_sanitizer%': '<(skia_sanitizer)', | 213 'skia_sanitizer%': '<(skia_sanitizer)', |
| 212 'skia_scalar%': '<(skia_scalar)', | 214 'skia_scalar%': '<(skia_scalar)', |
| 213 'skia_mesa%': '<(skia_mesa)', | 215 'skia_mesa%': '<(skia_mesa)', |
| 214 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', | 216 'skia_gpu_extra_dependency_path%': '<(skia_gpu_extra_dependency_path)', |
| 215 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 217 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
| 216 'skia_android_framework%': '<(skia_android_framework)', | 218 'skia_android_framework%': '<(skia_android_framework)', |
| 217 'skia_use_system_json%': '<(skia_use_system_json)', | 219 'skia_use_system_json%': '<(skia_use_system_json)', |
| 218 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 220 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
| 219 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 221 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
| 220 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 222 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 247 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 249 '-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
| 248 #'-flto' # Enable link-time optimization. | 250 #'-flto' # Enable link-time optimization. |
| 249 ], | 251 ], |
| 250 | 252 |
| 251 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 253 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 252 # | 254 # |
| 253 'skia_src_path%': '../src', | 255 'skia_src_path%': '../src', |
| 254 'skia_include_path%': '../include', | 256 'skia_include_path%': '../include', |
| 255 }, | 257 }, |
| 256 } | 258 } |
| OLD | NEW |