Commit cfbcd38a authored by James Zern's avatar James Zern Committed by Commit Bot

libwebp: clear a couple gn check warnings

Bug: 800762
Change-Id: Ided3819577c81b78bef59bea60718a42812075be
Reviewed-on: https://chromium-review.googlesource.com/1056356Reviewed-by: default avatarUrvang Joshi <urvang@chromium.org>
Commit-Queue: James Zern <jzern@google.com>
Cr-Commit-Position: refs/heads/master@{#558440}
parent 2684ea49
......@@ -22,9 +22,8 @@ config("libwebp_config_internal") {
}
}
set_opt_level =
!is_debug && (is_posix || is_fuchsia) &&
(current_cpu == "arm" || current_cpu == "arm64")
set_opt_level = !is_debug && (is_posix || is_fuchsia) &&
(current_cpu == "arm" || current_cpu == "arm64")
# webp's dsp code can be built for all configurations. Skipping it when both
# arm_use_neon and arm_optionally_use_neon are false will result in link errors
......@@ -111,6 +110,7 @@ static_library("libwebp_mux") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":libwebp_dec",
":libwebp_utils",
":libwebp_webp",
]
......@@ -374,6 +374,10 @@ static_library("libwebp_utils") {
all_dependent_configs = [ ":libwebp_config" ]
public_configs = [ ":libwebp_utils_warnings" ]
deps = [
":libwebp_webp",
]
}
group("libwebp") {
......@@ -408,6 +412,7 @@ if (current_toolchain == host_toolchain) {
}
deps = [
":imageio_util",
":libwebp_webp",
]
configs += [ ":libwebp_config" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment