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

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

Issue 1604303002: Update libjingle GYP+GN for talk/media move. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « third_party/libjingle/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'includes': [ 6 'includes': [
7 '../../build/win_precompile.gypi', 7 '../../build/win_precompile.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'enabled_libjingle_device_manager%': 0, 10 'enabled_libjingle_device_manager%': 0,
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 }, # target libjingle_p2p_constants 249 }, # target libjingle_p2p_constants
250 ], 250 ],
251 'conditions': [ 251 'conditions': [
252 ['enable_webrtc==1', { 252 ['enable_webrtc==1', {
253 'targets': [ 253 'targets': [
254 { 254 {
255 # GN version: //third_party/libjingle:libjingle_webrtc_common 255 # GN version: //third_party/libjingle:libjingle_webrtc_common
256 'target_name': 'libjingle_webrtc_common', 256 'target_name': 'libjingle_webrtc_common',
257 'type': 'static_library', 257 'type': 'static_library',
258 'sources': [ 258 'sources': [
259 '<(DEPTH)/third_party/webrtc/media/base/audiorenderer.h',
260 '<(DEPTH)/third_party/webrtc/media/base/capturemanager.cc',
261 '<(DEPTH)/third_party/webrtc/media/base/capturemanager.h',
262 '<(DEPTH)/third_party/webrtc/media/base/capturerenderadapter.cc',
263 '<(DEPTH)/third_party/webrtc/media/base/capturerenderadapter.h',
264 '<(DEPTH)/third_party/webrtc/media/base/codec.cc',
265 '<(DEPTH)/third_party/webrtc/media/base/codec.h',
266 '<(DEPTH)/third_party/webrtc/media/base/constants.cc',
267 '<(DEPTH)/third_party/webrtc/media/base/constants.h',
268 '<(DEPTH)/third_party/webrtc/media/base/cryptoparams.h',
269 '<(DEPTH)/third_party/webrtc/media/base/hybriddataengine.h',
270 '<(DEPTH)/third_party/webrtc/media/base/mediachannel.h',
271 '<(DEPTH)/third_party/webrtc/media/base/mediaengine.cc',
272 '<(DEPTH)/third_party/webrtc/media/base/mediaengine.h',
273 '<(DEPTH)/third_party/webrtc/media/base/rtpdataengine.cc',
274 '<(DEPTH)/third_party/webrtc/media/base/rtpdataengine.h',
275 '<(DEPTH)/third_party/webrtc/media/base/rtpdump.cc',
276 '<(DEPTH)/third_party/webrtc/media/base/rtpdump.h',
277 '<(DEPTH)/third_party/webrtc/media/base/rtputils.cc',
278 '<(DEPTH)/third_party/webrtc/media/base/rtputils.h',
279 '<(DEPTH)/third_party/webrtc/media/base/streamparams.cc',
280 '<(DEPTH)/third_party/webrtc/media/base/streamparams.h',
281 '<(DEPTH)/third_party/webrtc/media/base/turnutils.cc',
282 '<(DEPTH)/third_party/webrtc/media/base/turnutils.h',
283 '<(DEPTH)/third_party/webrtc/media/base/videoadapter.cc',
284 '<(DEPTH)/third_party/webrtc/media/base/videoadapter.h',
285 '<(DEPTH)/third_party/webrtc/media/base/videocapturer.cc',
286 '<(DEPTH)/third_party/webrtc/media/base/videocapturer.h',
287 '<(DEPTH)/third_party/webrtc/media/base/videocommon.cc',
288 '<(DEPTH)/third_party/webrtc/media/base/videocommon.h',
289 '<(DEPTH)/third_party/webrtc/media/base/videoframe.cc',
290 '<(DEPTH)/third_party/webrtc/media/base/videoframe.h',
291 '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.cc',
292 '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.h',
293 '<(DEPTH)/third_party/webrtc/media/devices/dummydevicemanager.cc',
294 '<(DEPTH)/third_party/webrtc/media/devices/dummydevicemanager.h',
295 '<(DEPTH)/third_party/webrtc/media/devices/filevideocapturer.cc',
296 '<(DEPTH)/third_party/webrtc/media/devices/filevideocapturer.h',
297 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtccommon.h',
298 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvideoframe.cc',
299 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvideoframe.h',
300 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvideoframefactory.cc ',
301 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvideoframefactory.h' ,
302 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvoe.h',
259 '<(libjingle_source)/talk/app/webrtc/audiotrack.cc', 303 '<(libjingle_source)/talk/app/webrtc/audiotrack.cc',
260 '<(libjingle_source)/talk/app/webrtc/audiotrack.h', 304 '<(libjingle_source)/talk/app/webrtc/audiotrack.h',
261 '<(libjingle_source)/talk/app/webrtc/datachannel.cc', 305 '<(libjingle_source)/talk/app/webrtc/datachannel.cc',
262 '<(libjingle_source)/talk/app/webrtc/datachannel.h', 306 '<(libjingle_source)/talk/app/webrtc/datachannel.h',
263 '<(libjingle_source)/talk/app/webrtc/dtlsidentitystore.cc', 307 '<(libjingle_source)/talk/app/webrtc/dtlsidentitystore.cc',
264 '<(libjingle_source)/talk/app/webrtc/dtlsidentitystore.h', 308 '<(libjingle_source)/talk/app/webrtc/dtlsidentitystore.h',
265 '<(libjingle_source)/talk/app/webrtc/dtmfsender.cc', 309 '<(libjingle_source)/talk/app/webrtc/dtmfsender.cc',
266 '<(libjingle_source)/talk/app/webrtc/dtmfsender.h', 310 '<(libjingle_source)/talk/app/webrtc/dtmfsender.h',
267 '<(libjingle_source)/talk/app/webrtc/jsep.h', 311 '<(libjingle_source)/talk/app/webrtc/jsep.h',
268 '<(libjingle_source)/talk/app/webrtc/jsepicecandidate.cc', 312 '<(libjingle_source)/talk/app/webrtc/jsepicecandidate.cc',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 '<(libjingle_source)/talk/app/webrtc/videotrack.cc', 365 '<(libjingle_source)/talk/app/webrtc/videotrack.cc',
322 '<(libjingle_source)/talk/app/webrtc/videotrack.h', 366 '<(libjingle_source)/talk/app/webrtc/videotrack.h',
323 '<(libjingle_source)/talk/app/webrtc/videotrackrenderers.cc', 367 '<(libjingle_source)/talk/app/webrtc/videotrackrenderers.cc',
324 '<(libjingle_source)/talk/app/webrtc/videotrackrenderers.h', 368 '<(libjingle_source)/talk/app/webrtc/videotrackrenderers.h',
325 '<(libjingle_source)/talk/app/webrtc/webrtcsdp.cc', 369 '<(libjingle_source)/talk/app/webrtc/webrtcsdp.cc',
326 '<(libjingle_source)/talk/app/webrtc/webrtcsdp.h', 370 '<(libjingle_source)/talk/app/webrtc/webrtcsdp.h',
327 '<(libjingle_source)/talk/app/webrtc/webrtcsession.cc', 371 '<(libjingle_source)/talk/app/webrtc/webrtcsession.cc',
328 '<(libjingle_source)/talk/app/webrtc/webrtcsession.h', 372 '<(libjingle_source)/talk/app/webrtc/webrtcsession.h',
329 '<(libjingle_source)/talk/app/webrtc/webrtcsessiondescriptionfactory .cc', 373 '<(libjingle_source)/talk/app/webrtc/webrtcsessiondescriptionfactory .cc',
330 '<(libjingle_source)/talk/app/webrtc/webrtcsessiondescriptionfactory .h', 374 '<(libjingle_source)/talk/app/webrtc/webrtcsessiondescriptionfactory .h',
331 '<(libjingle_source)/talk/media/base/audiorenderer.h',
332 '<(libjingle_source)/talk/media/base/capturemanager.cc',
333 '<(libjingle_source)/talk/media/base/capturemanager.h',
334 '<(libjingle_source)/talk/media/base/capturerenderadapter.cc',
335 '<(libjingle_source)/talk/media/base/capturerenderadapter.h',
336 '<(libjingle_source)/talk/media/base/codec.cc',
337 '<(libjingle_source)/talk/media/base/codec.h',
338 '<(libjingle_source)/talk/media/base/constants.cc',
339 '<(libjingle_source)/talk/media/base/constants.h',
340 '<(libjingle_source)/talk/media/base/cryptoparams.h',
341 '<(libjingle_source)/talk/media/base/hybriddataengine.h',
342 '<(libjingle_source)/talk/media/base/mediachannel.h',
343 '<(libjingle_source)/talk/media/base/mediaengine.cc',
344 '<(libjingle_source)/talk/media/base/mediaengine.h',
345 '<(libjingle_source)/talk/media/base/rtpdataengine.cc',
346 '<(libjingle_source)/talk/media/base/rtpdataengine.h',
347 '<(libjingle_source)/talk/media/base/rtpdump.cc',
348 '<(libjingle_source)/talk/media/base/rtpdump.h',
349 '<(libjingle_source)/talk/media/base/rtputils.cc',
350 '<(libjingle_source)/talk/media/base/rtputils.h',
351 '<(libjingle_source)/talk/media/base/streamparams.cc',
352 '<(libjingle_source)/talk/media/base/streamparams.h',
353 '<(libjingle_source)/talk/media/base/turnutils.cc',
354 '<(libjingle_source)/talk/media/base/turnutils.h',
355 '<(libjingle_source)/talk/media/base/videoadapter.cc',
356 '<(libjingle_source)/talk/media/base/videoadapter.h',
357 '<(libjingle_source)/talk/media/base/videocapturer.cc',
358 '<(libjingle_source)/talk/media/base/videocapturer.h',
359 '<(libjingle_source)/talk/media/base/videocommon.cc',
360 '<(libjingle_source)/talk/media/base/videocommon.h',
361 '<(libjingle_source)/talk/media/base/videoframe.cc',
362 '<(libjingle_source)/talk/media/base/videoframe.h',
363 '<(libjingle_source)/talk/media/base/videoframefactory.cc',
364 '<(libjingle_source)/talk/media/base/videoframefactory.h',
365 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc',
366 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h',
367 '<(libjingle_source)/talk/media/devices/filevideocapturer.cc',
368 '<(libjingle_source)/talk/media/devices/filevideocapturer.h',
369 '<(libjingle_source)/talk/media/webrtc/webrtccommon.h',
370 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframe.cc',
371 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframe.h',
372 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframefactory.cc',
373 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframefactory.h',
374 '<(libjingle_source)/talk/media/webrtc/webrtcvoe.h',
375 '<(libjingle_source)/talk/session/media/audiomonitor.cc', 375 '<(libjingle_source)/talk/session/media/audiomonitor.cc',
376 '<(libjingle_source)/talk/session/media/audiomonitor.h', 376 '<(libjingle_source)/talk/session/media/audiomonitor.h',
377 '<(libjingle_source)/talk/session/media/bundlefilter.cc', 377 '<(libjingle_source)/talk/session/media/bundlefilter.cc',
378 '<(libjingle_source)/talk/session/media/bundlefilter.h', 378 '<(libjingle_source)/talk/session/media/bundlefilter.h',
379 '<(libjingle_source)/talk/session/media/channel.cc', 379 '<(libjingle_source)/talk/session/media/channel.cc',
380 '<(libjingle_source)/talk/session/media/channel.h', 380 '<(libjingle_source)/talk/session/media/channel.h',
381 '<(libjingle_source)/talk/session/media/channelmanager.cc', 381 '<(libjingle_source)/talk/session/media/channelmanager.cc',
382 '<(libjingle_source)/talk/session/media/channelmanager.h', 382 '<(libjingle_source)/talk/session/media/channelmanager.h',
383 '<(libjingle_source)/talk/session/media/currentspeakermonitor.cc', 383 '<(libjingle_source)/talk/session/media/currentspeakermonitor.cc',
384 '<(libjingle_source)/talk/session/media/currentspeakermonitor.h', 384 '<(libjingle_source)/talk/session/media/currentspeakermonitor.h',
(...skipping 10 matching lines...) Expand all
395 '<(libjingle_source)/talk/session/media/srtpfilter.h', 395 '<(libjingle_source)/talk/session/media/srtpfilter.h',
396 '<(libjingle_source)/talk/session/media/voicechannel.h', 396 '<(libjingle_source)/talk/session/media/voicechannel.h',
397 ], 397 ],
398 'conditions': [ 398 'conditions': [
399 # TODO(mallinath) - Enable SCTP for iOS. 399 # TODO(mallinath) - Enable SCTP for iOS.
400 ['OS!="ios"', { 400 ['OS!="ios"', {
401 'defines': [ 401 'defines': [
402 'HAVE_SCTP', 402 'HAVE_SCTP',
403 ], 403 ],
404 'sources': [ 404 'sources': [
405 '<(libjingle_source)/talk/media/sctp/sctpdataengine.cc', 405 '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.cc',
406 '<(libjingle_source)/talk/media/sctp/sctpdataengine.h', 406 '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.h',
407 ], 407 ],
408 'dependencies': [ 408 'dependencies': [
409 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', 409 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
410 ], 410 ],
411 }], 411 }],
412 ['enabled_libjingle_device_manager==1', { 412 ['enabled_libjingle_device_manager==1', {
413 'sources!': [ 413 'sources!': [
414 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', 414 '<(DEPTH)/third_party/webrtc/media/devices/dummydevicemanager.cc ',
415 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', 415 '<(DEPTH)/third_party/webrtc/media/devices/dummydevicemanager.h' ,
416 ], 416 ],
417 'sources': [ 417 'sources': [
418 '<(libjingle_source)/talk/media/devices/devicemanager.cc', 418 '<(DEPTH)/third_party/webrtc/media/devices/devicemanager.cc',
419 '<(libjingle_source)/talk/media/devices/devicemanager.h', 419 '<(DEPTH)/third_party/webrtc/media/devices/devicemanager.h',
420 ], 420 ],
421 'conditions': [ 421 'conditions': [
422 ['OS=="win"', { 422 ['OS=="win"', {
423 'sources': [ 423 'sources': [
424 '<(libjingle_source)/talk/media/devices/win32deviceinfo.cc', 424 '<(DEPTH)/third_party/webrtc/media/devices/win32deviceinfo.c c',
425 '<(libjingle_source)/talk/media/devices/win32devicemanager.c c', 425 '<(DEPTH)/third_party/webrtc/media/devices/win32devicemanage r.cc',
426 '<(libjingle_source)/talk/media/devices/win32devicemanager.h ', 426 '<(DEPTH)/third_party/webrtc/media/devices/win32devicemanage r.h',
427 ], 427 ],
428 }], 428 }],
429 ['OS=="linux"', { 429 ['OS=="linux"', {
430 'sources': [ 430 'sources': [
431 '<(libjingle_source)/talk/media/devices/libudevsymboltable.c c', 431 '<(DEPTH)/third_party/webrtc/media/devices/libudevsymboltabl e.cc',
432 '<(libjingle_source)/talk/media/devices/libudevsymboltable.h ', 432 '<(DEPTH)/third_party/webrtc/media/devices/libudevsymboltabl e.h',
433 '<(libjingle_source)/talk/media/devices/linuxdeviceinfo.cc', 433 '<(DEPTH)/third_party/webrtc/media/devices/linuxdeviceinfo.c c',
434 '<(libjingle_source)/talk/media/devices/linuxdevicemanager.c c', 434 '<(DEPTH)/third_party/webrtc/media/devices/linuxdevicemanage r.cc',
435 '<(libjingle_source)/talk/media/devices/linuxdevicemanager.h ', 435 '<(DEPTH)/third_party/webrtc/media/devices/linuxdevicemanage r.h',
436 '<(libjingle_source)/talk/media/devices/v4llookup.cc', 436 '<(DEPTH)/third_party/webrtc/media/devices/v4llookup.cc',
437 '<(libjingle_source)/talk/media/devices/v4llookup.h', 437 '<(DEPTH)/third_party/webrtc/media/devices/v4llookup.h',
438 ], 438 ],
439 }], 439 }],
440 ['OS=="mac"', { 440 ['OS=="mac"', {
441 'sources': [ 441 'sources': [
442 '<(libjingle_source)/talk/media/devices/macdeviceinfo.cc', 442 '<(DEPTH)/third_party/webrtc/media/devices/macdeviceinfo.cc' ,
443 '<(libjingle_source)/talk/media/devices/macdevicemanager.cc' , 443 '<(DEPTH)/third_party/webrtc/media/devices/macdevicemanager. cc',
444 '<(libjingle_source)/talk/media/devices/macdevicemanager.h', 444 '<(DEPTH)/third_party/webrtc/media/devices/macdevicemanager. h',
445 '<(libjingle_source)/talk/media/devices/macdevicemanagermm.m m', 445 '<(DEPTH)/third_party/webrtc/media/devices/macdevicemanagerm m.mm',
446 ], 446 ],
447 'xcode_settings': { 447 'xcode_settings': {
448 'WARNING_CFLAGS': [ 448 'WARNING_CFLAGS': [
449 # Suppres warnings about using deprecated functions in 449 # Suppres warnings about using deprecated functions in
450 # macdevicemanager.cc. 450 # macdevicemanager.cc.
451 '-Wno-deprecated-declarations', 451 '-Wno-deprecated-declarations',
452 ], 452 ],
453 }, 453 },
454 }], 454 }],
455 ], 455 ],
(...skipping 19 matching lines...) Expand all
475 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing', 475 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing',
476 'libjingle_webrtc_common', 476 'libjingle_webrtc_common',
477 ], 477 ],
478 }, 478 },
479 { 479 {
480 # GN version: //third_party/libjingle:libpeerconnection 480 # GN version: //third_party/libjingle:libpeerconnection
481 'target_name': 'libpeerconnection', 481 'target_name': 'libpeerconnection',
482 'type': 'static_library', 482 'type': 'static_library',
483 'sources': [ 483 'sources': [
484 # Note: sources list duplicated in GN build. 484 # Note: sources list duplicated in GN build.
485 '<(libjingle_source)/talk/media/webrtc/simulcast.cc', 485 '<(DEPTH)/third_party/webrtc/media/webrtc/simulcast.cc',
486 '<(libjingle_source)/talk/media/webrtc/simulcast.h', 486 '<(DEPTH)/third_party/webrtc/media/webrtc/simulcast.h',
487 '<(libjingle_source)/talk/media/webrtc/webrtcmediaengine.cc', 487 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcmediaengine.cc',
488 '<(libjingle_source)/talk/media/webrtc/webrtcmediaengine.h', 488 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcmediaengine.h',
489 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine2.cc', 489 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvideoengine2.cc',
490 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine2.h', 490 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvideoengine2.h',
491 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.cc', 491 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvoiceengine.cc',
492 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h', 492 '<(DEPTH)/third_party/webrtc/media/webrtc/webrtcvoiceengine.h',
493 ], 493 ],
494 'dependencies': [ 494 'dependencies': [
495 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine', 495 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine',
496 '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', 496 '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc',
497 '<@(libjingle_peerconnection_additional_deps)', 497 '<@(libjingle_peerconnection_additional_deps)',
498 'libjingle_webrtc_common', 498 'libjingle_webrtc_common',
499 ], 499 ],
500 'conditions': [ 500 'conditions': [
501 ['OS=="android"', { 501 ['OS=="android"', {
502 'standalone_static_library': 1, 502 'standalone_static_library': 1,
503 }], 503 }],
504 ], 504 ],
505 }, # target libpeerconnection 505 }, # target libpeerconnection
506 ], 506 ],
507 }], 507 }],
508 ], 508 ],
509 } 509 }
OLDNEW
« no previous file with comments | « third_party/libjingle/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698