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

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

Issue 12965010: Split the libpeerconnection target up in two parts. The new target, libjingle_webrtc contains all t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('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,
11 'libjingle_additional_deps%': [], 11 'libjingle_additional_deps%': [],
12 'libjingle_peerconnection_additional_deps%': [], 12 'libjingle_peerconnection_additional_deps%': [],
13 'libjingle_source%': "source", 13 'libjingle_source%': "source",
14 'libpeer_target_type%': 'static_library', 14 'libpeer_target_type%': '<(component)',
15 }, 15 },
16 'target_defaults': { 16 'target_defaults': {
17 'defines': [ 17 'defines': [
18 'EXPAT_RELATIVE_PATH', 18 'EXPAT_RELATIVE_PATH',
19 'FEATURE_ENABLE_SSL', 19 'FEATURE_ENABLE_SSL',
20 'GTEST_RELATIVE_PATH', 20 'GTEST_RELATIVE_PATH',
21 'HAVE_SRTP', 21 'HAVE_SRTP',
22 'HAVE_WEBRTC_VIDEO', 22 'HAVE_WEBRTC_VIDEO',
23 'HAVE_WEBRTC_VOICE', 23 'HAVE_WEBRTC_VOICE',
24 'JSONCPP_RELATIVE_PATH', 24 'JSONCPP_RELATIVE_PATH',
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 'libjingle', 602 'libjingle',
603 ], 603 ],
604 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 604 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
605 'msvs_disabled_warnings': [ 4309, ], 605 'msvs_disabled_warnings': [ 4309, ],
606 }, # target peerconnection_server 606 }, # target peerconnection_server
607 ], 607 ],
608 'conditions': [ 608 'conditions': [
609 ['enable_webrtc==1', { 609 ['enable_webrtc==1', {
610 'targets': [ 610 'targets': [
611 { 611 {
612 'target_name': 'libpeerconnection', 612 'target_name': 'libjingle_webrtc',
613 'type': '<(libpeer_target_type)', 613 'type': 'static_library',
614 'all_dependent_settings': { 614 'all_dependent_settings': {
615 'conditions': [ 615 'conditions': [
616 ['"<(libpeer_target_type)"=="static_library"', { 616 ['"<(libpeer_target_type)"=="static_library"', {
617 'defines': [ 'LIBPEERCONNECTION_LIB=1' ], 617 'defines': [ 'LIBPEERCONNECTION_LIB=1' ],
618 }], 618 }],
619 ], 619 ],
620 }, 620 },
621 'sources': [ 621 'sources': [
622 '<(libjingle_source)/talk/app/webrtc/audiotrack.cc', 622 '<(libjingle_source)/talk/app/webrtc/audiotrack.cc',
623 '<(libjingle_source)/talk/app/webrtc/audiotrack.h', 623 '<(libjingle_source)/talk/app/webrtc/audiotrack.h',
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 '<(libjingle_source)/talk/media/base/videoframe.cc', 696 '<(libjingle_source)/talk/media/base/videoframe.cc',
697 '<(libjingle_source)/talk/media/base/videoframe.h', 697 '<(libjingle_source)/talk/media/base/videoframe.h',
698 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', 698 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc',
699 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', 699 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h',
700 '<(libjingle_source)/talk/media/devices/filevideocapturer.cc', 700 '<(libjingle_source)/talk/media/devices/filevideocapturer.cc',
701 '<(libjingle_source)/talk/media/devices/filevideocapturer.h', 701 '<(libjingle_source)/talk/media/devices/filevideocapturer.h',
702 '<(libjingle_source)/talk/media/webrtc/webrtccommon.h', 702 '<(libjingle_source)/talk/media/webrtc/webrtccommon.h',
703 '<(libjingle_source)/talk/media/webrtc/webrtcpassthroughrender.cc', 703 '<(libjingle_source)/talk/media/webrtc/webrtcpassthroughrender.cc',
704 '<(libjingle_source)/talk/media/webrtc/webrtcvideocapturer.cc', 704 '<(libjingle_source)/talk/media/webrtc/webrtcvideocapturer.cc',
705 '<(libjingle_source)/talk/media/webrtc/webrtcvideocapturer.h', 705 '<(libjingle_source)/talk/media/webrtc/webrtcvideocapturer.h',
706 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.cc',
707 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.h',
708 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframe.cc', 706 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframe.cc',
709 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframe.h', 707 '<(libjingle_source)/talk/media/webrtc/webrtcvideoframe.h',
710 '<(libjingle_source)/talk/media/webrtc/webrtcvie.h', 708 '<(libjingle_source)/talk/media/webrtc/webrtcvie.h',
711 '<(libjingle_source)/talk/media/webrtc/webrtcvoe.h', 709 '<(libjingle_source)/talk/media/webrtc/webrtcvoe.h',
712 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.cc',
713 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h',
714 '<(libjingle_source)/talk/session/media/audiomonitor.cc', 710 '<(libjingle_source)/talk/session/media/audiomonitor.cc',
715 '<(libjingle_source)/talk/session/media/audiomonitor.h', 711 '<(libjingle_source)/talk/session/media/audiomonitor.h',
716 '<(libjingle_source)/talk/session/media/call.cc', 712 '<(libjingle_source)/talk/session/media/call.cc',
717 '<(libjingle_source)/talk/session/media/call.h', 713 '<(libjingle_source)/talk/session/media/call.h',
718 '<(libjingle_source)/talk/session/media/channel.cc', 714 '<(libjingle_source)/talk/session/media/channel.cc',
719 '<(libjingle_source)/talk/session/media/channel.h', 715 '<(libjingle_source)/talk/session/media/channel.h',
720 '<(libjingle_source)/talk/session/media/channelmanager.cc', 716 '<(libjingle_source)/talk/session/media/channelmanager.cc',
721 '<(libjingle_source)/talk/session/media/channelmanager.h', 717 '<(libjingle_source)/talk/session/media/channelmanager.h',
722 '<(libjingle_source)/talk/session/media/currentspeakermonitor.cc', 718 '<(libjingle_source)/talk/session/media/currentspeakermonitor.cc',
723 '<(libjingle_source)/talk/session/media/currentspeakermonitor.h', 719 '<(libjingle_source)/talk/session/media/currentspeakermonitor.h',
(...skipping 16 matching lines...) Expand all
740 '<(libjingle_source)/talk/session/media/ssrcmuxfilter.h', 736 '<(libjingle_source)/talk/session/media/ssrcmuxfilter.h',
741 '<(libjingle_source)/talk/session/media/typingmonitor.cc', 737 '<(libjingle_source)/talk/session/media/typingmonitor.cc',
742 '<(libjingle_source)/talk/session/media/typingmonitor.h', 738 '<(libjingle_source)/talk/session/media/typingmonitor.h',
743 '<(libjingle_source)/talk/session/media/voicechannel.h', 739 '<(libjingle_source)/talk/session/media/voicechannel.h',
744 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.cc', 740 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.cc',
745 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.h', 741 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.h',
746 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.cc', 742 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.cc',
747 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h', 743 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h',
748 ], 744 ],
749 'conditions': [ 745 'conditions': [
750 ['"<(libpeer_target_type)"=="shared_library"', {
751 # Used to control symbol export/import.
752 'defines': [ 'LIBPEERCONNECTION_IMPLEMENTATION=1' ],
753 }],
754 ['OS=="win" and "<(libpeer_target_type)"=="shared_library"', {
755 'link_settings': {
756 'libraries': [
757 '-lsecur32.lib',
758 '-lcrypt32.lib',
759 '-liphlpapi.lib',
760 ],
761 },
762 }],
763 ['enabled_libjingle_device_manager==1', { 746 ['enabled_libjingle_device_manager==1', {
764 'sources!': [ 747 'sources!': [
765 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', 748 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc',
766 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', 749 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h',
767 ], 750 ],
768 'sources': [ 751 'sources': [
769 '<(libjingle_source)/talk/media/devices/devicemanager.cc', 752 '<(libjingle_source)/talk/media/devices/devicemanager.cc',
770 '<(libjingle_source)/talk/media/devices/devicemanager.h', 753 '<(libjingle_source)/talk/media/devices/devicemanager.h',
771 '<(libjingle_source)/talk/sound/nullsoundsystem.cc', 754 '<(libjingle_source)/talk/sound/nullsoundsystem.cc',
772 '<(libjingle_source)/talk/sound/nullsoundsystem.h', 755 '<(libjingle_source)/talk/sound/nullsoundsystem.h',
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 # macdevicemanager.cc. 812 # macdevicemanager.cc.
830 '-Wno-deprecated-declarations', 813 '-Wno-deprecated-declarations',
831 ], 814 ],
832 }, 815 },
833 }], 816 }],
834 ], 817 ],
835 }], 818 }],
836 ], 819 ],
837 'dependencies': [ 820 'dependencies': [
838 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', 821 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
822 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file',
839 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture_modul e', 823 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture_modul e',
840 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_render_module ', 824 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_render_module ',
825 'libjingle',
826 ],
827 }, # target libpeerconnection
828 {
829 'target_name': 'libpeerconnection',
830 'type': '<(libpeer_target_type)',
831 'sources': [
832 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.cc',
833 '<(libjingle_source)/talk/media/webrtc/webrtcvideoengine.h',
834 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.cc',
835 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h',
836 ],
837 'dependencies': [
841 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers. gyp:system_wrappers', 838 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers. gyp:system_wrappers',
842 '<(DEPTH)/third_party/webrtc/video_engine/video_engine.gyp:video_eng ine_core', 839 '<(DEPTH)/third_party/webrtc/video_engine/video_engine.gyp:video_eng ine_core',
843 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine_core', 840 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine_core',
844 '<@(libjingle_peerconnection_additional_deps)', 841 '<@(libjingle_peerconnection_additional_deps)',
845 'libjingle', 842 'libjingle_webrtc',
Mallinath (Gone from Chromium) 2013/03/25 13:52:37 What about libjingle dependency on the left side?
tommi (sloooow) - chröme 2013/03/25 13:59:28 If I'm understanding you correctly, then libjingle
846 ], 843 ],
847 }, # target libpeerconnection 844 'export_dependent_settings': [
845 '<(DEPTH)/third_party/libjingle/libjingle.gyp:libjingle_webrtc',
846 ],
847 'conditions': [
848 ['"<(libpeer_target_type)"=="shared_library"', {
849 # Used to control symbol export/import.
850 'defines': [ 'LIBPEERCONNECTION_IMPLEMENTATION=1' ],
851 }],
852 ['OS=="win" and "<(libpeer_target_type)"=="shared_library"', {
853 'link_settings': {
854 'libraries': [
855 '-lsecur32.lib',
856 '-lcrypt32.lib',
857 '-liphlpapi.lib',
858 ],
859 },
860 }],
861 ],
862 }, # target peerconnection
848 ], 863 ],
849 }], 864 }],
850 ], 865 ],
851 } 866 }
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698