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

Unified Diff: skia/BUILD.gn

Issue 2930513004: [WIP] Move ImageDecoders to SkCodec
Patch Set: Adding check for decoder creation Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/exported/WebImageDecoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 9ddc75e3e9a7b38a5205ae39cf2cf4086ceba39e..ad3a9d6e3b9e6337bde8f149d6bdeb0ff271ac23 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -29,6 +29,7 @@ config("skia_config") {
"config",
"ext",
"//third_party/skia/include/c",
+ "//third_party/skia/include/codec",
"//third_party/skia/include/config",
"//third_party/skia/include/core",
"//third_party/skia/include/effects",
@@ -114,6 +115,7 @@ config("skia_library_config") {
"//third_party/skia/src/sfnt",
"//third_party/skia/src/utils",
"//third_party/skia/src/lazy",
+ "//third_party/skia/third_party/gif",
]
if (is_mac || is_ios) {
include_dirs += [ "//third_party/skia/include/utils/mac" ]
@@ -272,6 +274,24 @@ component("skia") {
sources += skia_utils_sources
sources += skia_xps_sources
sources += [
+ "//third_party/skia/src/codec/SkBmpCodec.cpp",
+ "//third_party/skia/src/codec/SkBmpMaskCodec.cpp",
+ "//third_party/skia/src/codec/SkBmpRLECodec.cpp",
+ "//third_party/skia/src/codec/SkBmpStandardCodec.cpp",
+ "//third_party/skia/src/codec/SkCodec.cpp",
+ "//third_party/skia/src/codec/SkGifCodec.cpp",
+ "//third_party/skia/src/codec/SkIcoCodec.cpp",
+ "//third_party/skia/src/codec/SkJpegCodec.cpp",
+ "//third_party/skia/src/codec/SkJpegDecoderMgr.cpp",
+ "//third_party/skia/src/codec/SkJpegUtility.cpp",
+ "//third_party/skia/src/codec/SkMaskSwizzler.cpp",
+ "//third_party/skia/src/codec/SkMasks.cpp",
+ "//third_party/skia/src/codec/SkPngCodec.cpp",
+ "//third_party/skia/src/codec/SkSampler.cpp",
+ "//third_party/skia/src/codec/SkStreamBuffer.cpp",
+ "//third_party/skia/src/codec/SkSwizzler.cpp",
+ "//third_party/skia/src/codec/SkWbmpCodec.cpp",
+ "//third_party/skia/src/codec/SkWebpCodec.cpp",
"//third_party/skia/src/fonts/SkFontMgr_indirect.cpp",
"//third_party/skia/src/fonts/SkRemotableFontMgr.cpp",
"//third_party/skia/src/images/SkImageEncoder.cpp",
@@ -284,6 +304,7 @@ component("skia") {
"//third_party/skia/src/ports/SkOSFile_stdio.cpp",
"//third_party/skia/src/sfnt/SkOTTable_name.cpp",
"//third_party/skia/src/sfnt/SkOTUtils.cpp",
+ "//third_party/skia/third_party/gif/SkGifImageReader.cpp",
]
# This and skia_opts are really the same conceptual target so share headers.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/exported/WebImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698