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

Side by Side Diff: skia/BUILD.gn

Issue 2565323003: Move gif image decoder to SkCodec (Closed)
Patch Set: Updating Skia build files Created 4 years 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 | third_party/WebKit/Source/platform/BUILD.gn » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//printing/features/features.gni") 8 import("//printing/features/features.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//third_party/skia/gn/shared_sources.gni") 10 import("//third_party/skia/gn/shared_sources.gni")
(...skipping 11 matching lines...) Expand all
22 declare_args() { 22 declare_args() {
23 skia_whitelist_serialized_typefaces = false 23 skia_whitelist_serialized_typefaces = false
24 } 24 }
25 25
26 # External-facing config for dependent code. 26 # External-facing config for dependent code.
27 config("skia_config") { 27 config("skia_config") {
28 include_dirs = [ 28 include_dirs = [
29 "config", 29 "config",
30 "ext", 30 "ext",
31 "//third_party/skia/include/c", 31 "//third_party/skia/include/c",
32 "//third_party/skia/include/codec",
32 "//third_party/skia/include/config", 33 "//third_party/skia/include/config",
33 "//third_party/skia/include/core", 34 "//third_party/skia/include/core",
34 "//third_party/skia/include/effects", 35 "//third_party/skia/include/effects",
35 "//third_party/skia/include/images", 36 "//third_party/skia/include/images",
36 "//third_party/skia/include/lazy", 37 "//third_party/skia/include/lazy",
37 "//third_party/skia/include/pathops", 38 "//third_party/skia/include/pathops",
38 "//third_party/skia/include/pdf", 39 "//third_party/skia/include/pdf",
39 "//third_party/skia/include/pipe", 40 "//third_party/skia/include/pipe",
40 "//third_party/skia/include/ports", 41 "//third_party/skia/include/ports",
41 "//third_party/skia/include/utils", 42 "//third_party/skia/include/utils",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 } 86 }
86 87
87 # Internal-facing config for Skia library code. 88 # Internal-facing config for Skia library code.
88 config("skia_library_config") { 89 config("skia_library_config") {
89 # These include directories are only included for Skia code and are not 90 # These include directories are only included for Skia code and are not
90 # exported to dependents. It's not clear if this is on purpose, but this 91 # exported to dependents. It's not clear if this is on purpose, but this
91 # matches the GYP build. 92 # matches the GYP build.
92 include_dirs = [ 93 include_dirs = [
93 "//third_party/skia/include/private", 94 "//third_party/skia/include/private",
94 "//third_party/skia/include/client/android", 95 "//third_party/skia/include/client/android",
96 "//third_party/skia/src/codec",
95 "//third_party/skia/src/core", 97 "//third_party/skia/src/core",
96 "//third_party/skia/src/image", 98 "//third_party/skia/src/image",
97 "//third_party/skia/src/opts", 99 "//third_party/skia/src/opts",
98 "//third_party/skia/src/pdf", 100 "//third_party/skia/src/pdf",
99 "//third_party/skia/src/ports", 101 "//third_party/skia/src/ports",
100 "//third_party/skia/src/sfnt", 102 "//third_party/skia/src/sfnt",
101 "//third_party/skia/src/utils", 103 "//third_party/skia/src/utils",
102 "//third_party/skia/src/lazy", 104 "//third_party/skia/src/lazy",
103 ] 105 ]
104 if (is_mac || is_ios) { 106 if (is_mac || is_ios) {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 if (!is_ios) { 222 if (!is_ios) {
221 sources += [ "ext/platform_canvas.cc" ] 223 sources += [ "ext/platform_canvas.cc" ]
222 } 224 }
223 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) { 225 if (!is_ios && (current_cpu == "x86" || current_cpu == "x64")) {
224 sources += [ "ext/convolver_SSE2.cc" ] 226 sources += [ "ext/convolver_SSE2.cc" ]
225 } else if (current_cpu == "mipsel" && mips_dsp_rev >= 2) { 227 } else if (current_cpu == "mipsel" && mips_dsp_rev >= 2) {
226 sources += [ "ext/convolver_mips_dspr2.cc" ] 228 sources += [ "ext/convolver_mips_dspr2.cc" ]
227 } 229 }
228 230
229 # The skia gypi values are relative to the skia_dir, so we need to rebase. 231 # The skia gypi values are relative to the skia_dir, so we need to rebase.
232 sources += skia_codec_sources
cblume 2016/12/19 08:04:03 I had put the required .cpp files inside a Skia bu
230 sources += skia_core_sources 233 sources += skia_core_sources
231 sources += skia_effects_sources 234 sources += skia_effects_sources
232 sources += skia_utils_sources 235 sources += skia_utils_sources
233 sources += [ 236 sources += [
234 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp", 237 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp",
235 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp", 238 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp",
236 "//third_party/skia/src/ports/SkFontConfigInterface.cpp", 239 "//third_party/skia/src/ports/SkFontConfigInterface.cpp",
237 "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp", 240 "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp",
238 "//third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp", 241 "//third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp",
239 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", 242 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 721
719 deps = [ 722 deps = [
720 ":skia", 723 ":skia",
721 "//base", 724 "//base",
722 "//base/test:test_support", 725 "//base/test:test_support",
723 "//build/config/sanitizers:deps", 726 "//build/config/sanitizers:deps",
724 "//build/win:default_exe_manifest", 727 "//build/win:default_exe_manifest",
725 ] 728 ]
726 } 729 }
727 } 730 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698