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: Fixing the alpha, not changing frame between init and decode. Created 3 years, 11 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 db9b5423096bd3791f073233590bde4e2626072d..892d7da196d616050b9914636e7fd7cd6517d420 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",
@@ -95,6 +96,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/image",
"//third_party/skia/src/opts",
@@ -103,6 +105,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" ]
@@ -235,6 +238,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/SkFontConfigInterface.cpp",
@@ -260,6 +275,7 @@ component("skia") {
"//third_party/skia/src/ports/SkTypeface_win_dw.cpp",
"//third_party/skia/src/sfnt/SkOTTable_name.cpp",
"//third_party/skia/src/sfnt/SkOTUtils.cpp",
+ "//third_party/skia/third_party/gif/SkGifImageReader.cpp",
]
if (is_mac) {

Powered by Google App Engine
This is Rietveld 408576698