| OLD | NEW |
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 import("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 "util/denoiser_filter_neon.cc", | 82 "util/denoiser_filter_neon.cc", |
| 83 "util/denoiser_filter_neon.h", | 83 "util/denoiser_filter_neon.h", |
| 84 ] | 84 ] |
| 85 | 85 |
| 86 if (current_cpu != "arm64") { | 86 if (current_cpu != "arm64") { |
| 87 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] | 87 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] |
| 88 cflags = [ "-mfpu=neon" ] | 88 cflags = [ "-mfpu=neon" ] |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 } | 91 } |
| 92 |
| 93 if (rtc_include_tests) { |
| 94 rtc_source_set("video_processing_unittests") { |
| 95 testonly = true |
| 96 sources = [ |
| 97 "test/denoiser_test.cc", |
| 98 ] |
| 99 deps = [ |
| 100 ":video_processing", |
| 101 "../../common_video:common_video", |
| 102 "../../test:test_support", |
| 103 "../../test:video_test_common", |
| 104 ] |
| 105 if (!build_with_chromium && is_clang) { |
| 106 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 108 } |
| 109 } |
| 110 } |
| OLD | NEW |