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