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

Side by Side Diff: BUILD.gn

Issue 2269143007: BUILD.gn: Fix fiddle raster. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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 | no next file » | 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 declare_args() { 6 declare_args() {
7 skia_enable_tools = !is_fuchsia && !is_component_build 7 skia_enable_tools = !is_fuchsia && !is_component_build
8 8
9 skia_use_expat = true 9 skia_use_expat = true
10 skia_use_giflib = !is_fuchsia 10 skia_use_giflib = !is_fuchsia
(...skipping 19 matching lines...) Expand all
30 "include/svg", 30 "include/svg",
31 "include/utils", 31 "include/utils",
32 "include/utils/mac", 32 "include/utils/mac",
33 "include/xml", 33 "include/xml",
34 ] 34 ]
35 35
36 # Skia public API, generally provided by :skia. 36 # Skia public API, generally provided by :skia.
37 config("skia_public") { 37 config("skia_public") {
38 include_dirs = skia_public_includes 38 include_dirs = skia_public_includes
39 defines = [ "SKIA_DLL" ] 39 defines = [ "SKIA_DLL" ]
40 if (is_linux) {
41 defines += [ "SK_SAMPLES_FOR_X" ]
42 }
40 } 43 }
41 44
42 # Skia internal APIs, used by Skia itself and a few test tools. 45 # Skia internal APIs, used by Skia itself and a few test tools.
43 config("skia_private") { 46 config("skia_private") {
44 visibility = [ ":*" ] 47 visibility = [ ":*" ]
45 48
46 include_dirs = [ 49 include_dirs = [
47 "include/private", 50 "include/private",
48 "src/c", 51 "src/c",
49 "src/codec", 52 "src/codec",
(...skipping 11 matching lines...) Expand all
61 "src/pdf", 64 "src/pdf",
62 "src/ports", 65 "src/ports",
63 "src/sfnt", 66 "src/sfnt",
64 "src/utils", 67 "src/utils",
65 "src/utils/win", 68 "src/utils/win",
66 "third_party/etc1", 69 "third_party/etc1",
67 "third_party/ktx", 70 "third_party/ktx",
68 ] 71 ]
69 72
70 defines = [ "SK_GAMMA_APPLY_TO_A8" ] 73 defines = [ "SK_GAMMA_APPLY_TO_A8" ]
71 if (is_linux) {
72 defines += [ "SK_SAMPLES_FOR_X" ]
73 }
74 } 74 }
75 75
76 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs. 76 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs.
77 config("skia_library") { 77 config("skia_library") {
78 visibility = [ ":*" ] 78 visibility = [ ":*" ]
79 defines = [ "SKIA_IMPLEMENTATION=1" ] 79 defines = [ "SKIA_IMPLEMENTATION=1" ]
80 } 80 }
81 81
82 skia_library_configs = [ 82 skia_library_configs = [
83 ":skia_public", 83 ":skia_public",
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 "tools/SkShaper_harfbuzz.cpp", 752 "tools/SkShaper_harfbuzz.cpp",
753 "tools/using_skia_and_harfbuzz.cpp", 753 "tools/using_skia_and_harfbuzz.cpp",
754 ] 754 ]
755 deps = [ 755 deps = [
756 ":skia", 756 ":skia",
757 "//third_party/harfbuzz", 757 "//third_party/harfbuzz",
758 ] 758 ]
759 testonly = true 759 testonly = true
760 } 760 }
761 } 761 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698