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 { | 5 { |
6 'variables': { | |
7 'nacl_untrusted_build%': 0, | |
8 'webrtc_p2p': "../webrtc/p2p", | |
9 'webrtc_xmpp': "../webrtc/libjingle/xmpp", | |
10 }, | |
11 'sources': [ | 6 'sources': [ |
12 'overrides/field_trial.cc', | 7 'overrides/field_trial.cc', |
13 '<(webrtc_p2p)/base/asyncstuntcpsocket.cc', | |
14 '<(webrtc_p2p)/base/asyncstuntcpsocket.h', | |
15 '<(webrtc_p2p)/base/basicpacketsocketfactory.cc', | |
16 '<(webrtc_p2p)/base/basicpacketsocketfactory.h', | |
17 '<(webrtc_p2p)/base/candidate.h', | |
18 '<(webrtc_p2p)/base/common.h', | |
19 '<(webrtc_p2p)/base/dtlstransport.h', | |
20 '<(webrtc_p2p)/base/dtlstransportchannel.cc', | |
21 '<(webrtc_p2p)/base/dtlstransportchannel.h', | |
22 '<(webrtc_p2p)/base/p2pconstants.cc', | |
23 '<(webrtc_p2p)/base/p2pconstants.h', | |
24 '<(webrtc_p2p)/base/p2ptransport.cc', | |
25 '<(webrtc_p2p)/base/p2ptransport.h', | |
26 '<(webrtc_p2p)/base/p2ptransportchannel.cc', | |
27 '<(webrtc_p2p)/base/p2ptransportchannel.h', | |
28 '<(webrtc_p2p)/base/port.cc', | |
29 '<(webrtc_p2p)/base/port.h', | |
30 '<(webrtc_p2p)/base/portallocator.cc', | |
31 '<(webrtc_p2p)/base/portallocator.h', | |
32 '<(webrtc_p2p)/base/pseudotcp.cc', | |
33 '<(webrtc_p2p)/base/pseudotcp.h', | |
34 '<(webrtc_p2p)/base/rawtransport.cc', | |
35 '<(webrtc_p2p)/base/rawtransport.h', | |
36 '<(webrtc_p2p)/base/rawtransportchannel.cc', | |
37 '<(webrtc_p2p)/base/rawtransportchannel.h', | |
38 '<(webrtc_p2p)/base/relayport.cc', | |
39 '<(webrtc_p2p)/base/relayport.h', | |
40 '<(webrtc_p2p)/base/session.cc', | |
41 '<(webrtc_p2p)/base/session.h', | |
42 '<(webrtc_p2p)/base/sessiondescription.cc', | |
43 '<(webrtc_p2p)/base/sessiondescription.h', | |
44 '<(webrtc_p2p)/base/sessionid.h', | |
45 '<(webrtc_p2p)/base/stun.cc', | |
46 '<(webrtc_p2p)/base/stun.h', | |
47 '<(webrtc_p2p)/base/stunport.cc', | |
48 '<(webrtc_p2p)/base/stunport.h', | |
49 '<(webrtc_p2p)/base/stunrequest.cc', | |
50 '<(webrtc_p2p)/base/stunrequest.h', | |
51 '<(webrtc_p2p)/base/tcpport.cc', | |
52 '<(webrtc_p2p)/base/tcpport.h', | |
53 '<(webrtc_p2p)/base/transport.cc', | |
54 '<(webrtc_p2p)/base/transport.h', | |
55 '<(webrtc_p2p)/base/transportchannel.cc', | |
56 '<(webrtc_p2p)/base/transportchannel.h', | |
57 '<(webrtc_p2p)/base/transportchannelimpl.h', | |
58 '<(webrtc_p2p)/base/transportcontroller.cc', | |
59 '<(webrtc_p2p)/base/transportcontroller.h', | |
60 '<(webrtc_p2p)/base/transportdescription.cc', | |
61 '<(webrtc_p2p)/base/transportdescription.h', | |
62 '<(webrtc_p2p)/base/transportdescriptionfactory.cc', | |
63 '<(webrtc_p2p)/base/transportdescriptionfactory.h', | |
64 '<(webrtc_p2p)/base/turnport.cc', | |
65 '<(webrtc_p2p)/base/turnport.h', | |
66 '<(webrtc_p2p)/client/basicportallocator.cc', | |
67 '<(webrtc_p2p)/client/basicportallocator.h', | |
68 '<(webrtc_p2p)/client/httpportallocator.cc', | |
69 '<(webrtc_p2p)/client/httpportallocator.h', | |
70 '<(webrtc_p2p)/client/socketmonitor.cc', | |
71 '<(webrtc_p2p)/client/socketmonitor.h', | |
72 '<(webrtc_xmpp)/asyncsocket.h', | |
73 '<(webrtc_xmpp)/constants.cc', | |
74 '<(webrtc_xmpp)/constants.h', | |
75 '<(webrtc_xmpp)/jid.cc', | |
76 '<(webrtc_xmpp)/jid.h', | |
77 '<(webrtc_xmpp)/plainsaslhandler.h', | |
78 '<(webrtc_xmpp)/prexmppauth.h', | |
79 '<(webrtc_xmpp)/saslcookiemechanism.h', | |
80 '<(webrtc_xmpp)/saslhandler.h', | |
81 '<(webrtc_xmpp)/saslmechanism.cc', | |
82 '<(webrtc_xmpp)/saslmechanism.h', | |
83 '<(webrtc_xmpp)/saslplainmechanism.h', | |
84 '<(webrtc_xmpp)/xmppclient.cc', | |
85 '<(webrtc_xmpp)/xmppclient.h', | |
86 '<(webrtc_xmpp)/xmppclientsettings.h', | |
87 '<(webrtc_xmpp)/xmppengine.h', | |
88 '<(webrtc_xmpp)/xmppengineimpl.cc', | |
89 '<(webrtc_xmpp)/xmppengineimpl.h', | |
90 '<(webrtc_xmpp)/xmppengineimpl_iq.cc', | |
91 '<(webrtc_xmpp)/xmpplogintask.cc', | |
92 '<(webrtc_xmpp)/xmpplogintask.h', | |
93 '<(webrtc_xmpp)/xmppstanzaparser.cc', | |
94 '<(webrtc_xmpp)/xmppstanzaparser.h', | |
95 '<(webrtc_xmpp)/xmpptask.cc', | |
96 '<(webrtc_xmpp)/xmpptask.h', | |
97 ], | 8 ], |
98 'conditions': [ | 9 'conditions': [ |
99 ['OS=="win" and nacl_untrusted_build==0', { | 10 ['OS=="win"', { |
100 # Suppress warnings about WIN32_LEAN_AND_MEAN. | 11 'msvs_disabled_warnings': [ |
101 'msvs_disabled_warnings': [ 4005, 4267 ], | 12 4005, # WIN32_LEAN_AND_MEAN. |
102 }, { | 13 4267, # size_t to int truncations. |
103 'sources/': [ | |
104 ['exclude', '/win[a-z0-9]+\\.(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 ], | 14 ], |
117 }], | 15 }], |
118 ], | 16 ], |
119 } | 17 } |
OLD | NEW |