OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': ['../build/common.gypi'], | 10 'includes': ['../build/common.gypi'], |
(...skipping 13 matching lines...) Expand all Loading... |
24 'dependencies': [ | 24 'dependencies': [ |
25 '<(DEPTH)/third_party/expat/expat.gyp:expat', | 25 '<(DEPTH)/third_party/expat/expat.gyp:expat', |
26 ], | 26 ], |
27 }], | 27 }], |
28 ], | 28 ], |
29 'sources': [ | 29 'sources': [ |
30 'xmpp/jingleinfotask.cc', | 30 'xmpp/jingleinfotask.cc', |
31 'xmpp/jingleinfotask.h', | 31 'xmpp/jingleinfotask.h', |
32 ], | 32 ], |
33 }, # target libjingle_xmpphelp | 33 }, # target libjingle_xmpphelp |
34 { | |
35 'target_name': 'jingle_session', | |
36 'type': 'static_library', | |
37 'dependencies': [ | |
38 '<(talk_root)/libjingle.gyp:libjingle_media', | |
39 '<(webrtc_root)/base/base.gyp:rtc_base', | |
40 '<(webrtc_root)/common.gyp:webrtc_common', | |
41 '<(webrtc_root)/libjingle/xmpp/xmpp.gyp:rtc_xmpp', | |
42 ], | |
43 'cflags_cc!': [ | |
44 '-Wnon-virtual-dtor', | |
45 ], | |
46 'sources': [ | |
47 'session/constants.cc', | |
48 'session/constants.h', | |
49 'session/p2ptransportparser.cc', | |
50 'session/p2ptransportparser.h', | |
51 'session/parsing.cc', | |
52 'session/parsing.h', | |
53 'session/rawtransportparser.cc', | |
54 'session/rawtransportparser.h', | |
55 'session/sessionclient.h', | |
56 'session/sessionmanager.h', | |
57 'session/sessionmanager.cc', | |
58 'session/sessionmanagertask.h', | |
59 'session/sessionmessages.cc', | |
60 'session/sessionmessages.h', | |
61 'session/sessionsendtask.h', | |
62 'session/transportparser.cc', | |
63 'session/transportparser.h', | |
64 'session/media/call.cc', | |
65 'session/media/call.h', | |
66 'session/media/mediasessionclient.cc', | |
67 'session/media/mediasessionclient.h', | |
68 'session/media/mediamessages.cc', | |
69 'session/media/mediamessages.h', | |
70 'session/tunnel/pseudotcpchannel.cc', | |
71 'session/tunnel/pseudotcpchannel.h', | |
72 'session/tunnel/tunnelsessionclient.cc', | |
73 'session/tunnel/tunnelsessionclient.h', | |
74 'session/tunnel/securetunnelsessionclient.cc', | |
75 'session/tunnel/securetunnelsessionclient.h', | |
76 ], | |
77 'direct_dependent_settings': { | |
78 'cflags_cc!': [ | |
79 '-Wnon-virtual-dtor', | |
80 ], | |
81 'defines': [ | |
82 'FEATURE_ENABLE_VOICEMAIL', | |
83 ], | |
84 }, | |
85 'conditions': [ | |
86 ['build_with_chromium==0', { | |
87 'defines': [ | |
88 'FEATURE_ENABLE_VOICEMAIL', | |
89 'FEATURE_ENABLE_PSTN', | |
90 ], | |
91 }], | |
92 ['build_expat==1', { | |
93 'dependencies': [ | |
94 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
95 ], | |
96 'export_dependent_settings': [ | |
97 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
98 ], | |
99 }], | |
100 ], | |
101 }, | |
102 { | |
103 'target_name': 'jingle_session_unittest', | |
104 'type': 'executable', | |
105 'dependencies': [ | |
106 'jingle_session', | |
107 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | |
108 '<(talk_root)/libjingle.gyp:libjingle', | |
109 '<(talk_root)/libjingle.gyp:libjingle_p2p', | |
110 '<(talk_root)/libjingle_tests.gyp:libjingle_unittest_main', | |
111 ], | |
112 'sources': [ | |
113 'session/media/mediamessages_unittest.cc', | |
114 'session/media/mediasessionclient_unittest.cc', | |
115 'session/session_unittest.cc', | |
116 'session/transportparser_unittest.cc', | |
117 ], | |
118 'conditions': [ | |
119 ['OS=="win"', { | |
120 'msvs_settings': { | |
121 'VCLinkerTool': { | |
122 'AdditionalDependencies': [ | |
123 'strmiids.lib', | |
124 ], | |
125 }, | |
126 }, | |
127 }], | |
128 ], | |
129 }, # target jingle_session_unittest | |
130 { | |
131 'target_name': 'login', | |
132 'type': 'executable', | |
133 'dependencies': [ | |
134 'libjingle_xmpphelp', | |
135 '<(talk_root)/libjingle.gyp:libjingle', | |
136 ], | |
137 'sources': [ | |
138 'examples/login/login_main.cc', | |
139 ], | |
140 }, # target login | |
141 ], | |
142 'conditions': [ | |
143 # TODO(ronghuawu): Reenable building call. | |
144 # ['OS!="android"', { | |
145 # 'targets': [ | |
146 # { | |
147 # 'target_name': 'call', | |
148 # 'type': 'executable', | |
149 # 'dependencies': [ | |
150 # 'libjingle.gyp:libjingle_p2p', | |
151 # 'libjingle_xmpphelp', | |
152 # ], | |
153 # 'sources': [ | |
154 # 'examples/call/call_main.cc', | |
155 # 'examples/call/callclient.cc', | |
156 # 'examples/call/callclient.h', | |
157 # 'examples/call/console.cc', | |
158 # 'examples/call/console.h', | |
159 # 'examples/call/friendinvitesendtask.cc', | |
160 # 'examples/call/friendinvitesendtask.h', | |
161 # 'examples/call/mediaenginefactory.cc', | |
162 # 'examples/call/mediaenginefactory.h', | |
163 # 'examples/call/muc.h', | |
164 # 'examples/call/mucinviterecvtask.cc', | |
165 # 'examples/call/mucinviterecvtask.h', | |
166 # 'examples/call/mucinvitesendtask.cc', | |
167 # 'examples/call/mucinvitesendtask.h', | |
168 # 'examples/call/presencepushtask.cc', | |
169 # 'examples/call/presencepushtask.h', | |
170 # ], | |
171 # 'conditions': [ | |
172 # ['OS=="linux"', { | |
173 # 'link_settings': { | |
174 # 'libraries': [ | |
175 # '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0' | |
176 # ' gtk+-2.0)', | |
177 # ], | |
178 # }, | |
179 # }], | |
180 # ['OS=="win"', { | |
181 # 'msvs_settings': { | |
182 # 'VCLinkerTool': { | |
183 # 'AdditionalDependencies': [ | |
184 # 'strmiids.lib', | |
185 # ], | |
186 # }, | |
187 # }, | |
188 # }], | |
189 # ], # conditions | |
190 # }, # target call | |
191 # ], # targets | |
192 # }], # OS!="android" | |
193 ], | 34 ], |
194 } | 35 } |
OLD | NEW |