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 'libpeer_target_type%': 'static_library', |
15 'libpeer_allocator_shim%': 0, | 15 'libpeer_allocator_shim%': 0, |
16 }, | 16 }, |
17 'target_defaults': { | 17 'target_defaults': { |
18 'defines': [ | 18 'defines': [ |
19 'EXPAT_RELATIVE_PATH', | 19 'EXPAT_RELATIVE_PATH', |
20 'FEATURE_ENABLE_SSL', | 20 'FEATURE_ENABLE_SSL', |
21 'GTEST_RELATIVE_PATH', | 21 'GTEST_RELATIVE_PATH', |
22 'HAVE_SRTP', | 22 'HAVE_SRTP', |
23 'HAVE_WEBRTC_VIDEO', | 23 'HAVE_WEBRTC_VIDEO', |
24 'HAVE_WEBRTC_VOICE', | 24 'HAVE_WEBRTC_VOICE', |
25 'HAVE_YUV', | |
26 'JSONCPP_RELATIVE_PATH', | 25 'JSONCPP_RELATIVE_PATH', |
27 'LOGGING_INSIDE_LIBJINGLE', | 26 'LOGGING_INSIDE_LIBJINGLE', |
28 'NO_MAIN_THREAD_WRAPPING', | 27 'NO_MAIN_THREAD_WRAPPING', |
29 'NO_SOUND_SYSTEM', | 28 'NO_SOUND_SYSTEM', |
30 'SRTP_RELATIVE_PATH', | 29 'SRTP_RELATIVE_PATH', |
31 'USE_WEBRTC_DEV_BRANCH', | 30 'USE_WEBRTC_DEV_BRANCH', |
32 ], | 31 ], |
33 'configurations': { | 32 'configurations': { |
34 'Debug': { | 33 'Debug': { |
35 'defines': [ | 34 'defines': [ |
36 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of | 35 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of |
37 # _DEBUG and remove this define. See below as well. | 36 # _DEBUG and remove this define. See below as well. |
38 '_DEBUG', | 37 '_DEBUG', |
39 ], | 38 ], |
40 } | 39 } |
41 }, | 40 }, |
42 'include_dirs': [ | 41 'include_dirs': [ |
43 './overrides', | 42 './overrides', |
44 './<(libjingle_source)', | 43 './<(libjingle_source)', |
45 '../../testing/gtest/include', | 44 '../../testing/gtest/include', |
46 '../../third_party', | 45 '../../third_party', |
47 '../../third_party/libyuv/include', | 46 '../../third_party/libyuv/include', |
| 47 '../../third_party/usrsctp', |
48 '../../third_party/webrtc', | 48 '../../third_party/webrtc', |
49 ], | 49 ], |
50 'dependencies': [ | 50 'dependencies': [ |
51 '<(DEPTH)/base/base.gyp:base', | 51 '<(DEPTH)/base/base.gyp:base', |
52 '<(DEPTH)/net/net.gyp:net', | 52 '<(DEPTH)/net/net.gyp:net', |
53 '<(DEPTH)/third_party/expat/expat.gyp:expat', | 53 '<(DEPTH)/third_party/expat/expat.gyp:expat', |
54 ], | 54 ], |
55 'export_dependent_settings': [ | 55 'export_dependent_settings': [ |
56 '<(DEPTH)/third_party/expat/expat.gyp:expat', | 56 '<(DEPTH)/third_party/expat/expat.gyp:expat', |
57 ], | 57 ], |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h', | 764 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h', |
765 ], | 765 ], |
766 'conditions': [ | 766 'conditions': [ |
767 ['libpeer_allocator_shim==1 and ' | 767 ['libpeer_allocator_shim==1 and ' |
768 'libpeer_target_type!="static_library" and OS!="mac"', { | 768 'libpeer_target_type!="static_library" and OS!="mac"', { |
769 'sources': [ | 769 'sources': [ |
770 'overrides/allocator_shim/allocator_stub.cc', | 770 'overrides/allocator_shim/allocator_stub.cc', |
771 'overrides/allocator_shim/allocator_stub.h', | 771 'overrides/allocator_shim/allocator_stub.h', |
772 ], | 772 ], |
773 }], | 773 }], |
| 774 # TODO(mallinath) - Enable SCTP for Android and iOS platforms. |
| 775 ['OS!="android" and OS!="ios"', { |
| 776 'defines' : [ |
| 777 'HAVE_SCTP', |
| 778 ], |
| 779 'sources': [ |
| 780 '<(libjingle_source)/talk/media/sctp/sctpdataengine.cc', |
| 781 '<(libjingle_source)/talk/media/sctp/sctpdataengine.h', |
| 782 ], |
| 783 'dependencies': [ |
| 784 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', |
| 785 ], |
| 786 }], |
774 ['enabled_libjingle_device_manager==1', { | 787 ['enabled_libjingle_device_manager==1', { |
775 'sources!': [ | 788 'sources!': [ |
776 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', | 789 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', |
777 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', | 790 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', |
778 ], | 791 ], |
779 'sources': [ | 792 'sources': [ |
780 '<(libjingle_source)/talk/media/devices/devicemanager.cc', | 793 '<(libjingle_source)/talk/media/devices/devicemanager.cc', |
781 '<(libjingle_source)/talk/media/devices/devicemanager.h', | 794 '<(libjingle_source)/talk/media/devices/devicemanager.h', |
782 '<(libjingle_source)/talk/sound/nullsoundsystem.cc', | 795 '<(libjingle_source)/talk/sound/nullsoundsystem.cc', |
783 '<(libjingle_source)/talk/sound/nullsoundsystem.h', | 796 '<(libjingle_source)/talk/sound/nullsoundsystem.h', |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 # in this directory and not lib.target as will otherwise be | 940 # in this directory and not lib.target as will otherwise be |
928 # the case with make builds. | 941 # the case with make builds. |
929 'product_dir': '<(PRODUCT_DIR)/lib', | 942 'product_dir': '<(PRODUCT_DIR)/lib', |
930 }], | 943 }], |
931 ], | 944 ], |
932 }, # target libpeerconnection | 945 }, # target libpeerconnection |
933 ], | 946 ], |
934 }], | 947 }], |
935 ], | 948 ], |
936 } | 949 } |
OLD | NEW |