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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h', | 761 '<(libjingle_source)/talk/session/tunnel/tunnelsessionclient.h', |
762 ], | 762 ], |
763 'conditions': [ | 763 'conditions': [ |
764 ['libpeer_allocator_shim==1 and ' | 764 ['libpeer_allocator_shim==1 and ' |
765 'libpeer_target_type!="static_library" and OS!="mac"', { | 765 'libpeer_target_type!="static_library" and OS!="mac"', { |
766 'sources': [ | 766 'sources': [ |
767 'overrides/allocator_shim/allocator_stub.cc', | 767 'overrides/allocator_shim/allocator_stub.cc', |
768 'overrides/allocator_shim/allocator_stub.h', | 768 'overrides/allocator_shim/allocator_stub.h', |
769 ], | 769 ], |
770 }], | 770 }], |
| 771 # TODO(mallinath) - Enable SCTP for Android and iOS platforms. |
| 772 ['OS!="android" and OS!="ios"', { |
| 773 'defines' : [ |
| 774 'HAVE_SCTP', |
| 775 ], |
| 776 'sources': [ |
| 777 '<(libjingle_source)/talk/media/sctp/sctpdataengine.cc', |
| 778 '<(libjingle_source)/talk/media/sctp/sctpdataengine.h', |
| 779 ], |
| 780 'dependencies': [ |
| 781 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', |
| 782 ], |
| 783 }], |
771 ['enabled_libjingle_device_manager==1', { | 784 ['enabled_libjingle_device_manager==1', { |
772 'sources!': [ | 785 'sources!': [ |
773 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', | 786 '<(libjingle_source)/talk/media/devices/dummydevicemanager.cc', |
774 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', | 787 '<(libjingle_source)/talk/media/devices/dummydevicemanager.h', |
775 ], | 788 ], |
776 'sources': [ | 789 'sources': [ |
777 '<(libjingle_source)/talk/media/devices/devicemanager.cc', | 790 '<(libjingle_source)/talk/media/devices/devicemanager.cc', |
778 '<(libjingle_source)/talk/media/devices/devicemanager.h', | 791 '<(libjingle_source)/talk/media/devices/devicemanager.h', |
779 '<(libjingle_source)/talk/sound/nullsoundsystem.cc', | 792 '<(libjingle_source)/talk/sound/nullsoundsystem.cc', |
780 '<(libjingle_source)/talk/sound/nullsoundsystem.h', | 793 '<(libjingle_source)/talk/sound/nullsoundsystem.h', |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 # in this directory and not lib.target as will otherwise be | 937 # in this directory and not lib.target as will otherwise be |
925 # the case with make builds. | 938 # the case with make builds. |
926 'product_dir': '<(PRODUCT_DIR)/lib', | 939 'product_dir': '<(PRODUCT_DIR)/lib', |
927 }], | 940 }], |
928 ], | 941 ], |
929 }, # target libpeerconnection | 942 }, # target libpeerconnection |
930 ], | 943 ], |
931 }], | 944 }], |
932 ], | 945 ], |
933 } | 946 } |
OLD | NEW |