| OLD | NEW |
| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "base/udptransport.h", | 76 "base/udptransport.h", |
| 77 "client/basicportallocator.cc", | 77 "client/basicportallocator.cc", |
| 78 "client/basicportallocator.h", | 78 "client/basicportallocator.h", |
| 79 "client/socketmonitor.cc", | 79 "client/socketmonitor.cc", |
| 80 "client/socketmonitor.h", | 80 "client/socketmonitor.h", |
| 81 ] | 81 ] |
| 82 | 82 |
| 83 defines = [] | 83 defines = [] |
| 84 | 84 |
| 85 deps = [ | 85 deps = [ |
| 86 "../api:libjingle_peerconnection_api", | |
| 87 "../api:ortc_api", | |
| 88 "../base:rtc_base", | 86 "../base:rtc_base", |
| 89 "../system_wrappers", | |
| 90 ] | 87 ] |
| 91 | 88 |
| 92 if (rtc_build_expat) { | 89 if (rtc_build_expat) { |
| 93 deps += [ "//third_party/expat" ] | 90 deps += [ "//third_party/expat" ] |
| 94 public_deps = [ | 91 public_deps = [ |
| 95 "//third_party/expat", | 92 "//third_party/expat", |
| 96 ] | 93 ] |
| 97 } | 94 } |
| 98 | 95 |
| 99 public_configs = [ ":rtc_p2p_inherited_config" ] | 96 public_configs = [ ":rtc_p2p_inherited_config" ] |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 public_deps += [ "//third_party/libquic" ] | 138 public_deps += [ "//third_party/libquic" ] |
| 142 } | 139 } |
| 143 } | 140 } |
| 144 | 141 |
| 145 if (rtc_include_tests) { | 142 if (rtc_include_tests) { |
| 146 rtc_source_set("rtc_p2p_unittests") { | 143 rtc_source_set("rtc_p2p_unittests") { |
| 147 testonly = true | 144 testonly = true |
| 148 sources = [ | 145 sources = [ |
| 149 "base/asyncstuntcpsocket_unittest.cc", | 146 "base/asyncstuntcpsocket_unittest.cc", |
| 150 "base/dtlstransportchannel_unittest.cc", | 147 "base/dtlstransportchannel_unittest.cc", |
| 148 "base/fakedtlstransport.h", |
| 149 "base/fakeicetransport.h", |
| 150 "base/fakepackettransport.h", |
| 151 "base/fakeportallocator.h", |
| 152 "base/faketransportcontroller.h", |
| 151 "base/jseptransport_unittest.cc", | 153 "base/jseptransport_unittest.cc", |
| 154 "base/mockicetransport.h", |
| 152 "base/p2ptransportchannel_unittest.cc", | 155 "base/p2ptransportchannel_unittest.cc", |
| 153 "base/port_unittest.cc", | 156 "base/port_unittest.cc", |
| 154 "base/portallocator_unittest.cc", | 157 "base/portallocator_unittest.cc", |
| 155 "base/pseudotcp_unittest.cc", | 158 "base/pseudotcp_unittest.cc", |
| 156 "base/relayport_unittest.cc", | 159 "base/relayport_unittest.cc", |
| 157 "base/relayserver_unittest.cc", | 160 "base/relayserver_unittest.cc", |
| 158 "base/stun_unittest.cc", | 161 "base/stun_unittest.cc", |
| 159 "base/stunport_unittest.cc", | 162 "base/stunport_unittest.cc", |
| 160 "base/stunrequest_unittest.cc", | 163 "base/stunrequest_unittest.cc", |
| 161 "base/stunserver_unittest.cc", | 164 "base/stunserver_unittest.cc", |
| 162 "base/tcpport_unittest.cc", | 165 "base/tcpport_unittest.cc", |
| 166 "base/testrelayserver.h", |
| 167 "base/teststunserver.h", |
| 168 "base/testturnserver.h", |
| 163 "base/transportcontroller_unittest.cc", | 169 "base/transportcontroller_unittest.cc", |
| 164 "base/transportdescriptionfactory_unittest.cc", | 170 "base/transportdescriptionfactory_unittest.cc", |
| 165 "base/turnport_unittest.cc", | 171 "base/turnport_unittest.cc", |
| 166 "base/turnserver_unittest.cc", | 172 "base/turnserver_unittest.cc", |
| 167 "base/udptransport_unittest.cc", | 173 "base/udptransport_unittest.cc", |
| 168 "client/basicportallocator_unittest.cc", | 174 "client/basicportallocator_unittest.cc", |
| 169 ] | 175 ] |
| 170 if (rtc_use_quic) { | 176 if (rtc_use_quic) { |
| 171 sources += [ | 177 sources += [ |
| 172 "quic/quicconnectionhelper_unittest.cc", | 178 "quic/quicconnectionhelper_unittest.cc", |
| 173 "quic/quicsession_unittest.cc", | 179 "quic/quicsession_unittest.cc", |
| 174 "quic/quictransport_unittest.cc", | 180 "quic/quictransport_unittest.cc", |
| 175 "quic/quictransportchannel_unittest.cc", | 181 "quic/quictransportchannel_unittest.cc", |
| 176 "quic/reliablequicstream_unittest.cc", | 182 "quic/reliablequicstream_unittest.cc", |
| 177 ] | 183 ] |
| 178 } | 184 } |
| 179 deps = [ | 185 deps = [ |
| 180 ":rtc_p2p", | 186 ":rtc_p2p", |
| 181 ":rtc_p2p_test_utils", | |
| 182 "../api:fakemetricsobserver", | 187 "../api:fakemetricsobserver", |
| 183 "../api:ortc_api", | |
| 184 "../base:rtc_base", | |
| 185 "../base:rtc_base_approved", | |
| 186 "../base:rtc_base_tests_utils", | |
| 187 "../test:test_support", | |
| 188 "//testing/gmock", | 188 "//testing/gmock", |
| 189 "//testing/gtest", | 189 "//testing/gtest", |
| 190 ] | 190 ] |
| 191 if (!build_with_chromium && is_clang) { | 191 if (!build_with_chromium && is_clang) { |
| 192 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 192 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 193 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 193 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 194 } | 194 } |
| 195 defines = [ "GTEST_RELATIVE_PATH" ] | 195 defines = [ "GTEST_RELATIVE_PATH" ] |
| 196 } | 196 } |
| 197 | |
| 198 rtc_source_set("rtc_p2p_test_utils") { | |
| 199 testonly = true | |
| 200 sources = [ | |
| 201 "base/fakecandidatepair.h", | |
| 202 "base/fakedtlstransport.h", | |
| 203 "base/fakeicetransport.h", | |
| 204 "base/fakepackettransport.h", | |
| 205 "base/fakeportallocator.h", | |
| 206 "base/faketransportcontroller.h", | |
| 207 "base/mockicetransport.h", | |
| 208 "base/testrelayserver.h", | |
| 209 "base/teststunserver.h", | |
| 210 "base/testturnserver.h", | |
| 211 ] | |
| 212 deps = [ | |
| 213 ":rtc_p2p", | |
| 214 "../api:ortc_api", | |
| 215 "../base:rtc_base", | |
| 216 "../base:rtc_base_approved", | |
| 217 "../base:rtc_base_tests_utils", | |
| 218 "../test:test_support", | |
| 219 ] | |
| 220 } | |
| 221 } | 197 } |
| 222 | 198 |
| 223 rtc_static_library("libstunprober") { | 199 rtc_static_library("libstunprober") { |
| 224 sources = [ | 200 sources = [ |
| 225 "stunprober/stunprober.cc", | 201 "stunprober/stunprober.cc", |
| 226 ] | 202 ] |
| 227 | 203 |
| 228 if (!build_with_chromium && is_clang) { | 204 if (!build_with_chromium && is_clang) { |
| 229 # Suppress warnings from Chrome's Clang plugins. | 205 # Suppress warnings from Chrome's Clang plugins. |
| 230 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 206 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 231 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 207 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 232 } | 208 } |
| 233 | 209 |
| 234 deps = [ | 210 deps = [ |
| 235 ":rtc_p2p", | |
| 236 "..:webrtc_common", | 211 "..:webrtc_common", |
| 237 "../base:rtc_base", | 212 "../base:rtc_base", |
| 238 ] | 213 ] |
| 239 } | 214 } |
| 240 | 215 |
| 241 if (rtc_include_tests) { | 216 if (rtc_include_tests) { |
| 242 rtc_source_set("libstunprober_unittests") { | 217 rtc_source_set("libstunprober_unittests") { |
| 243 testonly = true | 218 testonly = true |
| 244 sources = [ | 219 sources = [ |
| 245 "stunprober/stunprober_unittest.cc", | 220 "stunprober/stunprober_unittest.cc", |
| 246 ] | 221 ] |
| 247 deps = [ | 222 deps = [ |
| 248 ":libstunprober", | 223 ":libstunprober", |
| 249 ":rtc_p2p", | |
| 250 ":rtc_p2p_test_utils", | |
| 251 "../base:rtc_base", | |
| 252 "../base:rtc_base_tests_utils", | |
| 253 "//testing/gmock", | 224 "//testing/gmock", |
| 254 "//testing/gtest", | 225 "//testing/gtest", |
| 255 ] | 226 ] |
| 256 if (!build_with_chromium && is_clang) { | 227 if (!build_with_chromium && is_clang) { |
| 257 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 228 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 258 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 229 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 259 } | 230 } |
| 260 defines = [ "GTEST_RELATIVE_PATH" ] | 231 defines = [ "GTEST_RELATIVE_PATH" ] |
| 261 } | 232 } |
| 262 } | 233 } |
| OLD | NEW |