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

Side by Side Diff: webrtc/modules/audio_conference_mixer/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, 7 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/audio_coding/BUILD.gn ('k') | webrtc/modules/audio_device/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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "../../audio/utility:audio_frame_operations", 43 "../../audio/utility:audio_frame_operations",
44 "../../base:rtc_base_approved", 44 "../../base:rtc_base_approved",
45 "../../system_wrappers", 45 "../../system_wrappers",
46 "../audio_processing", 46 "../audio_processing",
47 ] 47 ]
48 } 48 }
49 49
50 if (rtc_include_tests) { 50 if (rtc_include_tests) {
51 rtc_source_set("audio_conference_mixer_unittests") { 51 rtc_source_set("audio_conference_mixer_unittests") {
52 testonly = true 52 testonly = true
53
54 # Skip restricting visibility on mobile platforms since the tests on those
55 # gets additional generated targets which would require many lines here to
56 # cover (which would be confusing to read and hard to maintain).
57 if (!is_android && !is_ios) {
58 visibility = [ "//webrtc/modules:modules_unittests" ]
59 }
53 sources = [ 60 sources = [
54 "test/audio_conference_mixer_unittest.cc", 61 "test/audio_conference_mixer_unittest.cc",
55 ] 62 ]
56 deps = [ 63 deps = [
57 ":audio_conference_mixer", 64 ":audio_conference_mixer",
58 "../../test:test_support", 65 "../../test:test_support",
59 "//testing/gmock", 66 "//testing/gmock",
60 ] 67 ]
61 if (is_win) { 68 if (is_win) {
62 cflags = [ 69 cflags = [
63 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 70 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
64 "/wd4373", # virtual function override. 71 "/wd4373", # virtual function override.
65 ] 72 ]
66 } 73 }
67 if (!build_with_chromium && is_clang) { 74 if (!build_with_chromium && is_clang) {
68 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 75 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
69 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 76 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
70 } 77 }
71 } 78 }
72 } 79 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/modules/audio_device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698