Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: third_party/libjingle/libjingle_nacl.gyp

Issue 653203005: Roll WebRTC 7546:7549. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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': { 6 'variables': {
7 'libjingle_source': "source", 7 'libjingle_source': "source",
8 'webrtc_base': "../webrtc/base", 8 'webrtc_base': "../webrtc/base",
9 'webrtc_p2p': "../webrtc/p2p",
9 'webrtc_xmllite': "../webrtc/libjingle/xmllite", 10 'webrtc_xmllite': "../webrtc/libjingle/xmllite",
11 'webrtc_xmpp': "../webrtc/libjingle/xmpp",
10 }, 12 },
11 'includes': [ 13 'includes': [
12 '../../native_client/build/untrusted.gypi', 14 '../../native_client/build/untrusted.gypi',
13 ], 15 ],
14 'targets': [ 16 'targets': [
15 { 17 {
16 'target_name': 'libjingle_nacl', 18 'target_name': 'libjingle_nacl',
17 'type': 'none', 19 'type': 'none',
18 'variables': { 20 'variables': {
19 'nlib_target': 'libjingle_nacl.a', 21 'nlib_target': 'libjingle_nacl.a',
20 'nacl_untrusted_build': 1, 22 'nacl_untrusted_build': 1,
21 'build_glibc': 0, 23 'build_glibc': 0,
22 'build_newlib': 0, 24 'build_newlib': 0,
23 'build_pnacl_newlib': 1, 25 'build_pnacl_newlib': 1,
24 'use_openssl': 1, 26 'use_openssl': 1,
25 }, 27 },
26 'dependencies': [ 28 'dependencies': [
27 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', 29 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
28 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr usted', 30 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr usted',
29 '<(DEPTH)/third_party/expat/expat_nacl.gyp:expat_nacl', 31 '<(DEPTH)/third_party/expat/expat_nacl.gyp:expat_nacl',
30 '<(DEPTH)/third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl', 32 '<(DEPTH)/third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl',
31 'libjingle_p2p_constants_nacl',
32 ], 33 ],
33 'defines': [ 34 'defines': [
34 'EXPAT_RELATIVE_PATH', 35 'EXPAT_RELATIVE_PATH',
35 'FEATURE_ENABLE_SSL', 36 'FEATURE_ENABLE_SSL',
36 'GTEST_RELATIVE_PATH', 37 'GTEST_RELATIVE_PATH',
37 'HAVE_OPENSSL_SSL_H', 38 'HAVE_OPENSSL_SSL_H',
38 'NO_MAIN_THREAD_WRAPPING', 39 'NO_MAIN_THREAD_WRAPPING',
39 'NO_SOUND_SYSTEM', 40 'NO_SOUND_SYSTEM',
40 'POSIX', 41 'POSIX',
41 'WEBRTC_POSIX', 42 'WEBRTC_POSIX',
42 'SRTP_RELATIVE_PATH', 43 'SRTP_RELATIVE_PATH',
43 'SSL_USE_OPENSSL', 44 'SSL_USE_OPENSSL',
44 'USE_WEBRTC_DEV_BRANCH', 45 'USE_WEBRTC_DEV_BRANCH',
45 'timezone=_timezone', 46 'timezone=_timezone',
46 ], 47 ],
47 'configurations': { 48 'configurations': {
48 'Debug': { 49 'Debug': {
49 'defines': [ 50 'defines': [
50 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of 51 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of
51 # _DEBUG and remove this define. See below as well. 52 # _DEBUG and remove this define. See below as well.
52 '_DEBUG', 53 '_DEBUG',
53 ], 54 ],
54 } 55 }
55 }, 56 },
56 'include_dirs': [ 57 'include_dirs': [
57 './<(libjingle_source)', 58 './<(libjingle_source)',
58 '../', 59 '../',
59 ], 60 ],
60 'includes': ['libjingle_common.gypi', ],
61 'sources': [ 61 'sources': [
62 '<(webrtc_base)/asyncfile.cc', 62 '<(webrtc_base)/asyncfile.cc',
63 '<(webrtc_base)/asyncfile.h', 63 '<(webrtc_base)/asyncfile.h',
64 '<(webrtc_base)/asynchttprequest.cc', 64 '<(webrtc_base)/asynchttprequest.cc',
65 '<(webrtc_base)/asynchttprequest.h', 65 '<(webrtc_base)/asynchttprequest.h',
66 '<(webrtc_base)/asyncpacketsocket.h', 66 '<(webrtc_base)/asyncpacketsocket.h',
67 '<(webrtc_base)/asyncsocket.cc', 67 '<(webrtc_base)/asyncsocket.cc',
68 '<(webrtc_base)/asyncsocket.h', 68 '<(webrtc_base)/asyncsocket.h',
69 '<(webrtc_base)/asynctcpsocket.cc', 69 '<(webrtc_base)/asynctcpsocket.cc',
70 '<(webrtc_base)/asynctcpsocket.h', 70 '<(webrtc_base)/asynctcpsocket.h',
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 '<(webrtc_base)/win32filesystem.h', 224 '<(webrtc_base)/win32filesystem.h',
225 '<(webrtc_base)/win32securityerrors.cc', 225 '<(webrtc_base)/win32securityerrors.cc',
226 '<(webrtc_base)/win32window.cc', 226 '<(webrtc_base)/win32window.cc',
227 '<(webrtc_base)/win32window.h', 227 '<(webrtc_base)/win32window.h',
228 '<(webrtc_base)/winfirewall.cc', 228 '<(webrtc_base)/winfirewall.cc',
229 '<(webrtc_base)/winfirewall.h', 229 '<(webrtc_base)/winfirewall.h',
230 '<(webrtc_base)/winping.cc', 230 '<(webrtc_base)/winping.cc',
231 '<(webrtc_base)/winping.h', 231 '<(webrtc_base)/winping.h',
232 '<(webrtc_base)/worker.cc', 232 '<(webrtc_base)/worker.cc',
233 '<(webrtc_base)/worker.h', 233 '<(webrtc_base)/worker.h',
234 '<(webrtc_p2p)/base/asyncstuntcpsocket.cc',
235 '<(webrtc_p2p)/base/asyncstuntcpsocket.h',
236 '<(webrtc_p2p)/base/basicpacketsocketfactory.cc',
237 '<(webrtc_p2p)/base/basicpacketsocketfactory.h',
238 '<(webrtc_p2p)/base/candidate.h',
239 '<(webrtc_p2p)/base/common.h',
240 '<(webrtc_p2p)/base/constants.cc',
241 '<(webrtc_p2p)/base/constants.h',
242 '<(webrtc_p2p)/base/dtlstransport.h',
243 '<(webrtc_p2p)/base/dtlstransportchannel.cc',
244 '<(webrtc_p2p)/base/dtlstransportchannel.h',
245 '<(webrtc_p2p)/base/p2ptransport.cc',
246 '<(webrtc_p2p)/base/p2ptransport.h',
247 '<(webrtc_p2p)/base/p2ptransportchannel.cc',
248 '<(webrtc_p2p)/base/p2ptransportchannel.h',
249 '<(webrtc_p2p)/base/parsing.cc',
250 '<(webrtc_p2p)/base/parsing.h',
251 '<(webrtc_p2p)/base/port.cc',
252 '<(webrtc_p2p)/base/port.h',
253 '<(webrtc_p2p)/base/portallocator.cc',
254 '<(webrtc_p2p)/base/portallocator.h',
255 '<(webrtc_p2p)/base/portallocatorsessionproxy.cc',
256 '<(webrtc_p2p)/base/portallocatorsessionproxy.h',
257 '<(webrtc_p2p)/base/portproxy.cc',
258 '<(webrtc_p2p)/base/portproxy.h',
259 '<(webrtc_p2p)/base/pseudotcp.cc',
260 '<(webrtc_p2p)/base/pseudotcp.h',
261 '<(webrtc_p2p)/base/rawtransport.cc',
262 '<(webrtc_p2p)/base/rawtransport.h',
263 '<(webrtc_p2p)/base/rawtransportchannel.cc',
264 '<(webrtc_p2p)/base/rawtransportchannel.h',
265 '<(webrtc_p2p)/base/relayport.cc',
266 '<(webrtc_p2p)/base/relayport.h',
267 '<(webrtc_p2p)/base/session.cc',
268 '<(webrtc_p2p)/base/session.h',
269 '<(webrtc_p2p)/base/sessionclient.h',
270 '<(webrtc_p2p)/base/sessiondescription.cc',
271 '<(webrtc_p2p)/base/sessiondescription.h',
272 '<(webrtc_p2p)/base/sessionid.h',
273 '<(webrtc_p2p)/base/sessionmanager.cc',
274 '<(webrtc_p2p)/base/sessionmanager.h',
275 '<(webrtc_p2p)/base/sessionmessages.cc',
276 '<(webrtc_p2p)/base/sessionmessages.h',
277 '<(webrtc_p2p)/base/stun.cc',
278 '<(webrtc_p2p)/base/stun.h',
279 '<(webrtc_p2p)/base/stunport.cc',
280 '<(webrtc_p2p)/base/stunport.h',
281 '<(webrtc_p2p)/base/stunrequest.cc',
282 '<(webrtc_p2p)/base/stunrequest.h',
283 '<(webrtc_p2p)/base/tcpport.cc',
284 '<(webrtc_p2p)/base/tcpport.h',
285 '<(webrtc_p2p)/base/transport.cc',
286 '<(webrtc_p2p)/base/transport.h',
287 '<(webrtc_p2p)/base/transportchannel.cc',
288 '<(webrtc_p2p)/base/transportchannel.h',
289 '<(webrtc_p2p)/base/transportchannelimpl.h',
290 '<(webrtc_p2p)/base/transportchannelproxy.cc',
291 '<(webrtc_p2p)/base/transportchannelproxy.h',
292 '<(webrtc_p2p)/base/transportdescription.cc',
293 '<(webrtc_p2p)/base/transportdescription.h',
294 '<(webrtc_p2p)/base/transportdescriptionfactory.cc',
295 '<(webrtc_p2p)/base/transportdescriptionfactory.h',
296 '<(webrtc_p2p)/base/turnport.cc',
297 '<(webrtc_p2p)/base/turnport.h',
298 '<(webrtc_p2p)/client/basicportallocator.cc',
299 '<(webrtc_p2p)/client/basicportallocator.h',
300 '<(webrtc_p2p)/client/httpportallocator.cc',
301 '<(webrtc_p2p)/client/httpportallocator.h',
302 '<(webrtc_p2p)/client/sessionmanagertask.h',
303 '<(webrtc_p2p)/client/sessionsendtask.h',
304 '<(webrtc_p2p)/client/socketmonitor.cc',
305 '<(webrtc_p2p)/client/socketmonitor.h',
234 '<(webrtc_xmllite)/qname.cc', 306 '<(webrtc_xmllite)/qname.cc',
235 '<(webrtc_xmllite)/qname.h', 307 '<(webrtc_xmllite)/qname.h',
236 '<(webrtc_xmllite)/xmlbuilder.cc', 308 '<(webrtc_xmllite)/xmlbuilder.cc',
237 '<(webrtc_xmllite)/xmlbuilder.h', 309 '<(webrtc_xmllite)/xmlbuilder.h',
238 '<(webrtc_xmllite)/xmlconstants.cc', 310 '<(webrtc_xmllite)/xmlconstants.cc',
239 '<(webrtc_xmllite)/xmlconstants.h', 311 '<(webrtc_xmllite)/xmlconstants.h',
240 '<(webrtc_xmllite)/xmlelement.cc', 312 '<(webrtc_xmllite)/xmlelement.cc',
241 '<(webrtc_xmllite)/xmlelement.h', 313 '<(webrtc_xmllite)/xmlelement.h',
242 '<(webrtc_xmllite)/xmlnsstack.cc', 314 '<(webrtc_xmllite)/xmlnsstack.cc',
243 '<(webrtc_xmllite)/xmlnsstack.h', 315 '<(webrtc_xmllite)/xmlnsstack.h',
244 '<(webrtc_xmllite)/xmlparser.cc', 316 '<(webrtc_xmllite)/xmlparser.cc',
245 '<(webrtc_xmllite)/xmlparser.h', 317 '<(webrtc_xmllite)/xmlparser.h',
246 '<(webrtc_xmllite)/xmlprinter.cc', 318 '<(webrtc_xmllite)/xmlprinter.cc',
247 '<(webrtc_xmllite)/xmlprinter.h', 319 '<(webrtc_xmllite)/xmlprinter.h',
248 ], 320 '<(webrtc_xmpp)/asyncsocket.h',
249 'sources!': [ 321 '<(webrtc_xmpp)/constants.cc',
250 # Compiled as part of libjingle_p2p_constants_nacl. 322 '<(webrtc_xmpp)/constants.h',
251 '<(libjingle_source)/talk/p2p/base/constants.cc', 323 '<(webrtc_xmpp)/jid.cc',
252 '<(libjingle_source)/talk/p2p/base/constants.h', 324 '<(webrtc_xmpp)/jid.h',
325 '<(webrtc_xmpp)/plainsaslhandler.h',
326 '<(webrtc_xmpp)/prexmppauth.h',
327 '<(webrtc_xmpp)/saslcookiemechanism.h',
328 '<(webrtc_xmpp)/saslhandler.h',
329 '<(webrtc_xmpp)/saslmechanism.cc',
330 '<(webrtc_xmpp)/saslmechanism.h',
331 '<(webrtc_xmpp)/saslplainmechanism.h',
332 '<(webrtc_xmpp)/xmppclient.cc',
333 '<(webrtc_xmpp)/xmppclient.h',
334 '<(webrtc_xmpp)/xmppclientsettings.h',
335 '<(webrtc_xmpp)/xmppengine.h',
336 '<(webrtc_xmpp)/xmppengineimpl.cc',
337 '<(webrtc_xmpp)/xmppengineimpl.h',
338 '<(webrtc_xmpp)/xmppengineimpl_iq.cc',
339 '<(webrtc_xmpp)/xmpplogintask.cc',
340 '<(webrtc_xmpp)/xmpplogintask.h',
341 '<(webrtc_xmpp)/xmppstanzaparser.cc',
342 '<(webrtc_xmpp)/xmppstanzaparser.h',
343 '<(webrtc_xmpp)/xmpptask.cc',
344 '<(webrtc_xmpp)/xmpptask.h',
253 ], 345 ],
254 'sources/': [ 346 'sources/': [
255 ['exclude', '/mac[a-z]+\\.(h|cc)$'], 347 ['exclude', '/mac[a-z]+\\.(h|cc)$'],
256 ['exclude', '/scoped_autorelease_pool\\.(h|mm)$'], 348 ['exclude', '/scoped_autorelease_pool\\.(h|mm)$'],
257 ], 349 ],
258 'conditions': [ 350 'conditions': [
259 ['OS!="win"', { 351 ['OS!="win"', {
260 'sources/': [ 352 'sources/': [
261 ['exclude', '/win[a-z0-9]+\\.(h|cc)$'], 353 ['exclude', '/win[a-z0-9]+\\.(h|cc)$'],
262 ['exclude', '/schanneladapter\\.(h|cc)$'], 354 ['exclude', '/schanneladapter\\.(h|cc)$'],
(...skipping 18 matching lines...) Expand all
281 'WEBRTC_POSIX', 373 'WEBRTC_POSIX',
282 'SRTP_RELATIVE_PATH', 374 'SRTP_RELATIVE_PATH',
283 'SSL_USE_OPENSSL', 375 'SSL_USE_OPENSSL',
284 'USE_WEBRTC_DEV_BRANCH', 376 'USE_WEBRTC_DEV_BRANCH',
285 ], 377 ],
286 }, 378 },
287 'export_dependent_settings': [ 379 'export_dependent_settings': [
288 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr usted', 380 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr usted',
289 ], 381 ],
290 }, # end of target 'libjingle_nacl' 382 }, # end of target 'libjingle_nacl'
291
292 {
293 'target_name': 'libjingle_p2p_constants_nacl',
294 'type': 'none',
295 'variables': {
296 'nlib_target': 'libjingle_p2p_constants_nacl.a',
297 'build_glibc': 0,
298 'build_newlib': 1,
299 'build_pnacl_newlib': 1,
300 },
301 'configurations': {
302 'Debug': {
303 'defines': [
304 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of
305 # _DEBUG and remove this define. See below as well.
306 '_DEBUG',
307 ],
308 }
309 },
310 'include_dirs': [
311 './<(libjingle_source)',
312 '../'
313 ],
314 'sources': [
315 '<(libjingle_source)/talk/p2p/base/constants.cc',
316 '<(libjingle_source)/talk/p2p/base/constants.h',
317 ],
318 }, # end of target 'libjingle_p2p_constants_nacl'
319 ], 383 ],
320 } 384 }
OLDNEW
« remoting/remoting_nacl.gyp ('K') | « third_party/libjingle/libjingle_common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698