| 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("../../webrtc.gni") | 10 import("../../webrtc.gni") |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 } | 100 } |
| 101 | 101 |
| 102 if (rtc_include_tests) { | 102 if (rtc_include_tests) { |
| 103 rtc_source_set("video_processing_unittests") { | 103 rtc_source_set("video_processing_unittests") { |
| 104 testonly = true | 104 testonly = true |
| 105 | 105 |
| 106 # Skip restricting visibility on mobile platforms since the tests on those | 106 # Skip restricting visibility on mobile platforms since the tests on those |
| 107 # gets additional generated targets which would require many lines here to | 107 # gets additional generated targets which would require many lines here to |
| 108 # cover (which would be confusing to read and hard to maintain). | 108 # cover (which would be confusing to read and hard to maintain). |
| 109 if (!is_android && !is_ios) { | 109 if (!is_android && !is_ios) { |
| 110 visibility = [ "//webrtc/modules:modules_unittests" ] | 110 visibility = [ "..:modules_unittests" ] |
| 111 } | 111 } |
| 112 sources = [ | 112 sources = [ |
| 113 "test/denoiser_test.cc", | 113 "test/denoiser_test.cc", |
| 114 ] | 114 ] |
| 115 deps = [ | 115 deps = [ |
| 116 ":video_processing", | 116 ":video_processing", |
| 117 "../../common_video:common_video", | 117 "../../common_video:common_video", |
| 118 "../../test:test_support", | 118 "../../test:test_support", |
| 119 "../../test:video_test_common", | 119 "../../test:video_test_common", |
| 120 ] | 120 ] |
| 121 if (!build_with_chromium && is_clang) { | 121 if (!build_with_chromium && is_clang) { |
| 122 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 122 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 123 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 123 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 124 } | 124 } |
| 125 } | 125 } |
| 126 } | 126 } |
| OLD | NEW |