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

Unified Diff: third_party/libwebp/BUILD.gn

Issue 2865363002: Compile Skia image encoders (Closed)
Patch Set: Fix ios and win Created 3 years, 7 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 | « skia/ext/skia_encode_image.cc ('k') | third_party/libwebp/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libwebp/BUILD.gn
diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn
index 2b8ef9d5440f3d0d7dc71c53c4b481e702e257ee..51b17875c8c7cb7420035e34ae213074c2c5c211 100644
--- a/third_party/libwebp/BUILD.gn
+++ b/third_party/libwebp/BUILD.gn
@@ -78,6 +78,22 @@ static_library("libwebp_demux") {
]
}
+static_library("libwebp_mux") {
+ sources = [
+ "mux/anim_encode.c",
+ "mux/muxedit.c",
+ "mux/muxinternal.c",
+ "mux/muxread.c",
+ ]
+ all_dependent_configs = [ ":libwebp_config" ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ deps = [
+ ":libwebp_utils",
+ ":libwebp_webp",
+ ]
+}
+
static_library("libwebp_dsp") {
sources = [
"dsp/alpha_processing.c",
@@ -343,6 +359,7 @@ group("libwebp") {
":libwebp_demux",
":libwebp_dsp",
":libwebp_enc",
+ ":libwebp_mux",
":libwebp_utils",
]
public_configs = [ ":libwebp_config" ]
« no previous file with comments | « skia/ext/skia_encode_image.cc ('k') | third_party/libwebp/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698