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

Unified Diff: skia/BUILD.gn

Issue 2565323003: Move gif image decoder to SkCodec (Closed)
Patch Set: Add the ability to reuse previous buffers rather than copy them. 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 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 be2084ee18eb358911be02f79577755c8b53d495..7fd282e44ba16e70fb40196f7a3c0b3a5a4542ce 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/image",
"//third_party/skia/src/opts",
@@ -100,6 +102,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" ]
@@ -231,6 +234,18 @@ component("skia") {
sources += skia_effects_sources
sources += skia_utils_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",
@@ -261,6 +276,7 @@ component("skia") {
"//third_party/skia/src/xps/SkDocument_XPS.cpp",
"//third_party/skia/src/xps/SkDocument_XPS_None.cpp",
"//third_party/skia/src/xps/SkXPSDevice.cpp",
+ "//third_party/skia/third_party/gif/SkGifImageReader.cpp",
]
if (is_mac) {

Powered by Google App Engine
This is Rietveld 408576698