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

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

Issue 429113002: Webrtc deps roll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS file Created 6 years, 4 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
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%': '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 'LOGGING_INSIDE_LIBJINGLE', 25 'LOGGING_INSIDE_WEBRTC',
26 'NO_MAIN_THREAD_WRAPPING', 26 'NO_MAIN_THREAD_WRAPPING',
27 'NO_SOUND_SYSTEM', 27 'NO_SOUND_SYSTEM',
28 'SRTP_RELATIVE_PATH', 28 'SRTP_RELATIVE_PATH',
29 'USE_WEBRTC_DEV_BRANCH', 29 'USE_WEBRTC_DEV_BRANCH',
30 'ENABLE_EXTERNAL_AUTH', 30 'ENABLE_EXTERNAL_AUTH',
31 ], 31 ],
32 'configurations': { 32 'configurations': {
33 'Debug': { 33 'Debug': {
34 'defines': [ 34 'defines': [
35 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of 35 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of
36 # _DEBUG and remove this define. See below as well. 36 # _DEBUG and remove this define. See below as well.
37 '_DEBUG', 37 '_DEBUG',
38 ], 38 ],
39 } 39 }
40 }, 40 },
41 'include_dirs': [ 41 'include_dirs': [
42 './overrides', 42 '../../third_party/webrtc/overrides',
43 './<(libjingle_source)', 43 './<(libjingle_source)',
44 '../../third_party/webrtc/overrides',
45 '../..', 44 '../..',
46 '../../testing/gtest/include', 45 '../../testing/gtest/include',
47 '../../third_party', 46 '../../third_party',
48 '../../third_party/libyuv/include', 47 '../../third_party/libyuv/include',
49 '../../third_party/usrsctp', 48 '../../third_party/usrsctp',
50 '../../third_party/webrtc',
51 ], 49 ],
52 'dependencies': [ 50 'dependencies': [
53 '<(DEPTH)/base/base.gyp:base', 51 '<(DEPTH)/base/base.gyp:base',
54 '<(DEPTH)/net/net.gyp:net', 52 '<(DEPTH)/net/net.gyp:net',
55 '<(DEPTH)/third_party/expat/expat.gyp:expat', 53 '<(DEPTH)/third_party/expat/expat.gyp:expat',
56 ], 54 ],
57 'export_dependent_settings': [ 55 'export_dependent_settings': [
58 '<(DEPTH)/third_party/expat/expat.gyp:expat', 56 '<(DEPTH)/third_party/expat/expat.gyp:expat',
59 ], 57 ],
60 'direct_dependent_settings': { 58 'direct_dependent_settings': {
61 'include_dirs': [ 59 'include_dirs': [
60 '../../third_party/webrtc/overrides',
62 './overrides', 61 './overrides',
63 './<(libjingle_source)', 62 './<(libjingle_source)',
64 '../../third_party/webrtc/overrides',
65 '../..', 63 '../..',
66 '../../testing/gtest/include', 64 '../../testing/gtest/include',
67 '../../third_party', 65 '../../third_party',
68 '../../third_party/webrtc',
69 ], 66 ],
70 'defines': [ 67 'defines': [
71 'FEATURE_ENABLE_SSL', 68 'FEATURE_ENABLE_SSL',
72 'FEATURE_ENABLE_VOICEMAIL', 69 'FEATURE_ENABLE_VOICEMAIL',
73 'EXPAT_RELATIVE_PATH', 70 'EXPAT_RELATIVE_PATH',
74 'GTEST_RELATIVE_PATH', 71 'GTEST_RELATIVE_PATH',
75 'NO_MAIN_THREAD_WRAPPING', 72 'NO_MAIN_THREAD_WRAPPING',
76 'NO_SOUND_SYSTEM', 73 'NO_SOUND_SYSTEM',
77 ], 74 ],
78 'conditions': [ 75 'conditions': [
(...skipping 12 matching lines...) Expand all
91 ], 88 ],
92 'defines': [ 89 'defines': [
93 '_CRT_SECURE_NO_WARNINGS', # Suppres warnings about _vsnprinf 90 '_CRT_SECURE_NO_WARNINGS', # Suppres warnings about _vsnprinf
94 ], 91 ],
95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 92 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
96 'msvs_disabled_warnings': [ 4267 ], 93 'msvs_disabled_warnings': [ 4267 ],
97 }], 94 }],
98 ['OS=="linux"', { 95 ['OS=="linux"', {
99 'defines': [ 96 'defines': [
100 'LINUX', 97 'LINUX',
98 'WEBRTC_LINUX',
101 ], 99 ],
102 }], 100 }],
103 ['OS=="mac"', { 101 ['OS=="mac"', {
104 'defines': [ 102 'defines': [
105 'OSX', 103 'OSX',
104 'WEBRTC_MAC',
105 ],
106 }],
107 ['OS=="ios"', {
108 'defines': [
109 'IOS',
110 'WEBRTC_MAC',
111 'WEBRTC_IOS',
112 ],
113 }],
114 ['OS=="win"', {
115 'defines': [
116 'WEBRTC_WIN',
106 ], 117 ],
107 }], 118 }],
108 ['OS=="android"', { 119 ['OS=="android"', {
109 'defines': [ 120 'defines': [
110 'ANDROID', 121 'ANDROID',
111 ], 122 ],
112 }], 123 }],
113 ['os_posix==1', { 124 ['os_posix==1', {
114 'defines': [ 125 'defines': [
115 'POSIX', 126 'POSIX',
127 'WEBRTC_POSIX',
116 ], 128 ],
117 }], 129 }],
118 ['os_bsd==1', { 130 ['os_bsd==1', {
119 'defines': [ 131 'defines': [
120 'BSD', 132 'BSD',
121 ], 133 ],
122 }], 134 }],
123 ['OS=="openbsd"', { 135 ['OS=="openbsd"', {
124 'defines': [ 136 'defines': [
125 'OPENBSD', 137 'OPENBSD',
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 '-Wstring-conversion', 212 '-Wstring-conversion',
201 ], 213 ],
202 }, 214 },
203 'cflags!': [ 215 'cflags!': [
204 '-Wstring-conversion', 216 '-Wstring-conversion',
205 ], 217 ],
206 }], 218 }],
207 ['OS=="linux"', { 219 ['OS=="linux"', {
208 'defines': [ 220 'defines': [
209 'LINUX', 221 'LINUX',
222 'WEBRTC_LINUX',
210 ], 223 ],
211 }], 224 }],
212 ['OS=="mac"', { 225 ['OS=="mac"', {
213 'defines': [ 226 'defines': [
214 'OSX', 227 'OSX',
228 'WEBRTC_MAC',
229 ],
230 }],
231 ['OS=="win"', {
232 'defines': [
233 'WEBRTC_WIN',
215 ], 234 ],
216 }], 235 }],
217 ['OS=="ios"', { 236 ['OS=="ios"', {
218 'defines': [ 237 'defines': [
219 'IOS', 238 'IOS',
239 'WEBRTC_MAC',
240 'WEBRTC_IOS',
220 ], 241 ],
221 }], 242 }],
222 ['os_posix == 1', { 243 ['os_posix == 1', {
223 'defines': [ 244 'defines': [
224 'POSIX', 245 'POSIX',
246 'WEBRTC_POSIX',
225 ], 247 ],
226 }], 248 }],
227 ['os_bsd==1', { 249 ['os_bsd==1', {
228 'defines': [ 250 'defines': [
229 'BSD', 251 'BSD',
230 ], 252 ],
231 }], 253 }],
232 ['OS=="openbsd"', { 254 ['OS=="openbsd"', {
233 'defines': [ 255 'defines': [
234 'OPENBSD', 256 'OPENBSD',
235 ], 257 ],
236 }], 258 }],
237 ['OS=="freebsd"', { 259 ['OS=="freebsd"', {
238 'defines': [ 260 'defines': [
239 'FREEBSD', 261 'FREEBSD',
240 ], 262 ],
241 }], 263 }],
242 ], 264 ],
243 }, 265 },
244 'targets': [ 266 'targets': [
245 { 267 {
246 'target_name': 'libjingle', 268 'target_name': 'libjingle',
247 'type': 'static_library', 269 'type': 'static_library',
248 'includes': [ 'libjingle_common.gypi' ], 270 'includes': [ 'libjingle_common.gypi' ],
249 'sources': [
250 'overrides/talk/base/basictypes.h',
251 'overrides/talk/base/constructormagic.h',
252 'overrides/talk/base/win32socketinit.cc',
253
254 # Overrides logging.h/.cc because libjingle logging should be done to
255 # the same place as the chromium logging.
256 'overrides/talk/base/logging.cc',
257 'overrides/talk/base/logging.h',
258 ],
259 'sources!' : [ 271 'sources!' : [
260 # Compiled as part of libjingle_p2p_constants. 272 # Compiled as part of libjingle_p2p_constants.
261 '<(libjingle_source)/talk/p2p/base/constants.cc', 273 '<(libjingle_source)/talk/p2p/base/constants.cc',
262 '<(libjingle_source)/talk/p2p/base/constants.h', 274 '<(libjingle_source)/talk/p2p/base/constants.h',
263
264 # Replaced with logging.cc in the overrides.
265 '<(libjingle_source)/talk/base/logging.h',
266 '<(libjingle_source)/talk/base/logging.cc',
267 ], 275 ],
268 'dependencies': [ 276 'dependencies': [
277 '<(DEPTH)/third_party/webrtc/base/base.gyp:webrtc_base',
269 'libjingle_p2p_constants', 278 'libjingle_p2p_constants',
270 '<@(libjingle_additional_deps)', 279 '<@(libjingle_additional_deps)',
271 ], 280 ],
272 }, # target libjingle 281 }, # target libjingle
273 # This has to be is a separate project due to a bug in MSVS 2008 and the 282 # This has to be is a separate project due to a bug in MSVS 2008 and the
274 # current toolset on android. The problem is that we have two files named 283 # current toolset on android. The problem is that we have two files named
275 # "constants.cc" and MSVS/android doesn't handle this properly. 284 # "constants.cc" and MSVS/android doesn't handle this properly.
276 # GYP currently has guards to catch this, so if you want to remove it, 285 # GYP currently has guards to catch this, so if you want to remove it,
277 # run GYP and if GYP has removed the validation check, then we can assume 286 # run GYP and if GYP has removed the validation check, then we can assume
278 # that the toolchains have been fixed (we currently use VS2010 and later, 287 # that the toolchains have been fixed (we currently use VS2010 and later,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 '<(libjingle_source)/talk/sound/platformsoundsystemfactory.cc', 515 '<(libjingle_source)/talk/sound/platformsoundsystemfactory.cc',
507 '<(libjingle_source)/talk/sound/platformsoundsystemfactory.h', 516 '<(libjingle_source)/talk/sound/platformsoundsystemfactory.h',
508 '<(libjingle_source)/talk/sound/soundsysteminterface.cc', 517 '<(libjingle_source)/talk/sound/soundsysteminterface.cc',
509 '<(libjingle_source)/talk/sound/soundsysteminterface.h', 518 '<(libjingle_source)/talk/sound/soundsysteminterface.h',
510 '<(libjingle_source)/talk/sound/soundsystemproxy.cc', 519 '<(libjingle_source)/talk/sound/soundsystemproxy.cc',
511 '<(libjingle_source)/talk/sound/soundsystemproxy.h', 520 '<(libjingle_source)/talk/sound/soundsystemproxy.h',
512 ], 521 ],
513 'conditions': [ 522 'conditions': [
514 ['OS=="win"', { 523 ['OS=="win"', {
515 'sources': [ 524 'sources': [
516 '<(libjingle_source)/talk/base/win32window.cc',
517 '<(libjingle_source)/talk/base/win32window.h',
518 '<(libjingle_source)/talk/base/win32windowpicker.cc',
519 '<(libjingle_source)/talk/base/win32windowpicker.h',
520 '<(libjingle_source)/talk/media/devices/win32deviceinfo.cc', 525 '<(libjingle_source)/talk/media/devices/win32deviceinfo.cc',
521 '<(libjingle_source)/talk/media/devices/win32devicemanager.c c', 526 '<(libjingle_source)/talk/media/devices/win32devicemanager.c c',
522 '<(libjingle_source)/talk/media/devices/win32devicemanager.h ', 527 '<(libjingle_source)/talk/media/devices/win32devicemanager.h ',
523 ], 528 ],
524 }], 529 }],
525 ['OS=="linux"', { 530 ['OS=="linux"', {
526 'sources': [ 531 'sources': [
527 '<(libjingle_source)/talk/base/linuxwindowpicker.cc',
528 '<(libjingle_source)/talk/base/linuxwindowpicker.h',
529 '<(libjingle_source)/talk/media/devices/libudevsymboltable.c c', 532 '<(libjingle_source)/talk/media/devices/libudevsymboltable.c c',
530 '<(libjingle_source)/talk/media/devices/libudevsymboltable.h ', 533 '<(libjingle_source)/talk/media/devices/libudevsymboltable.h ',
531 '<(libjingle_source)/talk/media/devices/linuxdeviceinfo.cc', 534 '<(libjingle_source)/talk/media/devices/linuxdeviceinfo.cc',
532 '<(libjingle_source)/talk/media/devices/linuxdevicemanager.c c', 535 '<(libjingle_source)/talk/media/devices/linuxdevicemanager.c c',
533 '<(libjingle_source)/talk/media/devices/linuxdevicemanager.h ', 536 '<(libjingle_source)/talk/media/devices/linuxdevicemanager.h ',
534 '<(libjingle_source)/talk/media/devices/v4llookup.cc', 537 '<(libjingle_source)/talk/media/devices/v4llookup.cc',
535 '<(libjingle_source)/talk/media/devices/v4llookup.h', 538 '<(libjingle_source)/talk/media/devices/v4llookup.h',
536 '<(libjingle_source)/talk/sound/alsasoundsystem.cc', 539 '<(libjingle_source)/talk/sound/alsasoundsystem.cc',
537 '<(libjingle_source)/talk/sound/alsasoundsystem.h', 540 '<(libjingle_source)/talk/sound/alsasoundsystem.h',
538 '<(libjingle_source)/talk/sound/alsasymboltable.cc', 541 '<(libjingle_source)/talk/sound/alsasymboltable.cc',
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 # in this directory and not lib.target as will otherwise be 651 # in this directory and not lib.target as will otherwise be
649 # the case with make builds. 652 # the case with make builds.
650 'product_dir': '<(PRODUCT_DIR)/lib', 653 'product_dir': '<(PRODUCT_DIR)/lib',
651 }], 654 }],
652 ], 655 ],
653 }, # target libpeerconnection 656 }, # target libpeerconnection
654 ], 657 ],
655 }], 658 }],
656 ], 659 ],
657 } 660 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698