Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: BUILD.gn

Issue 2347843003: GN: enable Vulkan on Android when API >= 24. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | infra/bots/recipe_modules/flavor/gn_android_flavor.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | infra/bots/recipe_modules/flavor/gn_android_flavor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698