| # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 
 | # | 
 | # Use of this source code is governed by a BSD-style license | 
 | # that can be found in the LICENSE file in the root of the source | 
 | # tree. An additional intellectual property rights grant can be found | 
 | # in the file PATENTS.  All contributing project authors may | 
 | # be found in the AUTHORS file in the root of the source tree. | 
 |  | 
 | { | 
 |   'includes': [ '../build/common.gypi', ], | 
 |   'targets': [ | 
 |     { | 
 |       'target_name': 'rtc_p2p', | 
 |       'type': 'static_library', | 
 |       'dependencies': [ | 
 |         '<(webrtc_root)/base/base.gyp:webrtc_base', | 
 |         '<(webrtc_root)/libjingle/xmpp/xmpp.gyp:rtc_xmpp', | 
 |         '<(DEPTH)/third_party/expat/expat.gyp:expat', | 
 |       ], | 
 |       'cflags_cc!': [ | 
 |         '-Wnon-virtual-dtor', | 
 |       ], | 
 |       'export_dependent_settings': [ | 
 |         '<(DEPTH)/third_party/expat/expat.gyp:expat', | 
 |       ], | 
 |       'sources': [ | 
 |         'base/asyncstuntcpsocket.cc', | 
 |         'base/asyncstuntcpsocket.h', | 
 |         'base/basicpacketsocketfactory.cc', | 
 |         'base/basicpacketsocketfactory.h', | 
 |         'base/candidate.h', | 
 |         'base/common.h', | 
 |         'base/constants.cc', | 
 |         'base/constants.h', | 
 |         'base/dtlstransportchannel.cc', | 
 |         'base/dtlstransportchannel.h', | 
 |         'base/p2ptransport.cc', | 
 |         'base/p2ptransport.h', | 
 |         'base/p2ptransportchannel.cc', | 
 |         'base/p2ptransportchannel.h', | 
 |         'base/packetsocketfactory.h', | 
 |         'base/parsing.cc', | 
 |         'base/parsing.h', | 
 |         'base/port.cc', | 
 |         'base/port.h', | 
 |         'base/portallocator.cc', | 
 |         'base/portallocator.h', | 
 |         'base/portallocatorsessionproxy.cc', | 
 |         'base/portallocatorsessionproxy.h', | 
 |         'base/portinterface.h', | 
 |         'base/portproxy.cc', | 
 |         'base/portproxy.h', | 
 |         'base/pseudotcp.cc', | 
 |         'base/pseudotcp.h', | 
 |         'base/rawtransport.cc', | 
 |         'base/rawtransport.h', | 
 |         'base/rawtransportchannel.cc', | 
 |         'base/rawtransportchannel.h', | 
 |         'base/relayport.cc', | 
 |         'base/relayport.h', | 
 |         'base/relayserver.cc', | 
 |         'base/relayserver.h', | 
 |         'base/session.cc', | 
 |         'base/session.h', | 
 |         'base/sessionclient.h', | 
 |         'base/sessiondescription.cc', | 
 |         'base/sessiondescription.h', | 
 |         'base/sessionid.h', | 
 |         'base/sessionmanager.cc', | 
 |         'base/sessionmanager.h', | 
 |         'base/sessionmessages.cc', | 
 |         'base/sessionmessages.h', | 
 |         'base/stun.cc', | 
 |         'base/stun.h', | 
 |         'base/stunport.cc', | 
 |         'base/stunport.h', | 
 |         'base/stunrequest.cc', | 
 |         'base/stunrequest.h', | 
 |         'base/stunserver.cc', | 
 |         'base/stunserver.h', | 
 |         'base/tcpport.cc', | 
 |         'base/tcpport.h', | 
 |         'base/transport.cc', | 
 |         'base/transport.h', | 
 |         'base/transportchannel.cc', | 
 |         'base/transportchannel.h', | 
 |         'base/transportchannelimpl.h', | 
 |         'base/transportchannelproxy.cc', | 
 |         'base/transportchannelproxy.h', | 
 |         'base/transportdescription.cc', | 
 |         'base/transportdescription.h', | 
 |         'base/transportdescriptionfactory.cc', | 
 |         'base/transportdescriptionfactory.h', | 
 |         'base/transportinfo.h', | 
 |         'base/turnport.cc', | 
 |         'base/turnport.h', | 
 |         'base/turnserver.cc', | 
 |         'base/turnserver.h', | 
 |         'base/udpport.h', | 
 |         'client/autoportallocator.h', | 
 |         'client/basicportallocator.cc', | 
 |         'client/basicportallocator.h', | 
 |         'client/connectivitychecker.cc', | 
 |         'client/connectivitychecker.h', | 
 |         'client/httpportallocator.cc', | 
 |         'client/httpportallocator.h', | 
 |         'client/sessionmanagertask.h', | 
 |         'client/sessionsendtask.h', | 
 |         'client/socketmonitor.cc', | 
 |         'client/socketmonitor.h', | 
 |       ], | 
 |       'direct_dependent_settings': { | 
 |         'cflags_cc!': [ | 
 |           '-Wnon-virtual-dtor', | 
 |         ], | 
 |         'defines': [ | 
 |           'FEATURE_ENABLE_VOICEMAIL', | 
 |         ], | 
 |       }, | 
 |       'conditions': [ | 
 |         ['build_with_chromium==0', { | 
 |           'defines': [ | 
 |             'FEATURE_ENABLE_VOICEMAIL', | 
 |             'FEATURE_ENABLE_PSTN', | 
 |           ], | 
 |         }], | 
 |       ], | 
 |     }], | 
 | } | 
 |    |