OLD | NEW |
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 'conditions': [ |
15 'libpeer_allocator_shim%': 0, | 15 ['OS=="win"', { # TODO(tommi): Enable for mac and linux. |
| 16 'libpeer_target_type%': 'loadable_module', |
| 17 }, { |
| 18 'libpeer_target_type%': 'static_library', |
| 19 }], |
| 20 ], |
16 }, | 21 }, |
17 'target_defaults': { | 22 'target_defaults': { |
18 'defines': [ | 23 'defines': [ |
19 'EXPAT_RELATIVE_PATH', | 24 'EXPAT_RELATIVE_PATH', |
20 'FEATURE_ENABLE_SSL', | 25 'FEATURE_ENABLE_SSL', |
21 'GTEST_RELATIVE_PATH', | 26 'GTEST_RELATIVE_PATH', |
22 'HAVE_SRTP', | 27 'HAVE_SRTP', |
23 'HAVE_WEBRTC_VIDEO', | 28 'HAVE_WEBRTC_VIDEO', |
24 'HAVE_WEBRTC_VOICE', | 29 'HAVE_WEBRTC_VOICE', |
25 'JSONCPP_RELATIVE_PATH', | 30 'JSONCPP_RELATIVE_PATH', |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 '<(libjingle_source)/talk/session/media/ssrcmuxfilter.h', | 760 '<(libjingle_source)/talk/session/media/ssrcmuxfilter.h', |
756 '<(libjingle_source)/talk/session/media/typingmonitor.cc', | 761 '<(libjingle_source)/talk/session/media/typingmonitor.cc', |
757 '<(libjingle_source)/talk/session/media/typingmonitor.h', | 762 '<(libjingle_source)/talk/session/media/typingmonitor.h', |
758 '<(libjingle_source)/talk/session/media/voicechannel.h', | 763 '<(libjingle_source)/talk/session/media/voicechannel.h', |
759 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.cc', | 764 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.cc', |
760 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.h', | 765 '<(libjingle_source)/talk/session/tunnel/pseudotcpchannel.h', |
761 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.cc', | 766 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.cc', |
762 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h', | 767 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h', |
763 ], | 768 ], |
764 'conditions': [ | 769 'conditions': [ |
765 ['libpeer_allocator_shim==1 and ' | 770 ['libpeer_target_type!="static_library" and OS!="mac"', { |
766 'libpeer_target_type!="static_library" and OS!="mac"', { | |
767 'sources': [ | 771 'sources': [ |
768 'overrides/allocator_shim/allocator_stub.cc', | 772 'overrides/allocator_shim/allocator_stub.cc', |
769 'overrides/allocator_shim/allocator_stub.h', | 773 'overrides/allocator_shim/allocator_stub.h', |
770 ], | 774 ], |
771 }], | 775 }], |
772 ['enabled_libjingle_device_manager==1', { | 776 ['enabled_libjingle_device_manager==1', { |
773 'sources!': [ | 777 'sources!': [ |
774 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', | 778 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', |
775 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', | 779 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', |
776 ], | 780 ], |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h', | 865 '<(libjingle_source)/talk/media/webrtc/webrtcvoiceengine.h', |
862 ], | 866 ], |
863 'dependencies': [ | 867 'dependencies': [ |
864 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers.
gyp:system_wrappers', | 868 '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers.
gyp:system_wrappers', |
865 '<(DEPTH)/third_party/webrtc/video_engine/video_engine.gyp:video_eng
ine_core', | 869 '<(DEPTH)/third_party/webrtc/video_engine/video_engine.gyp:video_eng
ine_core', |
866 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng
ine_core', | 870 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng
ine_core', |
867 '<@(libjingle_peerconnection_additional_deps)', | 871 '<@(libjingle_peerconnection_additional_deps)', |
868 'libjingle_webrtc', | 872 'libjingle_webrtc', |
869 ], | 873 ], |
870 'conditions': [ | 874 'conditions': [ |
871 ['libpeer_allocator_shim==1 and ' | 875 ['libpeer_target_type!="static_library"', { |
872 'libpeer_target_type!="static_library"', { | |
873 'sources': [ | 876 'sources': [ |
874 'overrides/initialize_module.cc', | 877 'overrides/initialize_module.cc', |
875 ], | 878 ], |
876 'conditions': [ | 879 'conditions': [ |
877 ['OS!="mac"', { | 880 ['OS!="mac"', { |
878 'sources': [ | 881 'sources': [ |
879 'overrides/allocator_shim/allocator_proxy.cc', | 882 'overrides/allocator_shim/allocator_proxy.cc', |
880 ], | 883 ], |
881 }], | 884 }], |
882 ], | 885 ], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 # in this directory and not lib.target as will otherwise be | 917 # in this directory and not lib.target as will otherwise be |
915 # the case with make builds. | 918 # the case with make builds. |
916 'product_dir': '<(PRODUCT_DIR)/lib', | 919 'product_dir': '<(PRODUCT_DIR)/lib', |
917 }], | 920 }], |
918 ], | 921 ], |
919 }, # target libpeerconnection | 922 }, # target libpeerconnection |
920 ], | 923 ], |
921 }], | 924 }], |
922 ], | 925 ], |
923 } | 926 } |
OLD | NEW |