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

Unified Diff: skia/BUILD.gn

Issue 2565323003: Move gif image decoder to SkCodec (Closed)
Patch Set: Fix build, mixImagesGif test, and verifyRepetitionCount test Created 3 years, 9 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
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 46b05ee966dc4e50c4541e68b9d3bac7cb90ecd3..3e0053ea090186b1de5da4ca9a91b6f3a06dec2f 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",
@@ -92,6 +93,7 @@ config("skia_library_config") {
include_dirs = [
"//third_party/skia/include/private",
"//third_party/skia/include/client/android",
+ "//third_party/skia/src/codec",
"//third_party/skia/src/core",
"//third_party/skia/src/effects/gradients",
"//third_party/skia/src/image",
@@ -101,6 +103,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" ]
@@ -258,6 +261,18 @@ 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/SkMaskSwizzler.cpp",
+ "//third_party/skia/src/codec/SkMasks.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/fonts/SkFontMgr_indirect.cpp",
"//third_party/skia/src/fonts/SkRemotableFontMgr.cpp",
"//third_party/skia/src/ports/SkGlobalInitialization_default.cpp",
@@ -265,6 +280,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.

Powered by Google App Engine
This is Rietveld 408576698