| 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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 | 10 |
| 11 group("p2p") { | 11 group("p2p") { |
| 12 deps = [ | 12 deps = [ |
| 13 ":rtc_p2p", | 13 ":rtc_p2p", |
| 14 ] | 14 ] |
| 15 } | 15 } |
| 16 | 16 |
| 17 config("rtc_p2p_inherited_config") { | 17 config("rtc_p2p_inherited_config") { |
| 18 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] | 18 defines = [ "FEATURE_ENABLE_VOICEMAIL" ] |
| 19 } | 19 } |
| 20 | 20 |
| 21 source_set("rtc_p2p") { | 21 source_set("rtc_p2p") { |
| 22 sources = [ | 22 sources = [ |
| 23 "base/asyncstuntcpsocket.cc", | 23 "base/asyncstuntcpsocket.cc", |
| 24 "base/asyncstuntcpsocket.h", | 24 "base/asyncstuntcpsocket.h", |
| 25 "base/basicpacketsocketfactory.cc", | 25 "base/basicpacketsocketfactory.cc", |
| 26 "base/basicpacketsocketfactory.h", | 26 "base/basicpacketsocketfactory.h", |
| 27 "base/candidate.h", | 27 "base/candidate.h", |
| 28 "base/common.h", | 28 "base/common.h", |
| 29 "base/dtlstransport.h", |
| 29 "base/dtlstransportchannel.cc", | 30 "base/dtlstransportchannel.cc", |
| 30 "base/dtlstransportchannel.h", | 31 "base/dtlstransportchannel.h", |
| 31 "base/p2pconstants.cc", | 32 "base/p2pconstants.cc", |
| 32 "base/p2pconstants.h", | 33 "base/p2pconstants.h", |
| 33 "base/p2ptransport.cc", | 34 "base/p2ptransport.cc", |
| 34 "base/p2ptransport.h", | 35 "base/p2ptransport.h", |
| 35 "base/p2ptransportchannel.cc", | 36 "base/p2ptransportchannel.cc", |
| 36 "base/p2ptransportchannel.h", | 37 "base/p2ptransportchannel.h", |
| 37 "base/packetsocketfactory.h", | 38 "base/packetsocketfactory.h", |
| 38 "base/port.cc", | 39 "base/port.cc", |
| 39 "base/port.h", | 40 "base/port.h", |
| 40 "base/portallocator.cc", | 41 "base/portallocator.cc", |
| 41 "base/portallocator.h", | 42 "base/portallocator.h", |
| 42 "base/portinterface.h", | 43 "base/portinterface.h", |
| 43 "base/pseudotcp.cc", | 44 "base/pseudotcp.cc", |
| 44 "base/pseudotcp.h", | 45 "base/pseudotcp.h", |
| 45 "base/relayport.cc", | 46 "base/relayport.cc", |
| 46 "base/relayport.h", | 47 "base/relayport.h", |
| 47 "base/relayserver.cc", | 48 "base/session.cc", |
| 48 "base/relayserver.h", | 49 "base/session.h", |
| 49 "base/sessiondescription.cc", | 50 "base/sessiondescription.cc", |
| 50 "base/sessiondescription.h", | 51 "base/sessiondescription.h", |
| 51 "base/sessionid.h", | 52 "base/sessionid.h", |
| 52 "base/stun.cc", | 53 "base/stun.cc", |
| 53 "base/stun.h", | 54 "base/stun.h", |
| 54 "base/stunport.cc", | 55 "base/stunport.cc", |
| 55 "base/stunport.h", | 56 "base/stunport.h", |
| 56 "base/stunrequest.cc", | 57 "base/stunrequest.cc", |
| 57 "base/stunrequest.h", | 58 "base/stunrequest.h", |
| 58 "base/stunserver.cc", | |
| 59 "base/stunserver.h", | |
| 60 "base/tcpport.cc", | 59 "base/tcpport.cc", |
| 61 "base/tcpport.h", | 60 "base/tcpport.h", |
| 62 "base/transport.cc", | 61 "base/transport.cc", |
| 63 "base/transport.h", | 62 "base/transport.h", |
| 64 "base/transportchannel.cc", | 63 "base/transportchannel.cc", |
| 65 "base/transportchannel.h", | 64 "base/transportchannel.h", |
| 66 "base/transportchannelimpl.h", | 65 "base/transportchannelimpl.h", |
| 67 "base/transportcontroller.cc", | 66 "base/transportcontroller.cc", |
| 68 "base/transportcontroller.h", | 67 "base/transportcontroller.h", |
| 69 "base/transportdescription.cc", | 68 "base/transportdescription.cc", |
| 70 "base/transportdescription.h", | 69 "base/transportdescription.h", |
| 71 "base/transportdescriptionfactory.cc", | 70 "base/transportdescriptionfactory.cc", |
| 72 "base/transportdescriptionfactory.h", | 71 "base/transportdescriptionfactory.h", |
| 73 "base/transportinfo.h", | 72 "base/transportinfo.h", |
| 74 "base/turnport.cc", | 73 "base/turnport.cc", |
| 75 "base/turnport.h", | 74 "base/turnport.h", |
| 76 "base/turnserver.cc", | |
| 77 "base/turnserver.h", | |
| 78 "base/udpport.h", | 75 "base/udpport.h", |
| 79 "client/basicportallocator.cc", | 76 "client/basicportallocator.cc", |
| 80 "client/basicportallocator.h", | 77 "client/basicportallocator.h", |
| 81 "client/httpportallocator.cc", | 78 "client/httpportallocator.cc", |
| 82 "client/httpportallocator.h", | 79 "client/httpportallocator.h", |
| 83 "client/socketmonitor.cc", | 80 "client/socketmonitor.cc", |
| 84 "client/socketmonitor.h", | 81 "client/socketmonitor.h", |
| 85 ] | 82 ] |
| 86 | 83 |
| 87 defines = [ "FEATURE_ENABLE_SSL" ] | 84 defines = [ "FEATURE_ENABLE_SSL" ] |
| 88 | 85 |
| 89 deps = [ | 86 deps = [ |
| 90 "../base:rtc_base", | 87 "../base:rtc_base", |
| 91 "../libjingle/xmllite", | 88 "../libjingle/xmllite", |
| 92 ] | 89 ] |
| 93 | 90 |
| 94 if (rtc_build_expat) { | 91 if (rtc_build_expat) { |
| 95 deps += [ "//third_party/expat" ] | 92 deps += [ "//third_party/expat" ] |
| 96 public_deps = [ | 93 public_deps = [ |
| 97 "//third_party/expat", | 94 "//third_party/expat", |
| 98 ] | 95 ] |
| 99 } | 96 } |
| 100 | 97 |
| 101 configs += [ "..:common_config" ] | 98 configs += [ "..:common_config" ] |
| 102 public_configs = [ | 99 public_configs = [ |
| 103 "..:common_inherited_config", | 100 "..:common_inherited_config", |
| 104 ":rtc_p2p_inherited_config", | 101 ":rtc_p2p_inherited_config", |
| 105 ] | 102 ] |
| 106 | 103 |
| 107 if (!build_with_chromium) { | 104 if (build_with_chromium) { |
| 105 if (is_nacl) { |
| 106 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
| 107 } |
| 108 } else { |
| 109 sources += [ |
| 110 "base/relayserver.cc", |
| 111 "base/relayserver.h", |
| 112 "base/stunserver.cc", |
| 113 "base/stunserver.h", |
| 114 "base/turnserver.cc", |
| 115 "base/turnserver.h", |
| 116 ] |
| 108 defines += [ | 117 defines += [ |
| 109 "FEATURE_ENABLE_VOICEMAIL", | 118 "FEATURE_ENABLE_VOICEMAIL", |
| 110 "FEATURE_ENABLE_PSTN", | 119 "FEATURE_ENABLE_PSTN", |
| 111 ] | 120 ] |
| 112 | 121 |
| 113 if (is_clang) { | 122 if (is_clang) { |
| 114 # Suppress warnings from Chrome's Clang plugins. | 123 # Suppress warnings from Chrome's Clang plugins. |
| 115 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 124 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 116 configs -= [ "//build/config/clang:find_bad_constructs" ] | 125 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 117 } | 126 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 146 # Suppress warnings from Chrome's Clang plugins. | 155 # Suppress warnings from Chrome's Clang plugins. |
| 147 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 156 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 148 configs -= [ "//build/config/clang:find_bad_constructs" ] | 157 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 149 } | 158 } |
| 150 | 159 |
| 151 deps = [ | 160 deps = [ |
| 152 "..:webrtc_common", | 161 "..:webrtc_common", |
| 153 "../base:rtc_base", | 162 "../base:rtc_base", |
| 154 ] | 163 ] |
| 155 } | 164 } |
| OLD | NEW |