OLD | NEW |
| (Empty) |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | |
2 # | |
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 | |
5 # tree. An additional intellectual property rights grant can be found | |
6 # in the file PATENTS. All contributing project authors may | |
7 # be found in the AUTHORS file in the root of the source tree. | |
8 | |
9 { | |
10 'includes': [ '../../build/common.gypi', ], | |
11 'targets': [ | |
12 { | |
13 'target_name': 'rtc_xmpp', | |
14 'type': 'static_library', | |
15 'dependencies': [ | |
16 '<(webrtc_root)/base/base.gyp:rtc_base', | |
17 '<(webrtc_root)/libjingle/xmllite/xmllite.gyp:rtc_xmllite', | |
18 ], | |
19 'defines': [ | |
20 'FEATURE_ENABLE_SSL', | |
21 ], | |
22 'sources': [ | |
23 'asyncsocket.h', | |
24 'constants.cc', | |
25 'constants.h', | |
26 'jid.cc', | |
27 'jid.h', | |
28 'plainsaslhandler.h', | |
29 'prexmppauth.h', | |
30 'saslcookiemechanism.h', | |
31 'saslhandler.h', | |
32 'saslmechanism.cc', | |
33 'saslmechanism.h', | |
34 'saslplainmechanism.h', | |
35 'xmppclient.cc', | |
36 'xmppclient.h', | |
37 'xmppclientsettings.h', | |
38 'xmppengine.h', | |
39 'xmppengineimpl.cc', | |
40 'xmppengineimpl.h', | |
41 'xmppengineimpl_iq.cc', | |
42 'xmpplogintask.cc', | |
43 'xmpplogintask.h', | |
44 'xmppstanzaparser.cc', | |
45 'xmppstanzaparser.h', | |
46 'xmpptask.cc', | |
47 'xmpptask.h', | |
48 ], | |
49 'direct_dependent_settings': { | |
50 'defines': [ | |
51 'FEATURE_ENABLE_SSL', | |
52 'FEATURE_ENABLE_VOICEMAIL', | |
53 ], | |
54 }, | |
55 'conditions': [ | |
56 ['build_expat==1', { | |
57 'dependencies': [ | |
58 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
59 ], | |
60 'export_dependent_settings': [ | |
61 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
62 ], | |
63 }], | |
64 ['build_with_chromium==0', { | |
65 'defines': [ | |
66 'FEATURE_ENABLE_VOICEMAIL', | |
67 'FEATURE_ENABLE_PSTN', | |
68 ], | |
69 'sources': [ | |
70 'chatroommodule.h', | |
71 'chatroommoduleimpl.cc', | |
72 'discoitemsquerytask.cc', | |
73 'discoitemsquerytask.h', | |
74 'hangoutpubsubclient.cc', | |
75 'hangoutpubsubclient.h', | |
76 'iqtask.cc', | |
77 'iqtask.h', | |
78 'module.h', | |
79 'moduleimpl.cc', | |
80 'moduleimpl.h', | |
81 'mucroomconfigtask.cc', | |
82 'mucroomconfigtask.h', | |
83 'mucroomdiscoverytask.cc', | |
84 'mucroomdiscoverytask.h', | |
85 'mucroomlookuptask.cc', | |
86 'mucroomlookuptask.h', | |
87 'mucroomuniquehangoutidtask.cc', | |
88 'mucroomuniquehangoutidtask.h', | |
89 'pingtask.cc', | |
90 'pingtask.h', | |
91 'presenceouttask.cc', | |
92 'presenceouttask.h', | |
93 'presencereceivetask.cc', | |
94 'presencereceivetask.h', | |
95 'presencestatus.cc', | |
96 'presencestatus.h', | |
97 'pubsub_task.cc', | |
98 'pubsub_task.h', | |
99 'pubsubclient.cc', | |
100 'pubsubclient.h', | |
101 'pubsubstateclient.cc', | |
102 'pubsubstateclient.h', | |
103 'pubsubtasks.cc', | |
104 'pubsubtasks.h', | |
105 'receivetask.cc', | |
106 'receivetask.h', | |
107 'rostermodule.h', | |
108 'rostermoduleimpl.cc', | |
109 'rostermoduleimpl.h', | |
110 'xmppauth.cc', | |
111 'xmppauth.h', | |
112 'xmpppump.cc', | |
113 'xmpppump.h', | |
114 'xmppsocket.cc', | |
115 'xmppsocket.h', | |
116 'xmppthread.cc', | |
117 'xmppthread.h', | |
118 ] | |
119 }], | |
120 ['os_posix==1', { | |
121 'configurations': { | |
122 'Debug_Base': { | |
123 'defines': [ | |
124 # Chromium's build/common.gypi defines this for all posix | |
125 # _except_ for ios & mac. We want it there as well, e.g. | |
126 # because ASSERT and friends trigger off of it. | |
127 '_DEBUG', | |
128 ], | |
129 }, | |
130 } | |
131 }], | |
132 ['OS=="android"', { | |
133 'cflags!': [ | |
134 '-Wextra', | |
135 '-Wall', | |
136 ], | |
137 }], | |
138 ], | |
139 }, | |
140 ], # targets | |
141 } | |
142 | |
OLD | NEW |