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

Side by Side Diff: webrtc/base/base.gyp

Issue 1859803002: Cleanup webrtc/base/base.gyp (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« webrtc/base/BUILD.gn ('K') | « webrtc/base/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 { 9 {
10 'includes': [ '../build/common.gypi', ], 10 'includes': [ '../build/common.gypi', ],
11 'conditions': [ 11 'conditions': [
12 ['os_posix == 1 and OS != "mac" and OS != "ios"', { 12 ['os_posix==1 and OS!="mac" and OS!="ios"', {
13 'conditions': [ 13 'conditions': [
14 ['sysroot!=""', { 14 ['sysroot!=""', {
15 'variables': { 15 'variables': {
16 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"', 16 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
17 }, 17 },
18 }, { 18 }, {
19 'variables': { 19 'variables': {
20 'pkg-config': 'pkg-config' 20 'pkg-config': 'pkg-config'
21 }, 21 },
22 }], 22 }],
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 'copyonwritebuffer.h', 93 'copyonwritebuffer.h',
94 'criticalsection.cc', 94 'criticalsection.cc',
95 'criticalsection.h', 95 'criticalsection.h',
96 'deprecation.h', 96 'deprecation.h',
97 'event.cc', 97 'event.cc',
98 'event.h', 98 'event.h',
99 'event_tracer.cc', 99 'event_tracer.cc',
100 'event_tracer.h', 100 'event_tracer.h',
101 'exp_filter.cc', 101 'exp_filter.cc',
102 'exp_filter.h', 102 'exp_filter.h',
103 'logging.cc',
104 'logging.h',
105 'md5.cc', 103 'md5.cc',
106 'md5.h', 104 'md5.h',
107 'md5digest.cc', 105 'md5digest.cc',
108 'md5digest.h', 106 'md5digest.h',
109 'mod_ops.h', 107 'mod_ops.h',
110 'optional.h', 108 'optional.h',
111 'platform_file.cc', 109 'platform_file.cc',
112 'platform_file.h', 110 'platform_file.h',
113 'platform_thread.cc', 111 'platform_thread.cc',
114 'platform_thread.h', 112 'platform_thread.h',
(...skipping 30 matching lines...) Expand all
145 'dependencies': [ 143 'dependencies': [
146 '<(DEPTH)/base/base.gyp:base', 144 '<(DEPTH)/base/base.gyp:base',
147 ], 145 ],
148 'include_dirs': [ 146 'include_dirs': [
149 '../../webrtc_overrides', 147 '../../webrtc_overrides',
150 ], 148 ],
151 'sources': [ 149 'sources': [
152 '../../webrtc_overrides/webrtc/base/logging.cc', 150 '../../webrtc_overrides/webrtc/base/logging.cc',
153 '../../webrtc_overrides/webrtc/base/logging.h', 151 '../../webrtc_overrides/webrtc/base/logging.h',
154 ], 152 ],
155 'sources!': [ 153 }, {
154 'sources': [
156 'logging.cc', 155 'logging.cc',
157 'logging.h', 156 'logging.h',
158 ], 157 ],
159 }], 158 }],
160 ], 159 ],
161 }, 160 },
162 { 161 {
163 'target_name': 'rtc_base', 162 'target_name': 'rtc_base',
164 'type': 'static_library', 163 'type': 'static_library',
165 'dependencies': [ 164 'dependencies': [
(...skipping 21 matching lines...) Expand all
187 'asyncresolverinterface.cc', 186 'asyncresolverinterface.cc',
188 'asyncresolverinterface.h', 187 'asyncresolverinterface.h',
189 'asyncsocket.cc', 188 'asyncsocket.cc',
190 'asyncsocket.h', 189 'asyncsocket.h',
191 'asynctcpsocket.cc', 190 'asynctcpsocket.cc',
192 'asynctcpsocket.h', 191 'asynctcpsocket.h',
193 'asyncudpsocket.cc', 192 'asyncudpsocket.cc',
194 'asyncudpsocket.h', 193 'asyncudpsocket.h',
195 'autodetectproxy.cc', 194 'autodetectproxy.cc',
196 'autodetectproxy.h', 195 'autodetectproxy.h',
197 'bandwidthsmoother.cc',
198 'bandwidthsmoother.h',
199 'base64.cc', 196 'base64.cc',
200 'base64.h', 197 'base64.h',
201 'bind.h',
202 'callback.h',
203 'common.cc', 198 'common.cc',
204 'common.h', 199 'common.h',
205 'crc32.cc', 200 'crc32.cc',
206 'crc32.h', 201 'crc32.h',
207 'cryptstring.cc', 202 'cryptstring.cc',
208 'cryptstring.h', 203 'cryptstring.h',
209 'dbus.cc',
210 'dbus.h',
211 'diskcache.cc', 204 'diskcache.cc',
212 'diskcache.h', 205 'diskcache.h',
213 'diskcache_win32.cc',
214 'diskcache_win32.h',
215 'filerotatingstream.cc', 206 'filerotatingstream.cc',
216 'filerotatingstream.h', 207 'filerotatingstream.h',
217 'fileutils.cc', 208 'fileutils.cc',
218 'fileutils.h', 209 'fileutils.h',
219 'fileutils_mock.h',
220 'firewallsocketserver.cc', 210 'firewallsocketserver.cc',
221 'firewallsocketserver.h', 211 'firewallsocketserver.h',
222 'flags.cc', 212 'flags.cc',
223 'flags.h', 213 'flags.h',
224 'format_macros.h', 214 'format_macros.h',
225 'gunit_prod.h', 215 'gunit_prod.h',
226 'helpers.cc', 216 'helpers.cc',
227 'helpers.h', 217 'helpers.h',
228 'httpbase.cc', 218 'httpbase.cc',
229 'httpbase.h', 219 'httpbase.h',
230 'httpclient.cc', 220 'httpclient.cc',
231 'httpclient.h', 221 'httpclient.h',
232 'httpcommon-inl.h', 222 'httpcommon-inl.h',
233 'httpcommon.cc', 223 'httpcommon.cc',
234 'httpcommon.h', 224 'httpcommon.h',
235 'httprequest.cc', 225 'httprequest.cc',
236 'httprequest.h', 226 'httprequest.h',
237 'httpserver.cc',
238 'httpserver.h',
239 'ifaddrs-android.cc',
240 'ifaddrs-android.h',
241 'ifaddrs_converter.cc',
242 'ifaddrs_converter.h',
243 'macifaddrs_converter.cc',
244 'iosfilesystem.mm', 227 'iosfilesystem.mm',
245 'ipaddress.cc', 228 'ipaddress.cc',
246 'ipaddress.h', 229 'ipaddress.h',
247 'json.cc',
248 'json.h',
249 'latebindingsymboltable.cc',
250 'latebindingsymboltable.h',
251 'libdbusglibsymboltable.cc',
252 'libdbusglibsymboltable.h',
253 'linux.cc',
254 'linux.h',
255 'linuxfdwalk.c',
256 'linuxfdwalk.h',
257 'linked_ptr.h', 230 'linked_ptr.h',
258 'logsinks.cc',
259 'logsinks.h',
260 'macasyncsocket.cc',
261 'macasyncsocket.h',
262 'maccocoasocketserver.h',
263 'maccocoasocketserver.mm',
264 'maccocoathreadhelper.h',
265 'maccocoathreadhelper.mm',
266 'macconversion.cc',
267 'macconversion.h',
268 'macsocketserver.cc',
269 'macsocketserver.h',
270 'macutils.cc',
271 'macutils.h',
272 'macwindowpicker.cc',
273 'macwindowpicker.h',
274 'mathutils.h',
275 'messagedigest.cc', 231 'messagedigest.cc',
276 'messagedigest.h', 232 'messagedigest.h',
277 'messagehandler.cc', 233 'messagehandler.cc',
278 'messagehandler.h', 234 'messagehandler.h',
279 'messagequeue.cc', 235 'messagequeue.cc',
280 'messagequeue.h', 236 'messagequeue.h',
281 'multipart.cc',
282 'multipart.h',
283 'natserver.cc',
284 'natserver.h',
285 'natsocketfactory.cc',
286 'natsocketfactory.h',
287 'nattypes.cc',
288 'nattypes.h',
289 'nethelpers.cc', 237 'nethelpers.cc',
290 'nethelpers.h', 238 'nethelpers.h',
291 'network.cc', 239 'network.cc',
292 'network.h', 240 'network.h',
293 'networkmonitor.cc', 241 'networkmonitor.cc',
294 'networkmonitor.h', 242 'networkmonitor.h',
295 'nullsocketserver.h', 243 'nullsocketserver.h',
296 'openssl.h',
297 'openssladapter.cc',
298 'openssladapter.h',
299 'openssldigest.cc',
300 'openssldigest.h',
301 'opensslidentity.cc',
302 'opensslidentity.h',
303 'opensslstreamadapter.cc',
304 'opensslstreamadapter.h',
305 'optionsfile.cc',
306 'optionsfile.h',
307 'pathutils.cc', 244 'pathutils.cc',
308 'pathutils.h', 245 'pathutils.h',
309 'physicalsocketserver.cc', 246 'physicalsocketserver.cc',
310 'physicalsocketserver.h', 247 'physicalsocketserver.h',
311 'posix.cc',
312 'posix.h',
313 'profiler.cc',
314 'profiler.h',
315 'proxydetect.cc', 248 'proxydetect.cc',
316 'proxydetect.h', 249 'proxydetect.h',
317 'proxyinfo.cc', 250 'proxyinfo.cc',
318 'proxyinfo.h', 251 'proxyinfo.h',
319 'proxyserver.cc',
320 'proxyserver.h',
321 'ratelimiter.cc', 252 'ratelimiter.cc',
322 'ratelimiter.h', 253 'ratelimiter.h',
323 'referencecountedsingletonfactory.h',
324 'rollingaccumulator.h',
325 'rtccertificate.cc', 254 'rtccertificate.cc',
326 'rtccertificate.h', 255 'rtccertificate.h',
327 'scoped_autorelease_pool.h',
328 'scoped_autorelease_pool.mm',
329 'scopedptrcollection.h',
330 'sec_buffer.h',
331 'sha1.cc', 256 'sha1.cc',
332 'sha1.h', 257 'sha1.h',
333 'sha1digest.cc', 258 'sha1digest.cc',
334 'sha1digest.h', 259 'sha1digest.h',
335 'sharedexclusivelock.cc', 260 'sharedexclusivelock.cc',
336 'sharedexclusivelock.h', 261 'sharedexclusivelock.h',
337 'signalthread.cc', 262 'signalthread.cc',
338 'signalthread.h', 263 'signalthread.h',
339 'sigslot.cc', 264 'sigslot.cc',
340 'sigslot.h', 265 'sigslot.h',
341 'sigslotrepeater.h', 266 'sigslotrepeater.h',
342 'socket.h', 267 'socket.h',
343 'socketadapters.cc', 268 'socketadapters.cc',
344 'socketadapters.h', 269 'socketadapters.h',
345 'socketaddress.cc', 270 'socketaddress.cc',
346 'socketaddress.h', 271 'socketaddress.h',
347 'socketaddresspair.cc', 272 'socketaddresspair.cc',
348 'socketaddresspair.h', 273 'socketaddresspair.h',
349 'socketfactory.h', 274 'socketfactory.h',
350 'socketpool.cc', 275 'socketpool.cc',
351 'socketpool.h', 276 'socketpool.h',
352 'socketserver.h', 277 'socketserver.h',
353 'socketstream.cc', 278 'socketstream.cc',
354 'socketstream.h', 279 'socketstream.h',
355 'ssladapter.cc', 280 'ssladapter.cc',
356 'ssladapter.h', 281 'ssladapter.h',
357 'sslconfig.h',
358 'sslfingerprint.cc', 282 'sslfingerprint.cc',
359 'sslfingerprint.h', 283 'sslfingerprint.h',
360 'sslidentity.cc', 284 'sslidentity.cc',
361 'sslidentity.h', 285 'sslidentity.h',
362 'sslroots.h',
363 'sslsocketfactory.cc', 286 'sslsocketfactory.cc',
364 'sslsocketfactory.h', 287 'sslsocketfactory.h',
365 'sslstreamadapter.cc', 288 'sslstreamadapter.cc',
366 'sslstreamadapter.h', 289 'sslstreamadapter.h',
367 'stream.cc', 290 'stream.cc',
368 'stream.h', 291 'stream.h',
369 'task.cc', 292 'task.cc',
370 'task.h', 293 'task.h',
371 'taskparent.cc', 294 'taskparent.cc',
372 'taskparent.h', 295 'taskparent.h',
373 'taskrunner.cc', 296 'taskrunner.cc',
374 'taskrunner.h', 297 'taskrunner.h',
375 'testclient.cc',
376 'testclient.h',
377 'thread.cc', 298 'thread.cc',
378 'thread.h', 299 'thread.h',
379 'timing.cc', 300 'timing.cc',
380 'timing.h', 301 'timing.h',
381 'transformadapter.cc',
382 'transformadapter.h',
383 'unixfilesystem.cc',
384 'unixfilesystem.h',
385 'urlencode.cc', 302 'urlencode.cc',
386 'urlencode.h', 303 'urlencode.h',
387 'versionparsing.cc',
388 'versionparsing.h',
389 'virtualsocketserver.cc',
390 'virtualsocketserver.h',
391 'win32.cc',
392 'win32.h',
393 'win32filesystem.cc',
394 'win32filesystem.h',
395 'win32regkey.cc',
396 'win32regkey.h',
397 'win32securityerrors.cc',
398 'win32socketinit.cc',
399 'win32socketinit.h',
400 'win32socketserver.cc',
401 'win32socketserver.h',
402 'win32window.cc',
403 'win32window.h',
404 'win32windowpicker.cc',
405 'win32windowpicker.h',
406 'window.h',
407 'windowpicker.h',
408 'windowpickerfactory.h',
409 'winfirewall.cc',
410 'winfirewall.h',
411 'winping.cc',
412 'winping.h',
413 'worker.cc', 304 'worker.cc',
414 'worker.h', 305 'worker.h',
415 'x11windowpicker.cc',
416 'x11windowpicker.h',
417 ], 306 ],
418 # TODO(henrike): issue 3307, make rtc_base build without disabling 307 # TODO(henrike): issue 3307, make rtc_base build without disabling
419 # these flags. 308 # these flags.
420 'cflags!': [ 309 'cflags!': [
421 '-Wextra', 310 '-Wextra',
422 '-Wall', 311 '-Wall',
423 ], 312 ],
424 'cflags_cc!': [ 313 'cflags_cc!': [
425 '-Wnon-virtual-dtor', 314 '-Wnon-virtual-dtor',
426 ], 315 ],
(...skipping 13 matching lines...) Expand all
440 ], 329 ],
441 'conditions': [ 330 'conditions': [
442 ['build_with_chromium==1', { 331 ['build_with_chromium==1', {
443 'include_dirs': [ 332 'include_dirs': [
444 '../../webrtc_overrides', 333 '../../webrtc_overrides',
445 '../../boringssl/src/include', 334 '../../boringssl/src/include',
446 ], 335 ],
447 'sources': [ 336 'sources': [
448 '../../webrtc_overrides/webrtc/base/win32socketinit.cc', 337 '../../webrtc_overrides/webrtc/base/win32socketinit.cc',
449 ], 338 ],
450 'sources!': [ 339 'defines': [
340 'NO_MAIN_THREAD_WRAPPING',
341 ],
342 'direct_dependent_settings': {
343 'defines': [
344 'NO_MAIN_THREAD_WRAPPING',
345 ],
346 },
347 }, {
348 'sources': [
451 'bandwidthsmoother.cc', 349 'bandwidthsmoother.cc',
452 'bandwidthsmoother.h', 350 'bandwidthsmoother.h',
453 'bind.h', 351 'bind.h',
352 'bind.h.pump',
454 'callback.h', 353 'callback.h',
455 'dbus.cc', 354 'callback.h.pump',
456 'dbus.h',
457 'diskcache_win32.cc',
458 'diskcache_win32.h',
459 'fileutils_mock.h', 355 'fileutils_mock.h',
460 'genericslot.h',
461 'httpserver.cc', 356 'httpserver.cc',
462 'httpserver.h', 357 'httpserver.h',
463 'json.cc', 358 'json.cc',
464 'json.h', 359 'json.h',
465 'latebindingsymboltable.cc',
466 'latebindingsymboltable.h',
467 'libdbusglibsymboltable.cc',
468 'libdbusglibsymboltable.h',
469 'linuxfdwalk.c',
470 'linuxfdwalk.h',
471 'x11windowpicker.cc',
472 'x11windowpicker.h',
473 'logging.cc',
474 'logging.h',
475 'logsinks.cc', 360 'logsinks.cc',
476 'logsinks.h', 361 'logsinks.h',
477 'macasyncsocket.cc',
478 'macasyncsocket.h',
479 'maccocoasocketserver.h',
480 'maccocoasocketserver.mm',
481 'macsocketserver.cc',
482 'macsocketserver.h',
483 'macwindowpicker.cc',
484 'macwindowpicker.h',
485 'mathutils.h', 362 'mathutils.h',
486 'multipart.cc', 363 'multipart.cc',
487 'multipart.h', 364 'multipart.h',
488 'natserver.cc', 365 'natserver.cc',
489 'natserver.h', 366 'natserver.h',
490 'natsocketfactory.cc', 367 'natsocketfactory.cc',
491 'natsocketfactory.h', 368 'natsocketfactory.h',
492 'nattypes.cc', 369 'nattypes.cc',
493 'nattypes.h', 370 'nattypes.h',
494 'optionsfile.cc', 371 'optionsfile.cc',
495 'optionsfile.h', 372 'optionsfile.h',
496 'posix.cc',
497 'posix.h',
498 'profiler.cc', 373 'profiler.cc',
499 'profiler.h', 374 'profiler.h',
500 'proxyserver.cc', 375 'proxyserver.cc',
501 'proxyserver.h', 376 'proxyserver.h',
502 'referencecountedsingletonfactory.h', 377 'referencecountedsingletonfactory.h',
503 'rollingaccumulator.h', 378 'rollingaccumulator.h',
504 'safe_conversions.h',
505 'safe_conversions_impl.h',
506 'scopedptrcollection.h', 379 'scopedptrcollection.h',
507 'sec_buffer.h', 380 'sec_buffer.h',
508 'sslconfig.h', 381 'sslconfig.h',
509 'sslroots.h', 382 'sslroots.h',
510 'testbase64.h', 383 'testbase64.h',
511 'testclient.cc', 384 'testclient.cc',
512 'testclient.h', 385 'testclient.h',
513 'transformadapter.cc', 386 'transformadapter.cc',
514 'transformadapter.h', 387 'transformadapter.h',
515 'versionparsing.cc', 388 'versionparsing.cc',
516 'versionparsing.h', 389 'versionparsing.h',
517 'virtualsocketserver.cc', 390 'virtualsocketserver.cc',
518 'virtualsocketserver.h', 391 'virtualsocketserver.h',
519 'win32regkey.cc',
520 'win32regkey.h',
521 'win32socketinit.cc',
522 'win32socketinit.h',
523 'win32socketserver.cc',
524 'win32socketserver.h',
525 'window.h', 392 'window.h',
393 'windowpicker.h',
526 'windowpickerfactory.h', 394 'windowpickerfactory.h',
527 'windowpicker.h',
528 ], 395 ],
529 'defines': [
530 'NO_MAIN_THREAD_WRAPPING',
531 ],
532 'direct_dependent_settings': {
533 'defines': [
534 'NO_MAIN_THREAD_WRAPPING',
535 ],
536 },
537 }, {
538 'conditions': [ 396 'conditions': [
539 ['build_json==1', { 397 ['build_json==1', {
540 'dependencies': [ 398 'dependencies': [
541 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', 399 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
542 ], 400 ],
543 }, { 401 }, {
544 'include_dirs': [ 402 'include_dirs': [
545 '<(json_root)', 403 '<(json_root)',
546 ], 404 ],
547 'defines': [ 405 'defines': [
548 # When defined changes the include path for json.h to where it 406 # When defined changes the include path for json.h to where it
549 # is expected to be when building json outside of the standalone 407 # is expected to be when building json outside of the standalone
550 # build. 408 # build.
551 'WEBRTC_EXTERNAL_JSON', 409 'WEBRTC_EXTERNAL_JSON',
552 ], 410 ],
553 }], 411 }],
412 ['OS=="linux"', {
413 'sources': [
414 'dbus.cc',
415 'dbus.h',
416 'libdbusglibsymboltable.cc',
417 'libdbusglibsymboltable.h',
418 'linuxfdwalk.c',
419 'linuxfdwalk.h',
420 ],
421 }],
422 ['os_posix==1', {
423 'sources': [
424 'latebindingsymboltable.cc',
425 'latebindingsymboltable.cc.def',
426 'latebindingsymboltable.h',
427 'latebindingsymboltable.h.def',
428 'posix.cc',
429 'posix.h',
430 ],
431 }],
432 ['OS=="mac"', {
433 'sources': [
434 'macasyncsocket.cc',
435 'macasyncsocket.h',
436 'maccocoasocketserver.h',
437 'maccocoasocketserver.mm',
438 'macsocketserver.cc',
439 'macsocketserver.h',
440 'macwindowpicker.cc',
441 'macwindowpicker.h',
442 ],
443 }],
444 ['OS=="win"', {
445 'sources': [
446 'diskcache_win32.cc',
447 'diskcache_win32.h',
448 'win32regkey.cc',
449 'win32regkey.h',
450 'win32socketinit.cc',
451 'win32socketinit.h',
452 'win32socketserver.cc',
453 'win32socketserver.h',
454 ],
455 }],
554 ['OS=="win" and clang==1', { 456 ['OS=="win" and clang==1', {
555 'msvs_settings': { 457 'msvs_settings': {
556 'VCCLCompilerTool': { 458 'VCCLCompilerTool': {
557 'AdditionalOptions': [ 459 'AdditionalOptions': [
558 # Disable warnings failing when compiling with Clang on Wind ows. 460 # Disable warnings failing when compiling with Clang on Wind ows.
559 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 461 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
560 '-Wno-sign-compare', 462 '-Wno-sign-compare',
561 '-Wno-missing-braces', 463 '-Wno-missing-braces',
562 ], 464 ],
563 }, 465 },
564 }, 466 },
565 }], 467 }],
468 ], # conditions
469 }], # build_with_chromium==0
470 ['use_openssl==1', {
kjellander_webrtc 2016/04/05 07:21:38 TBH I don't recall the motivation behind this, but
471 'sources': [
472 'openssl.h',
473 'openssladapter.cc',
474 'openssladapter.h',
475 'openssldigest.cc',
476 'openssldigest.h',
477 'opensslidentity.cc',
478 'opensslidentity.h',
479 'opensslstreamadapter.cc',
480 'opensslstreamadapter.h',
481 ],
482 'conditions': [
483 ['build_ssl==1', {
484 'dependencies': [
485 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
perkj_webrtc 2016/04/05 07:08:12 ? Isn't boringssl and use_openssl separat things?
kjellander_webrtc 2016/04/05 07:21:38 Yes, boringssl is a forked subset of openssl. But
486 ],
487 }, {
488 'include_dirs': [
489 '<(ssl_root)',
490 ],
491 }],
566 ], 492 ],
567 }], 493 }],
568 ['OS == "android"', { 494 ['OS=="android"', {
495 'sources': [
496 'ifaddrs-android.cc',
497 'ifaddrs-android.h',
498 ],
569 'link_settings': { 499 'link_settings': {
570 'libraries': [ 500 'libraries': [
571 '-llog', 501 '-llog',
572 '-lGLESv2', 502 '-lGLESv2',
573 ], 503 ],
574 }, 504 },
575 }, { 505 }],
576 'sources!': [ 506 ['OS=="mac" or OS=="ios"', {
577 'ifaddrs-android.cc', 507 'sources': [
578 'ifaddrs-android.h', 508 'maccocoathreadhelper.h',
509 'maccocoathreadhelper.mm',
510 'macconversion.cc',
511 'macconversion.h',
512 'macifaddrs_converter.cc',
513 'scoped_autorelease_pool.h',
514 'scoped_autorelease_pool.mm',
579 ], 515 ],
580 }], 516 }],
581 ['OS=="ios"', { 517 ['OS=="ios"', {
582 'sources/': [
583 ['include', 'macconversion.*'],
584 ],
585 'all_dependent_settings': { 518 'all_dependent_settings': {
586 'xcode_settings': { 519 'xcode_settings': {
587 'OTHER_LDFLAGS': [ 520 'OTHER_LDFLAGS': [
588 '-framework CFNetwork', 521 '-framework CFNetwork',
589 '-framework Foundation', 522 '-framework Foundation',
590 '-framework Security', 523 '-framework Security',
591 '-framework SystemConfiguration', 524 '-framework SystemConfiguration',
592 '-framework UIKit', 525 '-framework UIKit',
593 ], 526 ],
594 }, 527 },
595 }, 528 },
596 }], 529 }],
597 ['use_x11 == 1', { 530 ['use_x11==1', {
531 'sources': [
532 'x11windowpicker.cc',
533 'x11windowpicker.h',
534 ],
598 'link_settings': { 535 'link_settings': {
599 'libraries': [ 536 'libraries': [
600 '-ldl', 537 '-ldl',
601 '-lrt', 538 '-lrt',
602 '-lXext', 539 '-lXext',
603 '-lX11', 540 '-lX11',
604 '-lXcomposite', 541 '-lXcomposite',
605 '-lXrender', 542 '-lXrender',
606 ], 543 ],
607 }, 544 },
608 }, {
609 'sources!': [
610 'x11windowpicker.cc',
611 'x11windowpicker.h',
612 ],
613 }], 545 }],
614 ['OS=="linux"', { 546 ['OS=="linux"', {
615 'link_settings': { 547 'link_settings': {
616 'libraries': [ 548 'libraries': [
617 '-ldl', 549 '-ldl',
618 '-lrt', 550 '-lrt',
619 ], 551 ],
620 }, 552 },
621 }, {
622 'sources!': [
623 'dbus.cc',
624 'dbus.h',
625 'libdbusglibsymboltable.cc',
626 'libdbusglibsymboltable.h',
627 'linuxfdwalk.c',
628 ],
629 }], 553 }],
630 ['OS=="mac"', { 554 ['OS=="mac"', {
555 'sources': [
556 'macutils.cc',
557 'macutils.h',
558 ],
631 'all_dependent_settings': { 559 'all_dependent_settings': {
632 'link_settings': { 560 'link_settings': {
633 'xcode_settings': { 561 'xcode_settings': {
634 'OTHER_LDFLAGS': [ 562 'OTHER_LDFLAGS': [
635 '-framework Cocoa', 563 '-framework Cocoa',
636 '-framework Foundation', 564 '-framework Foundation',
637 '-framework IOKit', 565 '-framework IOKit',
638 '-framework Security', 566 '-framework Security',
639 '-framework SystemConfiguration', 567 '-framework SystemConfiguration',
640 ], 568 ],
641 }, 569 },
642 }, 570 },
643 }, 571 },
644 'conditions': [ 572 'conditions': [
645 ['target_arch=="ia32"', { 573 ['target_arch=="ia32"', {
646 'all_dependent_settings': { 574 'all_dependent_settings': {
647 'link_settings': { 575 'link_settings': {
648 'xcode_settings': { 576 'xcode_settings': {
649 'OTHER_LDFLAGS': [ 577 'OTHER_LDFLAGS': [
650 '-framework Carbon', 578 '-framework Carbon',
651 ], 579 ],
652 }, 580 },
653 }, 581 },
654 }, 582 },
655 }], 583 }],
656 ], 584 ],
657 }, {
658 'sources!': [
659 'macasyncsocket.cc',
660 'macasyncsocket.h',
661 'maccocoasocketserver.h',
662 'maccocoasocketserver.mm',
663 'macconversion.cc',
664 'macconversion.h',
665 'macsocketserver.cc',
666 'macsocketserver.h',
667 'macutils.cc',
668 'macutils.h',
669 'macwindowpicker.cc',
670 'macwindowpicker.h',
671 ],
672 }], 585 }],
673 ['OS=="win"', { 586 ['OS=="win"', {
674 'sources!': [ 587 'sources': [
675 'ifaddrs_converter.cc', 588 'win32.cc',
589 'win32.h',
590 'win32filesystem.cc',
591 'win32filesystem.h',
592 'win32securityerrors.cc',
593 'win32window.cc',
594 'win32window.h',
595 'win32windowpicker.cc',
596 'win32windowpicker.h',
597 'winfirewall.cc',
598 'winfirewall.h',
599 'winping.cc',
600 'winping.h',
676 ], 601 ],
677 'link_settings': { 602 'link_settings': {
678 'libraries': [ 603 'libraries': [
679 '-lcrypt32.lib', 604 '-lcrypt32.lib',
680 '-liphlpapi.lib', 605 '-liphlpapi.lib',
681 '-lsecur32.lib', 606 '-lsecur32.lib',
682 ], 607 ],
683 }, 608 },
684 # Suppress warnings about WIN32_LEAN_AND_MEAN. 609 # Suppress warnings about WIN32_LEAN_AND_MEAN.
685 'msvs_disabled_warnings': [4005, 4703], 610 'msvs_disabled_warnings': [4005, 4703],
686 'defines': [ 611 'defines': [
687 '_CRT_NONSTDC_NO_DEPRECATE', 612 '_CRT_NONSTDC_NO_DEPRECATE',
688 ], 613 ],
689 }, {
690 'sources/': [
691 ['exclude', 'win32[a-z0-9]*\\.(h|cc)$'],
692 ],
693 'sources!': [
694 'winping.cc',
695 'winping.h',
696 'winfirewall.cc',
697 'winfirewall.h',
698 ],
699 }], 614 }],
700 ['os_posix==0', { 615 ['os_posix==1', {
701 'sources!': [ 616 'sources': [
702 'latebindingsymboltable.cc', 617 'ifaddrs_converter.cc',
703 'latebindingsymboltable.h', 618 'ifaddrs_converter.h',
704 'posix.cc',
705 'posix.h',
706 'unixfilesystem.cc', 619 'unixfilesystem.cc',
707 'unixfilesystem.h', 620 'unixfilesystem.h',
708 ], 621 ],
709 }, {
710 'configurations': { 622 'configurations': {
711 'Debug_Base': { 623 'Debug_Base': {
712 'defines': [ 624 'defines': [
713 # Chromium's build/common.gypi defines this for all posix 625 # Chromium's build/common.gypi defines this for all posix
714 # _except_ for ios & mac. We want it there as well, e.g. 626 # _except_ for ios & mac. We want it there as well, e.g.
715 # because ASSERT and friends trigger off of it. 627 # because ASSERT and friends trigger off of it.
716 '_DEBUG', 628 '_DEBUG',
717 ], 629 ],
718 }, 630 },
719 } 631 }
720 }], 632 }],
721 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { 633 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
722 'defines': [ 634 'defines': [
723 'CARBON_DEPRECATED=YES', 635 'CARBON_DEPRECATED=YES',
724 ], 636 ],
725 }], 637 }],
726 ['OS!="ios" and OS!="mac"', { 638 ['OS=="linux" or OS=="android"', {
727 'sources!': [ 639 'sources': [
728 'macifaddrs_converter.cc',
729 'scoped_autorelease_pool.mm',
730 ],
731 }],
732 ['OS!="linux" and OS!="android"', {
733 'sources!': [
734 'linux.cc', 640 'linux.cc',
735 'linux.h', 641 'linux.h',
736 ], 642 ],
737 }], 643 }],
738 ['build_ssl==1', {
739 'dependencies': [
740 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl',
741 ],
742 }, {
743 'include_dirs': [
744 '<(ssl_root)',
745 ],
746 }],
747 ], 644 ],
748 }, 645 },
749 { 646 {
750 'target_name': 'gtest_prod', 647 'target_name': 'gtest_prod',
751 'type': 'static_library', 648 'type': 'static_library',
752 'sources': [ 649 'sources': [
753 'gtest_prod_util.h', 650 'gtest_prod_util.h',
754 ], 651 ],
755 }, 652 },
756 ], 653 ],
757 } 654 }
OLDNEW
« webrtc/base/BUILD.gn ('K') | « webrtc/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698