| OLD | NEW |
| 1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
| 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 import("gn/shared_sources.gni") | 6 import("gn/shared_sources.gni") |
| 7 | 7 |
| 8 declare_args() { | 8 declare_args() { |
| 9 skia_enable_tools = !is_fuchsia && !is_component_build | 9 skia_enable_tools = !is_fuchsia && !is_component_build |
| 10 | 10 |
| 11 skia_use_expat = true | 11 skia_use_expat = true |
| 12 skia_use_fontconfig = is_linux | 12 skia_use_fontconfig = is_linux |
| 13 skia_use_freetype = is_android || is_fuchsia || is_linux | 13 skia_use_freetype = is_android || is_fuchsia || is_linux |
| 14 skia_use_giflib = !is_fuchsia | 14 skia_use_giflib = !is_fuchsia |
| 15 skia_use_libjpeg_turbo = true | 15 skia_use_libjpeg_turbo = true |
| 16 skia_use_libpng = true | 16 skia_use_libpng = true |
| 17 skia_use_libwebp = !is_fuchsia | 17 skia_use_libwebp = !is_fuchsia |
| 18 skia_use_sfntly = !is_fuchsia | 18 skia_use_sfntly = !is_fuchsia |
| 19 skia_use_vulkan = false | 19 skia_use_vulkan = is_android && defined(ndk_api) && ndk_api >= 24 |
| 20 skia_use_zlib = true | 20 skia_use_zlib = true |
| 21 } | 21 } |
| 22 | 22 |
| 23 fontmgr_android_enabled = skia_use_expat && skia_use_freetype | 23 fontmgr_android_enabled = skia_use_expat && skia_use_freetype |
| 24 | 24 |
| 25 skia_public_includes = [ | 25 skia_public_includes = [ |
| 26 "include/android", | 26 "include/android", |
| 27 "include/c", | 27 "include/c", |
| 28 "include/codec", | 28 "include/codec", |
| 29 "include/config", | 29 "include/config", |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 sources = [ | 839 sources = [ |
| 840 "tools/SkShaper_primitive.cpp", | 840 "tools/SkShaper_primitive.cpp", |
| 841 "tools/using_skia_and_harfbuzz.cpp", | 841 "tools/using_skia_and_harfbuzz.cpp", |
| 842 ] | 842 ] |
| 843 deps = [ | 843 deps = [ |
| 844 ":skia", | 844 ":skia", |
| 845 ] | 845 ] |
| 846 testonly = true | 846 testonly = true |
| 847 } | 847 } |
| 848 } | 848 } |
| OLD | NEW |