OLD | NEW |
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "../modules/rtp_rtcp", | 64 "../modules/rtp_rtcp", |
65 "../modules/utility", | 65 "../modules/utility", |
66 "../system_wrappers", | 66 "../system_wrappers", |
67 "../video", | 67 "../video", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 if (rtc_include_tests) { | 71 if (rtc_include_tests) { |
72 rtc_source_set("call_tests") { | 72 rtc_source_set("call_tests") { |
73 testonly = true | 73 testonly = true |
| 74 if (!is_android && !is_ios) { # Generated targets makes this check break. |
| 75 visibility = [ "//webrtc:video_engine_tests" ] |
| 76 } |
74 sources = [ | 77 sources = [ |
75 "bitrate_allocator_unittest.cc", | 78 "bitrate_allocator_unittest.cc", |
76 "bitrate_estimator_tests.cc", | 79 "bitrate_estimator_tests.cc", |
77 "call_unittest.cc", | 80 "call_unittest.cc", |
78 "flexfec_receive_stream_unittest.cc", | 81 "flexfec_receive_stream_unittest.cc", |
79 ] | 82 ] |
80 deps = [ | 83 deps = [ |
81 ":call", | 84 ":call", |
82 "../base:rtc_base_approved", | 85 "../base:rtc_base_approved", |
83 "../logging:rtc_event_log_api", | 86 "../logging:rtc_event_log_api", |
(...skipping 12 matching lines...) Expand all Loading... |
96 "//testing/gtest", | 99 "//testing/gtest", |
97 ] | 100 ] |
98 if (!build_with_chromium && is_clang) { | 101 if (!build_with_chromium && is_clang) { |
99 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 102 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
100 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 103 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
101 } | 104 } |
102 } | 105 } |
103 | 106 |
104 rtc_source_set("call_perf_tests") { | 107 rtc_source_set("call_perf_tests") { |
105 testonly = true | 108 testonly = true |
| 109 if (!is_android && !is_ios) { # Generated targets makes this check break. |
| 110 visibility = [ "//webrtc:webrtc_perf_tests" ] |
| 111 } |
106 sources = [ | 112 sources = [ |
107 "call_perf_tests.cc", | 113 "call_perf_tests.cc", |
108 "rampup_tests.cc", | 114 "rampup_tests.cc", |
109 "rampup_tests.h", | 115 "rampup_tests.h", |
110 ] | 116 ] |
111 deps = [ | 117 deps = [ |
112 ":call_interfaces", | 118 ":call_interfaces", |
113 "..:webrtc_common", | 119 "..:webrtc_common", |
114 "../base:rtc_base_approved", | 120 "../base:rtc_base_approved", |
115 "../logging:rtc_event_log_api", | 121 "../logging:rtc_event_log_api", |
(...skipping 11 matching lines...) Expand all Loading... |
127 "//testing/gtest", | 133 "//testing/gtest", |
128 "//webrtc/test:field_trial", | 134 "//webrtc/test:field_trial", |
129 "//webrtc/test:test_common", | 135 "//webrtc/test:test_common", |
130 ] | 136 ] |
131 if (!build_with_chromium && is_clang) { | 137 if (!build_with_chromium && is_clang) { |
132 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 138 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
133 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
134 } | 140 } |
135 } | 141 } |
136 } | 142 } |
OLD | NEW |