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

Side by Side Diff: webrtc/p2p/BUILD.gn

Issue 2820263004: Relanding: Remove rtc_p2p_unittests from ortc_unittests and rtc_media_unittests (Closed)
Patch Set: Also fix rtc_media_unittests 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/ortc/BUILD.gn ('k') | no next file » | 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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 "quic/quictransportchannel.cc", 135 "quic/quictransportchannel.cc",
136 "quic/quictransportchannel.h", 136 "quic/quictransportchannel.h",
137 "quic/reliablequicstream.cc", 137 "quic/reliablequicstream.cc",
138 "quic/reliablequicstream.h", 138 "quic/reliablequicstream.h",
139 ] 139 ]
140 public_deps += [ "//third_party/libquic" ] 140 public_deps += [ "//third_party/libquic" ]
141 } 141 }
142 } 142 }
143 143
144 if (rtc_include_tests) { 144 if (rtc_include_tests) {
145 rtc_source_set("p2p_test_utils") {
146 testonly = true
147 sources = [
148 "base/fakedtlstransport.h",
149 "base/fakeicetransport.h",
150 "base/fakepackettransport.h",
151 "base/fakeportallocator.h",
152 "base/faketransportcontroller.h",
153 "base/mockicetransport.h",
154 "base/testrelayserver.h",
155 "base/teststunserver.h",
156 "base/testturnserver.h",
157 ]
158
159 deps = [
160 ":rtc_p2p",
161 "//testing/gmock",
162 ]
163
164 if (!build_with_chromium && is_clang) {
165 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
166 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
167 }
168 }
169
145 rtc_source_set("rtc_p2p_unittests") { 170 rtc_source_set("rtc_p2p_unittests") {
146 testonly = true 171 testonly = true
147 sources = [ 172 sources = [
148 "base/asyncstuntcpsocket_unittest.cc", 173 "base/asyncstuntcpsocket_unittest.cc",
149 "base/dtlstransportchannel_unittest.cc", 174 "base/dtlstransportchannel_unittest.cc",
150 "base/fakedtlstransport.h",
151 "base/fakeicetransport.h",
152 "base/fakepackettransport.h",
153 "base/fakeportallocator.h",
154 "base/faketransportcontroller.h",
155 "base/jseptransport_unittest.cc", 175 "base/jseptransport_unittest.cc",
156 "base/mockicetransport.h",
157 "base/p2ptransportchannel_unittest.cc", 176 "base/p2ptransportchannel_unittest.cc",
158 "base/packetlossestimator_unittest.cc", 177 "base/packetlossestimator_unittest.cc",
159 "base/port_unittest.cc", 178 "base/port_unittest.cc",
160 "base/portallocator_unittest.cc", 179 "base/portallocator_unittest.cc",
161 "base/pseudotcp_unittest.cc", 180 "base/pseudotcp_unittest.cc",
162 "base/relayport_unittest.cc", 181 "base/relayport_unittest.cc",
163 "base/relayserver_unittest.cc", 182 "base/relayserver_unittest.cc",
164 "base/stun_unittest.cc", 183 "base/stun_unittest.cc",
165 "base/stunport_unittest.cc", 184 "base/stunport_unittest.cc",
166 "base/stunrequest_unittest.cc", 185 "base/stunrequest_unittest.cc",
167 "base/stunserver_unittest.cc", 186 "base/stunserver_unittest.cc",
168 "base/tcpport_unittest.cc", 187 "base/tcpport_unittest.cc",
169 "base/testrelayserver.h",
170 "base/teststunserver.h",
171 "base/testturnserver.h",
172 "base/transportcontroller_unittest.cc", 188 "base/transportcontroller_unittest.cc",
173 "base/transportdescriptionfactory_unittest.cc", 189 "base/transportdescriptionfactory_unittest.cc",
174 "base/turnport_unittest.cc", 190 "base/turnport_unittest.cc",
175 "base/turnserver_unittest.cc", 191 "base/turnserver_unittest.cc",
176 "base/udptransport_unittest.cc", 192 "base/udptransport_unittest.cc",
177 "client/basicportallocator_unittest.cc", 193 "client/basicportallocator_unittest.cc",
178 ] 194 ]
179 if (rtc_use_quic) { 195 if (rtc_use_quic) {
180 sources += [ 196 sources += [
181 "quic/quicconnectionhelper_unittest.cc", 197 "quic/quicconnectionhelper_unittest.cc",
182 "quic/quicsession_unittest.cc", 198 "quic/quicsession_unittest.cc",
183 "quic/quictransport_unittest.cc", 199 "quic/quictransport_unittest.cc",
184 "quic/quictransportchannel_unittest.cc", 200 "quic/quictransportchannel_unittest.cc",
185 "quic/reliablequicstream_unittest.cc", 201 "quic/reliablequicstream_unittest.cc",
186 ] 202 ]
187 } 203 }
188 deps = [ 204 deps = [
205 ":p2p_test_utils",
189 ":rtc_p2p", 206 ":rtc_p2p",
190 "../api:fakemetricsobserver", 207 "../api:fakemetricsobserver",
191 "//testing/gmock", 208 "//testing/gmock",
192 "//testing/gtest", 209 "//testing/gtest",
193 ] 210 ]
194 if (!build_with_chromium && is_clang) { 211 if (!build_with_chromium && is_clang) {
195 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 212 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
196 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 213 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
197 } 214 }
198 defines = [ "GTEST_RELATIVE_PATH" ] 215 defines = [ "GTEST_RELATIVE_PATH" ]
(...skipping 28 matching lines...) Expand all
227 "//testing/gmock", 244 "//testing/gmock",
228 "//testing/gtest", 245 "//testing/gtest",
229 ] 246 ]
230 if (!build_with_chromium && is_clang) { 247 if (!build_with_chromium && is_clang) {
231 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 248 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
232 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 249 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
233 } 250 }
234 defines = [ "GTEST_RELATIVE_PATH" ] 251 defines = [ "GTEST_RELATIVE_PATH" ]
235 } 252 }
236 } 253 }
OLDNEW
« no previous file with comments | « webrtc/ortc/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698