| Index: third_party/libwebp/BUILD.gn
|
| diff --git a/third_party/libwebp/BUILD.gn b/third_party/libwebp/BUILD.gn
|
| index cf7dccda55fa5e9ce8111360b3e11e81e1d9fc28..48e548ed698d3533685b7e8e8e50a144271f9e6b 100644
|
| --- a/third_party/libwebp/BUILD.gn
|
| +++ b/third_party/libwebp/BUILD.gn
|
| @@ -20,6 +20,10 @@ source_set("libwebp_dec") {
|
| "dec/vp8l.c",
|
| "dec/webp.c",
|
| ]
|
| +
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [ "//build/config/compiler:no_chromium_code" ]
|
| +
|
| deps = [
|
| ":libwebp_dsp",
|
| # TODO(GYP):
|
| @@ -53,6 +57,9 @@ source_set("libwebp_dsp") {
|
| "dsp/upsampling_sse2.c",
|
| "dsp/yuv.c",
|
| ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [ "//build/config/compiler:no_chromium_code" ]
|
| +
|
| all_dependent_configs = [
|
| ":libwebp_config"
|
| ]
|
| @@ -120,6 +127,9 @@ source_set("libwebp_enc") {
|
| "enc/vp8l.c",
|
| "enc/webpenc.c",
|
| ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [ "//build/config/compiler:no_chromium_code" ]
|
| +
|
| all_dependent_configs = [
|
| ":libwebp_config"
|
| ]
|
| @@ -141,6 +151,9 @@ source_set("libwebp_utils") {
|
| "utils/thread.c",
|
| "utils/utils.c",
|
| ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [ "//build/config/compiler:no_chromium_code" ]
|
| +
|
| all_dependent_configs = [
|
| ":libwebp_config"
|
| ]
|
|
|