| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 | 7 |
| 8 # From third_party/libjingle/libjingle.gyp's target_defaults. | 8 # From third_party/libjingle/libjingle.gyp's target_defaults. |
| 9 config("jingle_unexported_configs") { | 9 config("jingle_unexported_configs") { |
| 10 defines = [ | 10 defines = [ |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 ] | 122 ] |
| 123 deps = [ | 123 deps = [ |
| 124 "//base", | 124 "//base", |
| 125 "//net", | 125 "//net", |
| 126 "//crypto:platform", | 126 "//crypto:platform", |
| 127 ] | 127 ] |
| 128 } | 128 } |
| 129 | 129 |
| 130 # GYP version: third_party/libjingle.gyp:libjingle | 130 # GYP version: third_party/libjingle.gyp:libjingle |
| 131 static_library("libjingle") { | 131 static_library("libjingle") { |
| 132 p2p_dir = "../webrtc/p2p" |
| 133 xmllite_dir = "../webrtc/libjingle/xmllite" |
| 134 xmpp_dir = "../webrtc/libjingle/xmpp" |
| 132 sources = [ | 135 sources = [ |
| 133 # List from third_party/libjingle/libjingle_common.gypi | 136 # List from third_party/libjingle/libjingle_common.gypi |
| 134 "source/talk/p2p/base/asyncstuntcpsocket.cc", | 137 "$p2p_dir/base/asyncstuntcpsocket.cc", |
| 135 "source/talk/p2p/base/asyncstuntcpsocket.h", | 138 "$p2p_dir/base/asyncstuntcpsocket.h", |
| 136 "source/talk/p2p/base/basicpacketsocketfactory.cc", | 139 "$p2p_dir/base/basicpacketsocketfactory.cc", |
| 137 "source/talk/p2p/base/basicpacketsocketfactory.h", | 140 "$p2p_dir/base/basicpacketsocketfactory.h", |
| 138 "source/talk/p2p/base/candidate.h", | 141 "$p2p_dir/base/candidate.h", |
| 139 "source/talk/p2p/base/common.h", | 142 "$p2p_dir/base/common.h", |
| 140 "source/talk/p2p/base/constants.cc", | 143 "$p2p_dir/base/constants.cc", |
| 141 "source/talk/p2p/base/constants.h", | 144 "$p2p_dir/base/constants.h", |
| 142 "source/talk/p2p/base/dtlstransport.h", | 145 "$p2p_dir/base/dtlstransport.h", |
| 143 "source/talk/p2p/base/dtlstransportchannel.cc", | 146 "$p2p_dir/base/dtlstransportchannel.cc", |
| 144 "source/talk/p2p/base/dtlstransportchannel.h", | 147 "$p2p_dir/base/dtlstransportchannel.h", |
| 145 "source/talk/p2p/base/p2ptransport.cc", | 148 "$p2p_dir/base/p2ptransport.cc", |
| 146 "source/talk/p2p/base/p2ptransport.h", | 149 "$p2p_dir/base/p2ptransport.h", |
| 147 "source/talk/p2p/base/p2ptransportchannel.cc", | 150 "$p2p_dir/base/p2ptransportchannel.cc", |
| 148 "source/talk/p2p/base/p2ptransportchannel.h", | 151 "$p2p_dir/base/p2ptransportchannel.h", |
| 149 "source/talk/p2p/base/parsing.cc", | 152 "$p2p_dir/base/parsing.cc", |
| 150 "source/talk/p2p/base/parsing.h", | 153 "$p2p_dir/base/parsing.h", |
| 151 "source/talk/p2p/base/port.cc", | 154 "$p2p_dir/base/port.cc", |
| 152 "source/talk/p2p/base/port.h", | 155 "$p2p_dir/base/port.h", |
| 153 "source/talk/p2p/base/portallocator.cc", | 156 "$p2p_dir/base/portallocator.cc", |
| 154 "source/talk/p2p/base/portallocator.h", | 157 "$p2p_dir/base/portallocator.h", |
| 155 "source/talk/p2p/base/portallocatorsessionproxy.cc", | 158 "$p2p_dir/base/portallocatorsessionproxy.cc", |
| 156 "source/talk/p2p/base/portallocatorsessionproxy.h", | 159 "$p2p_dir/base/portallocatorsessionproxy.h", |
| 157 "source/talk/p2p/base/portproxy.cc", | 160 "$p2p_dir/base/portproxy.cc", |
| 158 "source/talk/p2p/base/portproxy.h", | 161 "$p2p_dir/base/portproxy.h", |
| 159 "source/talk/p2p/base/pseudotcp.cc", | 162 "$p2p_dir/base/pseudotcp.cc", |
| 160 "source/talk/p2p/base/pseudotcp.h", | 163 "$p2p_dir/base/pseudotcp.h", |
| 161 "source/talk/p2p/base/rawtransport.cc", | 164 "$p2p_dir/base/rawtransport.cc", |
| 162 "source/talk/p2p/base/rawtransport.h", | 165 "$p2p_dir/base/rawtransport.h", |
| 163 "source/talk/p2p/base/rawtransportchannel.cc", | 166 "$p2p_dir/base/rawtransportchannel.cc", |
| 164 "source/talk/p2p/base/rawtransportchannel.h", | 167 "$p2p_dir/base/rawtransportchannel.h", |
| 165 "source/talk/p2p/base/relayport.cc", | 168 "$p2p_dir/base/relayport.cc", |
| 166 "source/talk/p2p/base/relayport.h", | 169 "$p2p_dir/base/relayport.h", |
| 167 "source/talk/p2p/base/session.cc", | 170 "$p2p_dir/base/session.cc", |
| 168 "source/talk/p2p/base/session.h", | 171 "$p2p_dir/base/session.h", |
| 169 "source/talk/p2p/base/sessionclient.h", | 172 "$p2p_dir/base/sessionclient.h", |
| 170 "source/talk/p2p/base/sessiondescription.cc", | 173 "$p2p_dir/base/sessiondescription.cc", |
| 171 "source/talk/p2p/base/sessiondescription.h", | 174 "$p2p_dir/base/sessiondescription.h", |
| 172 "source/talk/p2p/base/sessionid.h", | 175 "$p2p_dir/base/sessionid.h", |
| 173 "source/talk/p2p/base/sessionmanager.cc", | 176 "$p2p_dir/base/sessionmanager.cc", |
| 174 "source/talk/p2p/base/sessionmanager.h", | 177 "$p2p_dir/base/sessionmanager.h", |
| 175 "source/talk/p2p/base/sessionmessages.cc", | 178 "$p2p_dir/base/sessionmessages.cc", |
| 176 "source/talk/p2p/base/sessionmessages.h", | 179 "$p2p_dir/base/sessionmessages.h", |
| 177 "source/talk/p2p/base/stun.cc", | 180 "$p2p_dir/base/stun.cc", |
| 178 "source/talk/p2p/base/stun.h", | 181 "$p2p_dir/base/stun.h", |
| 179 "source/talk/p2p/base/stunport.cc", | 182 "$p2p_dir/base/stunport.cc", |
| 180 "source/talk/p2p/base/stunport.h", | 183 "$p2p_dir/base/stunport.h", |
| 181 "source/talk/p2p/base/stunrequest.cc", | 184 "$p2p_dir/base/stunrequest.cc", |
| 182 "source/talk/p2p/base/stunrequest.h", | 185 "$p2p_dir/base/stunrequest.h", |
| 183 "source/talk/p2p/base/tcpport.cc", | 186 "$p2p_dir/base/tcpport.cc", |
| 184 "source/talk/p2p/base/tcpport.h", | 187 "$p2p_dir/base/tcpport.h", |
| 185 "source/talk/p2p/base/transport.cc", | 188 "$p2p_dir/base/transport.cc", |
| 186 "source/talk/p2p/base/transport.h", | 189 "$p2p_dir/base/transport.h", |
| 187 "source/talk/p2p/base/transportchannel.cc", | 190 "$p2p_dir/base/transportchannel.cc", |
| 188 "source/talk/p2p/base/transportchannel.h", | 191 "$p2p_dir/base/transportchannel.h", |
| 189 "source/talk/p2p/base/transportchannelimpl.h", | 192 "$p2p_dir/base/transportchannelimpl.h", |
| 190 "source/talk/p2p/base/transportchannelproxy.cc", | 193 "$p2p_dir/base/transportchannelproxy.cc", |
| 191 "source/talk/p2p/base/transportchannelproxy.h", | 194 "$p2p_dir/base/transportchannelproxy.h", |
| 192 "source/talk/p2p/base/transportdescription.cc", | 195 "$p2p_dir/base/transportdescription.cc", |
| 193 "source/talk/p2p/base/transportdescription.h", | 196 "$p2p_dir/base/transportdescription.h", |
| 194 "source/talk/p2p/base/transportdescriptionfactory.cc", | 197 "$p2p_dir/base/transportdescriptionfactory.cc", |
| 195 "source/talk/p2p/base/transportdescriptionfactory.h", | 198 "$p2p_dir/base/transportdescriptionfactory.h", |
| 196 "source/talk/p2p/base/turnport.cc", | 199 "$p2p_dir/base/turnport.cc", |
| 197 "source/talk/p2p/base/turnport.h", | 200 "$p2p_dir/base/turnport.h", |
| 198 "source/talk/p2p/client/basicportallocator.cc", | 201 "$p2p_dir/client/basicportallocator.cc", |
| 199 "source/talk/p2p/client/basicportallocator.h", | 202 "$p2p_dir/client/basicportallocator.h", |
| 200 "source/talk/p2p/client/httpportallocator.cc", | 203 "$p2p_dir/client/httpportallocator.cc", |
| 201 "source/talk/p2p/client/httpportallocator.h", | 204 "$p2p_dir/client/httpportallocator.h", |
| 202 "source/talk/p2p/client/sessionmanagertask.h", | 205 "$p2p_dir/client/sessionmanagertask.h", |
| 203 "source/talk/p2p/client/sessionsendtask.h", | 206 "$p2p_dir/client/sessionsendtask.h", |
| 204 "source/talk/p2p/client/socketmonitor.cc", | 207 "$p2p_dir/client/socketmonitor.cc", |
| 205 "source/talk/p2p/client/socketmonitor.h", | 208 "$p2p_dir/client/socketmonitor.h", |
| 206 "source/talk/xmllite/qname.cc", | 209 "$xmllite_dir/qname.cc", |
| 207 "source/talk/xmllite/qname.h", | 210 "$xmllite_dir/qname.h", |
| 208 "source/talk/xmllite/xmlbuilder.cc", | 211 "$xmllite_dir/xmlbuilder.cc", |
| 209 "source/talk/xmllite/xmlbuilder.h", | 212 "$xmllite_dir/xmlbuilder.h", |
| 210 "source/talk/xmllite/xmlconstants.cc", | 213 "$xmllite_dir/xmlconstants.cc", |
| 211 "source/talk/xmllite/xmlconstants.h", | 214 "$xmllite_dir/xmlconstants.h", |
| 212 "source/talk/xmllite/xmlelement.cc", | 215 "$xmllite_dir/xmlelement.cc", |
| 213 "source/talk/xmllite/xmlelement.h", | 216 "$xmllite_dir/xmlelement.h", |
| 214 "source/talk/xmllite/xmlnsstack.cc", | 217 "$xmllite_dir/xmlnsstack.cc", |
| 215 "source/talk/xmllite/xmlnsstack.h", | 218 "$xmllite_dir/xmlnsstack.h", |
| 216 "source/talk/xmllite/xmlparser.cc", | 219 "$xmllite_dir/xmlparser.cc", |
| 217 "source/talk/xmllite/xmlparser.h", | 220 "$xmllite_dir/xmlparser.h", |
| 218 "source/talk/xmllite/xmlprinter.cc", | 221 "$xmllite_dir/xmlprinter.cc", |
| 219 "source/talk/xmllite/xmlprinter.h", | 222 "$xmllite_dir/xmlprinter.h", |
| 220 "source/talk/xmpp/asyncsocket.h", | 223 "$xmpp_dir/asyncsocket.h", |
| 221 "source/talk/xmpp/constants.cc", | 224 "$xmpp_dir/constants.cc", |
| 222 "source/talk/xmpp/constants.h", | 225 "$xmpp_dir/constants.h", |
| 223 "source/talk/xmpp/jid.cc", | 226 "$xmpp_dir/jid.cc", |
| 224 "source/talk/xmpp/jid.h", | 227 "$xmpp_dir/jid.h", |
| 225 "source/talk/xmpp/plainsaslhandler.h", | 228 "$xmpp_dir/plainsaslhandler.h", |
| 226 "source/talk/xmpp/prexmppauth.h", | 229 "$xmpp_dir/prexmppauth.h", |
| 227 "source/talk/xmpp/saslcookiemechanism.h", | 230 "$xmpp_dir/saslcookiemechanism.h", |
| 228 "source/talk/xmpp/saslhandler.h", | 231 "$xmpp_dir/saslhandler.h", |
| 229 "source/talk/xmpp/saslmechanism.cc", | 232 "$xmpp_dir/saslmechanism.cc", |
| 230 "source/talk/xmpp/saslmechanism.h", | 233 "$xmpp_dir/saslmechanism.h", |
| 231 "source/talk/xmpp/saslplainmechanism.h", | 234 "$xmpp_dir/saslplainmechanism.h", |
| 232 "source/talk/xmpp/xmppclient.cc", | 235 "$xmpp_dir/xmppclient.cc", |
| 233 "source/talk/xmpp/xmppclient.h", | 236 "$xmpp_dir/xmppclient.h", |
| 234 "source/talk/xmpp/xmppclientsettings.h", | 237 "$xmpp_dir/xmppclientsettings.h", |
| 235 "source/talk/xmpp/xmppengine.h", | 238 "$xmpp_dir/xmppengine.h", |
| 236 "source/talk/xmpp/xmppengineimpl.cc", | 239 "$xmpp_dir/xmppengineimpl.cc", |
| 237 "source/talk/xmpp/xmppengineimpl.h", | 240 "$xmpp_dir/xmppengineimpl.h", |
| 238 "source/talk/xmpp/xmppengineimpl_iq.cc", | 241 "$xmpp_dir/xmppengineimpl_iq.cc", |
| 239 "source/talk/xmpp/xmpplogintask.cc", | 242 "$xmpp_dir/xmpplogintask.cc", |
| 240 "source/talk/xmpp/xmpplogintask.h", | 243 "$xmpp_dir/xmpplogintask.h", |
| 241 "source/talk/xmpp/xmppstanzaparser.cc", | 244 "$xmpp_dir/xmppstanzaparser.cc", |
| 242 "source/talk/xmpp/xmppstanzaparser.h", | 245 "$xmpp_dir/xmppstanzaparser.h", |
| 243 "source/talk/xmpp/xmpptask.cc", | 246 "$xmpp_dir/xmpptask.cc", |
| 244 "source/talk/xmpp/xmpptask.h", | 247 "$xmpp_dir/xmpptask.h", |
| 245 ] | 248 ] |
| 246 sources -= [ | 249 sources -= [ |
| 247 # Compiled as part of libjingle_p2p_constants. | 250 # Compiled as part of libjingle_p2p_constants. |
| 248 "source/talk/p2p/base/constants.cc", | 251 "$p2p_dir/base/constants.cc", |
| 249 "source/talk/p2p/base/constants.h", | 252 "$p2p_dir/base/constants.h", |
| 250 ] | 253 ] |
| 251 public_deps = [ | 254 public_deps = [ |
| 252 ":jingle_deps" | 255 ":jingle_deps" |
| 253 ] | 256 ] |
| 254 deps = [ | 257 deps = [ |
| 255 "//third_party/webrtc/base:webrtc_base", | 258 "//third_party/webrtc/base:webrtc_base", |
| 256 ":libjingle_p2p_constants", | 259 ":libjingle_p2p_constants", |
| 257 ] | 260 ] |
| 258 | 261 |
| 259 # From libjingle_common.gypi's conditions list. | 262 # From libjingle_common.gypi's conditions list. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 275 # This has to be is a separate project due to a bug in MSVS 2008 and the | 278 # This has to be is a separate project due to a bug in MSVS 2008 and the |
| 276 # current toolset on android. The problem is that we have two files named | 279 # current toolset on android. The problem is that we have two files named |
| 277 # "constants.cc" and MSVS/android doesn't handle this properly. | 280 # "constants.cc" and MSVS/android doesn't handle this properly. |
| 278 # GYP currently has guards to catch this, so if you want to remove it, | 281 # GYP currently has guards to catch this, so if you want to remove it, |
| 279 # run GYP and if GYP has removed the validation check, then we can assume | 282 # run GYP and if GYP has removed the validation check, then we can assume |
| 280 # that the toolchains have been fixed (we currently use VS2010 and later, | 283 # that the toolchains have been fixed (we currently use VS2010 and later, |
| 281 # so VS2008 isn't a concern anymore). | 284 # so VS2008 isn't a concern anymore). |
| 282 # | 285 # |
| 283 # GYP version: third_party/libjingle.gyp:libjingle_p2p_constants | 286 # GYP version: third_party/libjingle.gyp:libjingle_p2p_constants |
| 284 static_library("libjingle_p2p_constants") { | 287 static_library("libjingle_p2p_constants") { |
| 288 p2p_dir = "../webrtc/p2p" |
| 285 sources = [ | 289 sources = [ |
| 286 "source/talk/p2p/base/constants.cc", | 290 "$p2p_dir/base/constants.cc", |
| 287 "source/talk/p2p/base/constants.h", | 291 "$p2p_dir/base/constants.h", |
| 288 ] | 292 ] |
| 289 public_deps = [ | 293 public_deps = [ |
| 290 ":jingle_deps", | 294 ":jingle_deps", |
| 291 ] | 295 ] |
| 292 configs += [ | 296 configs += [ |
| 293 ":jingle_unexported_configs" | 297 ":jingle_unexported_configs" |
| 294 ] | 298 ] |
| 295 public_configs = [ | 299 public_configs = [ |
| 296 ":jingle_direct_dependent_configs", | 300 ":jingle_direct_dependent_configs", |
| 297 ] | 301 ] |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 "source/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java", | 588 "source/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java", |
| 585 "source/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java", | 589 "source/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java", |
| 586 "source/talk/app/webrtc/java/src/org/webrtc/VideoSource.java", | 590 "source/talk/app/webrtc/java/src/org/webrtc/VideoSource.java", |
| 587 "source/talk/app/webrtc/java/src/org/webrtc/VideoTrack.java", | 591 "source/talk/app/webrtc/java/src/org/webrtc/VideoTrack.java", |
| 588 ] | 592 ] |
| 589 } | 593 } |
| 590 | 594 |
| 591 } # enable_webrtc | 595 } # enable_webrtc |
| 592 | 596 |
| 593 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 597 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
| OLD | NEW |