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