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

Unified Diff: third_party/libwebp/BUILD.gn

Issue 2152033002: Convert third_party source sets to static libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 4 years, 5 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 | « third_party/libwebm/BUILD.gn ('k') | third_party/mesa/BUILD.gn » ('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 859b136c5978bec9136c98574e8fabde1f5aa029..f43858fc7788eab54b803314ca95cae83e2dc677 100644
--- a/third_party/libwebp/BUILD.gn
+++ b/third_party/libwebp/BUILD.gn
@@ -16,7 +16,7 @@ use_dsp_neon =
current_cpu == "arm64" || (current_cpu == "arm" && arm_version >= 7 &&
(arm_use_neon || arm_optionally_use_neon))
-source_set("libwebp_dec") {
+static_library("libwebp_dec") {
sources = [
"dec/alpha.c",
"dec/buffer.c",
@@ -47,7 +47,7 @@ source_set("libwebp_dec") {
}
}
-source_set("libwebp_demux") {
+static_library("libwebp_demux") {
sources = [
"demux/demux.c",
]
@@ -59,7 +59,7 @@ source_set("libwebp_demux") {
]
}
-source_set("libwebp_dsp") {
+static_library("libwebp_dsp") {
sources = [
"dsp/alpha_processing.c",
"dsp/alpha_processing_mips_dsp_r2.c",
@@ -120,7 +120,7 @@ source_set("libwebp_dsp") {
}
}
-source_set("libwebp_dsp_sse41") {
+static_library("libwebp_dsp_sse41") {
sources = [
"dsp/alpha_processing_sse41.c",
"dsp/dec_sse41.c",
@@ -143,7 +143,7 @@ source_set("libwebp_dsp_sse41") {
}
}
-source_set("libwebp_dsp_sse2") {
+static_library("libwebp_dsp_sse2") {
sources = [
"dsp/alpha_processing_sse2.c",
"dsp/argb_sse2.c",
@@ -174,7 +174,7 @@ source_set("libwebp_dsp_sse2") {
}
if (use_dsp_neon) {
- source_set("libwebp_dsp_neon") {
+ static_library("libwebp_dsp_neon") {
sources = [
"dsp/dec_neon.c",
"dsp/enc_neon.c",
@@ -207,7 +207,7 @@ if (use_dsp_neon) {
}
} # use_dsp_neon
-source_set("libwebp_enc") {
+static_library("libwebp_enc") {
sources = [
"enc/alpha.c",
"enc/analysis.c",
@@ -253,7 +253,7 @@ config("libwebp_utils_warnings") {
}
}
-source_set("libwebp_utils") {
+static_library("libwebp_utils") {
sources = [
"utils/bit_reader.c",
"utils/bit_writer.c",
« no previous file with comments | « third_party/libwebm/BUILD.gn ('k') | third_party/mesa/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698