Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: webrtc/modules/video_processing/BUILD.gn

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Move out fec_test_helper from rtc_include_tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/video_coding/BUILD.gn ('k') | webrtc/p2p/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 if (current_cpu != "arm64") { 91 if (current_cpu != "arm64") {
92 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] 92 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
93 cflags = [ "-mfpu=neon" ] 93 cflags = [ "-mfpu=neon" ]
94 } 94 }
95 } 95 }
96 } 96 }
97 97
98 if (rtc_include_tests) { 98 if (rtc_include_tests) {
99 rtc_source_set("video_processing_unittests") { 99 rtc_source_set("video_processing_unittests") {
100 testonly = true 100 testonly = true
101
102 # Skip restricting visibility on mobile platforms since the tests on those
103 # gets additional generated targets which would require many lines here to
104 # cover (which would be confusing to read and hard to maintain).
105 if (!is_android && !is_ios) {
106 visibility = [ "//webrtc/modules:modules_unittests" ]
107 }
101 sources = [ 108 sources = [
102 "test/denoiser_test.cc", 109 "test/denoiser_test.cc",
103 ] 110 ]
104 deps = [ 111 deps = [
105 ":video_processing", 112 ":video_processing",
106 "../../common_video:common_video", 113 "../../common_video:common_video",
107 "../../test:test_support", 114 "../../test:test_support",
108 "../../test:video_test_common", 115 "../../test:video_test_common",
109 ] 116 ]
110 if (!build_with_chromium && is_clang) { 117 if (!build_with_chromium && is_clang) {
111 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 118 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
112 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 119 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
113 } 120 }
114 } 121 }
115 } 122 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/BUILD.gn ('k') | webrtc/p2p/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698