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

Side by Side Diff: talk/libjingle.gyp

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 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 | « talk/build/common.gypi ('k') | talk/libjingle_media_unittest.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # libjingle 2 # libjingle
3 # Copyright 2012 Google Inc. 3 # Copyright 2012 Google Inc.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met: 6 # modification, are permitted provided that the following conditions are met:
7 # 7 #
8 # 1. Redistributions of source code must retain the above copyright notice, 8 # 1. Redistributions of source code must retain the above copyright notice,
9 # this list of conditions and the following disclaimer. 9 # this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright notice, 10 # 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 }, 433 },
434 }], 434 }],
435 ], 435 ],
436 }, # target libjingle_peerconnection_objc 436 }, # target libjingle_peerconnection_objc
437 ], 437 ],
438 }], 438 }],
439 ], 439 ],
440 440
441 'targets': [ 441 'targets': [
442 { 442 {
443 'target_name': 'libjingle',
444 'type': 'none',
445 'dependencies': [
446 '<(webrtc_root)/base/base.gyp:rtc_base',
447 ],
448 'conditions': [
449 ['build_json==1', {
450 'dependencies': [
451 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
452 ],
453 'export_dependent_settings': [
454 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
455 ],
456 }],
457 ['build_expat==1', {
458 'dependencies': [
459 '<(DEPTH)/third_party/expat/expat.gyp:expat',
460 ],
461 'export_dependent_settings': [
462 '<(DEPTH)/third_party/expat/expat.gyp:expat',
463 ],
464 }],
465 ],
466 }, # target libjingle
467 {
468 'target_name': 'libjingle_media',
469 'type': 'static_library',
470 'dependencies': [
471 '<(webrtc_root)/common.gyp:webrtc_common',
472 '<(webrtc_root)/modules/modules.gyp:video_render_module',
473 '<(webrtc_root)/webrtc.gyp:webrtc',
474 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
475 '<(webrtc_root)/sound/sound.gyp:rtc_sound',
476 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
477 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
478 '<(webrtc_root)/libjingle/xmllite/xmllite.gyp:rtc_xmllite',
479 '<(webrtc_root)/libjingle/xmpp/xmpp.gyp:rtc_xmpp',
480 '<(webrtc_root)/p2p/p2p.gyp:rtc_p2p',
481 'libjingle',
482 ],
483 'direct_dependent_settings': {
484 'include_dirs': [
485 '<(libyuv_dir)/include',
486 ],
487 },
488 'sources': [
489 'media/base/audioframe.h',
490 'media/base/audiorenderer.h',
491 'media/base/capturemanager.cc',
492 'media/base/capturemanager.h',
493 'media/base/capturerenderadapter.cc',
494 'media/base/capturerenderadapter.h',
495 'media/base/codec.cc',
496 'media/base/codec.h',
497 'media/base/constants.cc',
498 'media/base/constants.h',
499 'media/base/cpuid.cc',
500 'media/base/cpuid.h',
501 'media/base/cryptoparams.h',
502 'media/base/device.h',
503 'media/base/fakescreencapturerfactory.h',
504 'media/base/hybriddataengine.h',
505 'media/base/mediachannel.h',
506 'media/base/mediacommon.h',
507 'media/base/mediaengine.cc',
508 'media/base/mediaengine.h',
509 'media/base/rtpdataengine.cc',
510 'media/base/rtpdataengine.h',
511 'media/base/rtpdump.cc',
512 'media/base/rtpdump.h',
513 'media/base/rtputils.cc',
514 'media/base/rtputils.h',
515 'media/base/screencastid.h',
516 'media/base/streamparams.cc',
517 'media/base/streamparams.h',
518 'media/base/turnutils.cc',
519 'media/base/turnutils.h',
520 'media/base/videoadapter.cc',
521 'media/base/videoadapter.h',
522 'media/base/videocapturer.cc',
523 'media/base/videocapturer.h',
524 'media/base/videocapturerfactory.h',
525 'media/base/videocommon.cc',
526 'media/base/videocommon.h',
527 'media/base/videoframe.cc',
528 'media/base/videoframe.h',
529 'media/base/videoframefactory.cc',
530 'media/base/videoframefactory.h',
531 'media/base/videorenderer.h',
532 'media/base/yuvframegenerator.cc',
533 'media/base/yuvframegenerator.h',
534 'media/devices/deviceinfo.h',
535 'media/devices/devicemanager.cc',
536 'media/devices/devicemanager.h',
537 'media/devices/dummydevicemanager.h',
538 'media/devices/filevideocapturer.cc',
539 'media/devices/filevideocapturer.h',
540 'media/devices/videorendererfactory.h',
541 'media/devices/yuvframescapturer.cc',
542 'media/devices/yuvframescapturer.h',
543 'media/sctp/sctpdataengine.cc',
544 'media/sctp/sctpdataengine.h',
545 'media/webrtc/nullwebrtcvideoengine.h',
546 'media/webrtc/simulcast.cc',
547 'media/webrtc/simulcast.h',
548 'media/webrtc/webrtccommon.h',
549 'media/webrtc/webrtcmediaengine.cc',
550 'media/webrtc/webrtcmediaengine.h',
551 'media/webrtc/webrtcmediaengine.cc',
552 'media/webrtc/webrtcvideocapturer.cc',
553 'media/webrtc/webrtcvideocapturer.h',
554 'media/webrtc/webrtcvideocapturerfactory.h',
555 'media/webrtc/webrtcvideocapturerfactory.cc',
556 'media/webrtc/webrtcvideodecoderfactory.h',
557 'media/webrtc/webrtcvideoencoderfactory.h',
558 'media/webrtc/webrtcvideoengine2.cc',
559 'media/webrtc/webrtcvideoengine2.h',
560 'media/webrtc/webrtcvideoframe.cc',
561 'media/webrtc/webrtcvideoframe.h',
562 'media/webrtc/webrtcvideoframefactory.cc',
563 'media/webrtc/webrtcvideoframefactory.h',
564 'media/webrtc/webrtcvoe.h',
565 'media/webrtc/webrtcvoiceengine.cc',
566 'media/webrtc/webrtcvoiceengine.h',
567 ],
568 'conditions': [
569 ['build_libyuv==1', {
570 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',],
571 }],
572 ['build_usrsctp==1', {
573 'include_dirs': [
574 # TODO(jiayl): move this into the direct_dependent_settings of
575 # usrsctp.gyp.
576 '<(DEPTH)/third_party/usrsctp/usrsctplib',
577 ],
578 'dependencies': [
579 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib',
580 ],
581 }],
582 ['build_with_chromium==1', {
583 'dependencies': [
584 '<(webrtc_root)/modules/modules.gyp:video_capture',
585 '<(webrtc_root)/modules/modules.gyp:video_render',
586 ],
587 }, {
588 'dependencies': [
589 '<(webrtc_root)/modules/modules.gyp:video_capture_module_internal_im pl',
590 '<(webrtc_root)/modules/modules.gyp:video_render_module_internal_imp l',
591 ],
592 }],
593 ['OS=="linux"', {
594 'sources': [
595 'media/devices/libudevsymboltable.cc',
596 'media/devices/libudevsymboltable.h',
597 'media/devices/linuxdeviceinfo.cc',
598 'media/devices/linuxdevicemanager.cc',
599 'media/devices/linuxdevicemanager.h',
600 'media/devices/v4llookup.cc',
601 'media/devices/v4llookup.h',
602 ],
603 'conditions': [
604 ['use_gtk==1', {
605 'sources': [
606 'media/devices/gtkvideorenderer.cc',
607 'media/devices/gtkvideorenderer.h',
608 ],
609 'cflags': [
610 '<!@(pkg-config --cflags gobject-2.0 gthread-2.0 gtk+-2.0)',
611 ],
612 }],
613 ],
614 'include_dirs': [
615 'third_party/libudev'
616 ],
617 'libraries': [
618 '-lrt',
619 ],
620 }],
621 ['OS=="win"', {
622 'sources': [
623 'media/devices/gdivideorenderer.cc',
624 'media/devices/gdivideorenderer.h',
625 'media/devices/win32deviceinfo.cc',
626 'media/devices/win32devicemanager.cc',
627 'media/devices/win32devicemanager.h',
628 ],
629 'msvs_settings': {
630 'VCLibrarianTool': {
631 'AdditionalDependencies': [
632 'd3d9.lib',
633 'gdi32.lib',
634 'strmiids.lib',
635 'winmm.lib',
636 ],
637 },
638 },
639 }],
640 ['OS=="mac"', {
641 'sources': [
642 'media/devices/macdeviceinfo.cc',
643 'media/devices/macdevicemanager.cc',
644 'media/devices/macdevicemanager.h',
645 'media/devices/macdevicemanagermm.mm',
646 ],
647 'conditions': [
648 ['target_arch=="ia32"', {
649 'sources': [
650 'media/devices/carbonvideorenderer.cc',
651 'media/devices/carbonvideorenderer.h',
652 ],
653 'link_settings': {
654 'xcode_settings': {
655 'OTHER_LDFLAGS': [
656 '-framework Carbon',
657 ],
658 },
659 },
660 }],
661 ],
662 'xcode_settings': {
663 'WARNING_CFLAGS': [
664 # TODO(ronghuawu): Update macdevicemanager.cc to stop using
665 # deprecated functions and remove this flag.
666 '-Wno-deprecated-declarations',
667 ],
668 # Disable partial availability warning to prevent errors
669 # in macdevicemanagermm.mm using AVFoundation.
670 # https://code.google.com/p/webrtc/issues/detail?id=4695
671 'WARNING_CFLAGS!': ['-Wpartial-availability'],
672 },
673 'link_settings': {
674 'xcode_settings': {
675 'OTHER_LDFLAGS': [
676 '-weak_framework AVFoundation',
677 '-framework Cocoa',
678 '-framework CoreAudio',
679 '-framework CoreVideo',
680 '-framework OpenGL',
681 '-framework QTKit',
682 ],
683 },
684 },
685 }],
686 ['OS=="ios"', {
687 'sources': [
688 'media/devices/mobiledevicemanager.cc',
689 ],
690 'include_dirs': [
691 # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
692 # libjpeg which pulls in libyuv which currently disabled.
693 '../third_party/libyuv/include',
694 ],
695 }],
696 ['OS=="android"', {
697 'sources': [
698 'media/devices/mobiledevicemanager.cc',
699 ],
700 }],
701 ],
702 }, # target libjingle_media
703 {
704 'target_name': 'libjingle_p2p', 443 'target_name': 'libjingle_p2p',
705 'type': 'static_library', 444 'type': 'static_library',
706 'dependencies': [ 445 'dependencies': [
707 'libjingle', 446 '<(webrtc_root)/base/base.gyp:rtc_base',
708 'libjingle_media', 447 '<(webrtc_root)/media/media.gyp:rtc_media',
709 ], 448 ],
710 'conditions': [ 449 'conditions': [
711 ['build_libsrtp==1', { 450 ['build_libsrtp==1', {
712 'dependencies': [ 451 'dependencies': [
713 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', 452 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
714 ], 453 ],
715 }], 454 }],
716 ], 455 ],
717 'include_dirs': [ 456 'include_dirs': [
718 '<(DEPTH)/testing/gtest/include', 457 '<(DEPTH)/testing/gtest/include',
(...skipping 29 matching lines...) Expand all
748 'session/media/rtcpmuxfilter.h', 487 'session/media/rtcpmuxfilter.h',
749 'session/media/srtpfilter.cc', 488 'session/media/srtpfilter.cc',
750 'session/media/srtpfilter.h', 489 'session/media/srtpfilter.h',
751 'session/media/voicechannel.h', 490 'session/media/voicechannel.h',
752 ], 491 ],
753 }, # target libjingle_p2p 492 }, # target libjingle_p2p
754 { 493 {
755 'target_name': 'libjingle_peerconnection', 494 'target_name': 'libjingle_peerconnection',
756 'type': 'static_library', 495 'type': 'static_library',
757 'dependencies': [ 496 'dependencies': [
758 'libjingle', 497 '<(webrtc_root)/base/base.gyp:rtc_base',
759 'libjingle_media', 498 '<(webrtc_root)/media/media.gyp:rtc_media',
760 'libjingle_p2p', 499 'libjingle_p2p',
761 ], 500 ],
762 'sources': [ 501 'sources': [
763 'app/webrtc/audiotrack.cc', 502 'app/webrtc/audiotrack.cc',
764 'app/webrtc/audiotrack.h', 503 'app/webrtc/audiotrack.h',
765 'app/webrtc/datachannel.cc', 504 'app/webrtc/datachannel.cc',
766 'app/webrtc/datachannel.h', 505 'app/webrtc/datachannel.h',
767 'app/webrtc/datachannelinterface.h', 506 'app/webrtc/datachannelinterface.h',
768 'app/webrtc/dtlsidentitystore.cc', 507 'app/webrtc/dtlsidentitystore.cc',
769 'app/webrtc/dtlsidentitystore.h', 508 'app/webrtc/dtlsidentitystore.h',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 'app/webrtc/webrtcsdp.cc', 566 'app/webrtc/webrtcsdp.cc',
828 'app/webrtc/webrtcsdp.h', 567 'app/webrtc/webrtcsdp.h',
829 'app/webrtc/webrtcsession.cc', 568 'app/webrtc/webrtcsession.cc',
830 'app/webrtc/webrtcsession.h', 569 'app/webrtc/webrtcsession.h',
831 'app/webrtc/webrtcsessiondescriptionfactory.cc', 570 'app/webrtc/webrtcsessiondescriptionfactory.cc',
832 'app/webrtc/webrtcsessiondescriptionfactory.h', 571 'app/webrtc/webrtcsessiondescriptionfactory.h',
833 ], 572 ],
834 }, # target libjingle_peerconnection 573 }, # target libjingle_peerconnection
835 ], 574 ],
836 } 575 }
OLDNEW
« no previous file with comments | « talk/build/common.gypi ('k') | talk/libjingle_media_unittest.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698