Fix compile breakage from r336003.
[chromium-blink-merge.git] / third_party / libjingle / libjingle_common.gypi
blob26b0ad588028d144db5f9ab36040e7e8d3e6a715
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
3 # found in the LICENSE file.
6   'variables': {
7     'nacl_untrusted_build%': 0,
8     'webrtc_p2p': "../webrtc/p2p",
9     'webrtc_xmpp': "../webrtc/libjingle/xmpp",
10   },
11   'sources': [
12     '<(webrtc_p2p)/base/asyncstuntcpsocket.cc',
13     '<(webrtc_p2p)/base/asyncstuntcpsocket.h',
14     '<(webrtc_p2p)/base/basicpacketsocketfactory.cc',
15     '<(webrtc_p2p)/base/basicpacketsocketfactory.h',
16     '<(webrtc_p2p)/base/candidate.h',
17     '<(webrtc_p2p)/base/common.h',
18     '<(webrtc_p2p)/base/constants.cc',
19     '<(webrtc_p2p)/base/constants.h',
20     '<(webrtc_p2p)/base/dtlstransport.h',
21     '<(webrtc_p2p)/base/dtlstransportchannel.cc',
22     '<(webrtc_p2p)/base/dtlstransportchannel.h',
23     '<(webrtc_p2p)/base/p2ptransport.cc',
24     '<(webrtc_p2p)/base/p2ptransport.h',
25     '<(webrtc_p2p)/base/p2ptransportchannel.cc',
26     '<(webrtc_p2p)/base/p2ptransportchannel.h',
27     '<(webrtc_p2p)/base/port.cc',
28     '<(webrtc_p2p)/base/port.h',
29     '<(webrtc_p2p)/base/portallocator.cc',
30     '<(webrtc_p2p)/base/portallocator.h',
31     '<(webrtc_p2p)/base/pseudotcp.cc',
32     '<(webrtc_p2p)/base/pseudotcp.h',
33     '<(webrtc_p2p)/base/rawtransport.cc',
34     '<(webrtc_p2p)/base/rawtransport.h',
35     '<(webrtc_p2p)/base/rawtransportchannel.cc',
36     '<(webrtc_p2p)/base/rawtransportchannel.h',
37     '<(webrtc_p2p)/base/relayport.cc',
38     '<(webrtc_p2p)/base/relayport.h',
39     '<(webrtc_p2p)/base/session.cc',
40     '<(webrtc_p2p)/base/session.h',
41     '<(webrtc_p2p)/base/sessiondescription.cc',
42     '<(webrtc_p2p)/base/sessiondescription.h',
43     '<(webrtc_p2p)/base/sessionid.h',
44     '<(webrtc_p2p)/base/stun.cc',
45     '<(webrtc_p2p)/base/stun.h',
46     '<(webrtc_p2p)/base/stunport.cc',
47     '<(webrtc_p2p)/base/stunport.h',
48     '<(webrtc_p2p)/base/stunrequest.cc',
49     '<(webrtc_p2p)/base/stunrequest.h',
50     '<(webrtc_p2p)/base/tcpport.cc',
51     '<(webrtc_p2p)/base/tcpport.h',
52     '<(webrtc_p2p)/base/transport.cc',
53     '<(webrtc_p2p)/base/transport.h',
54     '<(webrtc_p2p)/base/transportchannel.cc',
55     '<(webrtc_p2p)/base/transportchannel.h',
56     '<(webrtc_p2p)/base/transportchannelimpl.h',
57     '<(webrtc_p2p)/base/transportchannelproxy.cc',
58     '<(webrtc_p2p)/base/transportchannelproxy.h',
59     '<(webrtc_p2p)/base/transportdescription.cc',
60     '<(webrtc_p2p)/base/transportdescription.h',
61     '<(webrtc_p2p)/base/transportdescriptionfactory.cc',
62     '<(webrtc_p2p)/base/transportdescriptionfactory.h',
63     '<(webrtc_p2p)/base/turnport.cc',
64     '<(webrtc_p2p)/base/turnport.h',
65     '<(webrtc_p2p)/client/basicportallocator.cc',
66     '<(webrtc_p2p)/client/basicportallocator.h',
67     '<(webrtc_p2p)/client/httpportallocator.cc',
68     '<(webrtc_p2p)/client/httpportallocator.h',
69     '<(webrtc_p2p)/client/socketmonitor.cc',
70     '<(webrtc_p2p)/client/socketmonitor.h',
71     '<(webrtc_xmpp)/asyncsocket.h',
72     '<(webrtc_xmpp)/constants.cc',
73     '<(webrtc_xmpp)/constants.h',
74     '<(webrtc_xmpp)/jid.cc',
75     '<(webrtc_xmpp)/jid.h',
76     '<(webrtc_xmpp)/plainsaslhandler.h',
77     '<(webrtc_xmpp)/prexmppauth.h',
78     '<(webrtc_xmpp)/saslcookiemechanism.h',
79     '<(webrtc_xmpp)/saslhandler.h',
80     '<(webrtc_xmpp)/saslmechanism.cc',
81     '<(webrtc_xmpp)/saslmechanism.h',
82     '<(webrtc_xmpp)/saslplainmechanism.h',
83     '<(webrtc_xmpp)/xmppclient.cc',
84     '<(webrtc_xmpp)/xmppclient.h',
85     '<(webrtc_xmpp)/xmppclientsettings.h',
86     '<(webrtc_xmpp)/xmppengine.h',
87     '<(webrtc_xmpp)/xmppengineimpl.cc',
88     '<(webrtc_xmpp)/xmppengineimpl.h',
89     '<(webrtc_xmpp)/xmppengineimpl_iq.cc',
90     '<(webrtc_xmpp)/xmpplogintask.cc',
91     '<(webrtc_xmpp)/xmpplogintask.h',
92     '<(webrtc_xmpp)/xmppstanzaparser.cc',
93     '<(webrtc_xmpp)/xmppstanzaparser.h',
94     '<(webrtc_xmpp)/xmpptask.cc',
95     '<(webrtc_xmpp)/xmpptask.h',
96   ],
97   'conditions': [
98     ['OS=="win" and nacl_untrusted_build==0', {
99       # Suppress warnings about WIN32_LEAN_AND_MEAN.
100       'msvs_disabled_warnings': [ 4005, 4267 ],
101     }, {
102       'sources/': [
103         ['exclude', '/win[a-z0-9]+\\.(h|cc)$'],
104         ['exclude', '/schanneladapter\\.(h|cc)$'],
105       ],
106     }],
107     ['os_posix!=1 and nacl_untrusted_build==0', {
108       'sources/': [
109         ['exclude', '/unix[a-z]+\\.(h|cc)$'],
110       ],
111     }],
112     ['(OS!="mac" and OS!="ios") or nacl_untrusted_build==1', {
113       'sources/': [
114         ['exclude', '/mac[a-z]+\\.(h|cc)$'],
115         ['exclude', '/scoped_autorelease_pool\\.(h|mm)$'],
116       ],
117     }],
118     ['use_openssl!=1', {
119       'sources/': [
120         ['exclude', '/openssl[a-z]+\\.(h|cc)$'],
121       ],
122     }],
123   ],