| Index: webrtc/p2p/BUILD.gn
|
| diff --git a/webrtc/p2p/BUILD.gn b/webrtc/p2p/BUILD.gn
|
| index 6f65bba6eafe1cad7f1e2d9e33d4197d0e0bd072..07fcdf44f83f0a4d317e4bd2c5b838a60adc36bd 100644
|
| --- a/webrtc/p2p/BUILD.gn
|
| +++ b/webrtc/p2p/BUILD.gn
|
| @@ -83,10 +83,7 @@
|
| defines = []
|
|
|
| deps = [
|
| - "../api:libjingle_peerconnection_api",
|
| - "../api:ortc_api",
|
| "../base:rtc_base",
|
| - "../system_wrappers",
|
| ]
|
|
|
| if (rtc_build_expat) {
|
| @@ -148,7 +145,13 @@
|
| sources = [
|
| "base/asyncstuntcpsocket_unittest.cc",
|
| "base/dtlstransportchannel_unittest.cc",
|
| + "base/fakedtlstransport.h",
|
| + "base/fakeicetransport.h",
|
| + "base/fakepackettransport.h",
|
| + "base/fakeportallocator.h",
|
| + "base/faketransportcontroller.h",
|
| "base/jseptransport_unittest.cc",
|
| + "base/mockicetransport.h",
|
| "base/p2ptransportchannel_unittest.cc",
|
| "base/port_unittest.cc",
|
| "base/portallocator_unittest.cc",
|
| @@ -160,6 +163,9 @@
|
| "base/stunrequest_unittest.cc",
|
| "base/stunserver_unittest.cc",
|
| "base/tcpport_unittest.cc",
|
| + "base/testrelayserver.h",
|
| + "base/teststunserver.h",
|
| + "base/testturnserver.h",
|
| "base/transportcontroller_unittest.cc",
|
| "base/transportdescriptionfactory_unittest.cc",
|
| "base/turnport_unittest.cc",
|
| @@ -178,13 +184,7 @@
|
| }
|
| deps = [
|
| ":rtc_p2p",
|
| - ":rtc_p2p_test_utils",
|
| "../api:fakemetricsobserver",
|
| - "../api:ortc_api",
|
| - "../base:rtc_base",
|
| - "../base:rtc_base_approved",
|
| - "../base:rtc_base_tests_utils",
|
| - "../test:test_support",
|
| "//testing/gmock",
|
| "//testing/gtest",
|
| ]
|
| @@ -193,30 +193,6 @@
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
| defines = [ "GTEST_RELATIVE_PATH" ]
|
| - }
|
| -
|
| - rtc_source_set("rtc_p2p_test_utils") {
|
| - testonly = true
|
| - sources = [
|
| - "base/fakecandidatepair.h",
|
| - "base/fakedtlstransport.h",
|
| - "base/fakeicetransport.h",
|
| - "base/fakepackettransport.h",
|
| - "base/fakeportallocator.h",
|
| - "base/faketransportcontroller.h",
|
| - "base/mockicetransport.h",
|
| - "base/testrelayserver.h",
|
| - "base/teststunserver.h",
|
| - "base/testturnserver.h",
|
| - ]
|
| - deps = [
|
| - ":rtc_p2p",
|
| - "../api:ortc_api",
|
| - "../base:rtc_base",
|
| - "../base:rtc_base_approved",
|
| - "../base:rtc_base_tests_utils",
|
| - "../test:test_support",
|
| - ]
|
| }
|
| }
|
|
|
| @@ -232,7 +208,6 @@
|
| }
|
|
|
| deps = [
|
| - ":rtc_p2p",
|
| "..:webrtc_common",
|
| "../base:rtc_base",
|
| ]
|
| @@ -246,10 +221,6 @@
|
| ]
|
| deps = [
|
| ":libstunprober",
|
| - ":rtc_p2p",
|
| - ":rtc_p2p_test_utils",
|
| - "../base:rtc_base",
|
| - "../base:rtc_base_tests_utils",
|
| "//testing/gmock",
|
| "//testing/gtest",
|
| ]
|
|
|