Chromium Code Reviews| Index: webrtc/modules/video_processing/BUILD.gn |
| diff --git a/webrtc/modules/video_processing/BUILD.gn b/webrtc/modules/video_processing/BUILD.gn |
| index 43df0802adce5d78c8c5ef2e5c691e04d3975690..edeac947c7406db448abf2991c5fac9e6dfb2f6e 100644 |
| --- a/webrtc/modules/video_processing/BUILD.gn |
| +++ b/webrtc/modules/video_processing/BUILD.gn |
| @@ -6,6 +6,7 @@ |
| # in the file PATENTS. All contributing project authors may |
| # be found in the AUTHORS file in the root of the source tree. |
| +import("//build/config/arm.gni") |
| import("../../build/webrtc.gni") |
| build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64" |
| @@ -26,8 +27,16 @@ source_set("video_processing") { |
| "include/video_processing_defines.h", |
| "spatial_resampler.cc", |
| "spatial_resampler.h", |
| + "util/denoiser_filter.cc", |
| + "util/denoiser_filter.h", |
| + "util/denoiser_filter_c.cc", |
| + "util/denoiser_filter_c.h", |
| + "util/skin_detection.cc", |
| + "util/skin_detection.h", |
| "video_decimator.cc", |
| "video_decimator.h", |
| + "video_denoiser.cc", |
| + "video_denoiser.h", |
| "video_processing_impl.cc", |
| "video_processing_impl.h", |
| ] |
| @@ -41,6 +50,9 @@ source_set("video_processing") { |
| if (build_video_processing_sse2) { |
| deps += [ ":video_processing_sse2" ] |
| } |
| + if (rtc_build_with_neon) { |
| + deps += [ ":video_processing_neon" ] |
| + } |
| configs += [ "../..:common_config" ] |
| public_configs = [ "../..:common_inherited_config" ] |
| @@ -56,6 +68,8 @@ if (build_video_processing_sse2) { |
| source_set("video_processing_sse2") { |
| sources = [ |
| "content_analysis_sse2.cc", |
| + "util/denoiser_filter_sse2.cc", |
| + "util/denoiser_filter_sse2.h", |
| ] |
| configs += [ "../..:common_config" ] |
| @@ -72,3 +86,16 @@ if (build_video_processing_sse2) { |
| } |
| } |
| } |
| + |
| +if (rtc_build_with_neon) { |
| + source_set("video_processing_neon") { |
| + sources = [ |
| + "util/denoiser_filter_neon.cc", |
| + "util/denoiser_filter_neon.h", |
| + ] |
| + if (current_cpu != "arm64") { |
| + configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
| + cflags = [ "-mfpu=neon" ] |
| + } |
| + } |
|
kjellander_webrtc
2015/11/26 16:28:36
Our FYI bots used for rolling are failing the Andr
|
| +} |