| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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', | 244 'openssl.h', |
| 297 'openssladapter.cc', | 245 'openssladapter.cc', |
| 298 'openssladapter.h', | 246 'openssladapter.h', |
| 299 'openssldigest.cc', | 247 'openssldigest.cc', |
| 300 'openssldigest.h', | 248 'openssldigest.h', |
| 301 'opensslidentity.cc', | 249 'opensslidentity.cc', |
| 302 'opensslidentity.h', | 250 'opensslidentity.h', |
| 303 'opensslstreamadapter.cc', | 251 'opensslstreamadapter.cc', |
| 304 'opensslstreamadapter.h', | 252 'opensslstreamadapter.h', |
| 305 'optionsfile.cc', | |
| 306 'optionsfile.h', | |
| 307 'pathutils.cc', | 253 'pathutils.cc', |
| 308 'pathutils.h', | 254 'pathutils.h', |
| 309 'physicalsocketserver.cc', | 255 'physicalsocketserver.cc', |
| 310 'physicalsocketserver.h', | 256 'physicalsocketserver.h', |
| 311 'posix.cc', | |
| 312 'posix.h', | |
| 313 'profiler.cc', | |
| 314 'profiler.h', | |
| 315 'proxydetect.cc', | 257 'proxydetect.cc', |
| 316 'proxydetect.h', | 258 'proxydetect.h', |
| 317 'proxyinfo.cc', | 259 'proxyinfo.cc', |
| 318 'proxyinfo.h', | 260 'proxyinfo.h', |
| 319 'proxyserver.cc', | |
| 320 'proxyserver.h', | |
| 321 'ratelimiter.cc', | 261 'ratelimiter.cc', |
| 322 'ratelimiter.h', | 262 'ratelimiter.h', |
| 323 'referencecountedsingletonfactory.h', | |
| 324 'rollingaccumulator.h', | |
| 325 'rtccertificate.cc', | 263 'rtccertificate.cc', |
| 326 'rtccertificate.h', | 264 'rtccertificate.h', |
| 327 'scoped_autorelease_pool.h', | |
| 328 'scoped_autorelease_pool.mm', | |
| 329 'scopedptrcollection.h', | |
| 330 'sec_buffer.h', | |
| 331 'sha1.cc', | 265 'sha1.cc', |
| 332 'sha1.h', | 266 'sha1.h', |
| 333 'sha1digest.cc', | 267 'sha1digest.cc', |
| 334 'sha1digest.h', | 268 'sha1digest.h', |
| 335 'sharedexclusivelock.cc', | 269 'sharedexclusivelock.cc', |
| 336 'sharedexclusivelock.h', | 270 'sharedexclusivelock.h', |
| 337 'signalthread.cc', | 271 'signalthread.cc', |
| 338 'signalthread.h', | 272 'signalthread.h', |
| 339 'sigslot.cc', | 273 'sigslot.cc', |
| 340 'sigslot.h', | 274 'sigslot.h', |
| 341 'sigslotrepeater.h', | 275 'sigslotrepeater.h', |
| 342 'socket.h', | 276 'socket.h', |
| 343 'socketadapters.cc', | 277 'socketadapters.cc', |
| 344 'socketadapters.h', | 278 'socketadapters.h', |
| 345 'socketaddress.cc', | 279 'socketaddress.cc', |
| 346 'socketaddress.h', | 280 'socketaddress.h', |
| 347 'socketaddresspair.cc', | 281 'socketaddresspair.cc', |
| 348 'socketaddresspair.h', | 282 'socketaddresspair.h', |
| 349 'socketfactory.h', | 283 'socketfactory.h', |
| 350 'socketpool.cc', | 284 'socketpool.cc', |
| 351 'socketpool.h', | 285 'socketpool.h', |
| 352 'socketserver.h', | 286 'socketserver.h', |
| 353 'socketstream.cc', | 287 'socketstream.cc', |
| 354 'socketstream.h', | 288 'socketstream.h', |
| 355 'ssladapter.cc', | 289 'ssladapter.cc', |
| 356 'ssladapter.h', | 290 'ssladapter.h', |
| 357 'sslconfig.h', | |
| 358 'sslfingerprint.cc', | 291 'sslfingerprint.cc', |
| 359 'sslfingerprint.h', | 292 'sslfingerprint.h', |
| 360 'sslidentity.cc', | 293 'sslidentity.cc', |
| 361 'sslidentity.h', | 294 'sslidentity.h', |
| 362 'sslroots.h', | |
| 363 'sslsocketfactory.cc', | 295 'sslsocketfactory.cc', |
| 364 'sslsocketfactory.h', | 296 'sslsocketfactory.h', |
| 365 'sslstreamadapter.cc', | 297 'sslstreamadapter.cc', |
| 366 'sslstreamadapter.h', | 298 'sslstreamadapter.h', |
| 367 'stream.cc', | 299 'stream.cc', |
| 368 'stream.h', | 300 'stream.h', |
| 369 'task.cc', | 301 'task.cc', |
| 370 'task.h', | 302 'task.h', |
| 371 'taskparent.cc', | 303 'taskparent.cc', |
| 372 'taskparent.h', | 304 'taskparent.h', |
| 373 'taskrunner.cc', | 305 'taskrunner.cc', |
| 374 'taskrunner.h', | 306 'taskrunner.h', |
| 375 'testclient.cc', | |
| 376 'testclient.h', | |
| 377 'thread.cc', | 307 'thread.cc', |
| 378 'thread.h', | 308 'thread.h', |
| 379 'timing.cc', | 309 'timing.cc', |
| 380 'timing.h', | 310 'timing.h', |
| 381 'transformadapter.cc', | |
| 382 'transformadapter.h', | |
| 383 'unixfilesystem.cc', | |
| 384 'unixfilesystem.h', | |
| 385 'urlencode.cc', | 311 'urlencode.cc', |
| 386 'urlencode.h', | 312 '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', | 313 'worker.cc', |
| 414 'worker.h', | 314 'worker.h', |
| 415 'x11windowpicker.cc', | |
| 416 'x11windowpicker.h', | |
| 417 ], | 315 ], |
| 418 # TODO(henrike): issue 3307, make rtc_base build without disabling | 316 # TODO(henrike): issue 3307, make rtc_base build without disabling |
| 419 # these flags. | 317 # these flags. |
| 420 'cflags!': [ | 318 'cflags!': [ |
| 421 '-Wextra', | 319 '-Wextra', |
| 422 '-Wall', | 320 '-Wall', |
| 423 ], | 321 ], |
| 424 'cflags_cc!': [ | 322 'cflags_cc!': [ |
| 425 '-Wnon-virtual-dtor', | 323 '-Wnon-virtual-dtor', |
| 426 ], | 324 ], |
| (...skipping 10 matching lines...) Expand all Loading... |
| 437 'include_dirs': [ | 335 'include_dirs': [ |
| 438 '../../third_party/jsoncpp/overrides/include', | 336 '../../third_party/jsoncpp/overrides/include', |
| 439 '../../third_party/jsoncpp/source/include', | 337 '../../third_party/jsoncpp/source/include', |
| 440 ], | 338 ], |
| 441 'conditions': [ | 339 'conditions': [ |
| 442 ['build_with_chromium==1', { | 340 ['build_with_chromium==1', { |
| 443 'include_dirs': [ | 341 'include_dirs': [ |
| 444 '../../webrtc_overrides', | 342 '../../webrtc_overrides', |
| 445 '../../boringssl/src/include', | 343 '../../boringssl/src/include', |
| 446 ], | 344 ], |
| 345 'conditions': [ |
| 346 ['OS=="win"', { |
| 347 'sources': [ |
| 348 '../../webrtc_overrides/webrtc/base/win32socketinit.cc', |
| 349 ], |
| 350 }], |
| 351 ], |
| 352 'defines': [ |
| 353 'NO_MAIN_THREAD_WRAPPING', |
| 354 ], |
| 355 'direct_dependent_settings': { |
| 356 'defines': [ |
| 357 'NO_MAIN_THREAD_WRAPPING', |
| 358 ], |
| 359 }, |
| 360 }, { |
| 447 'sources': [ | 361 'sources': [ |
| 448 '../../webrtc_overrides/webrtc/base/win32socketinit.cc', | |
| 449 ], | |
| 450 'sources!': [ | |
| 451 'bandwidthsmoother.cc', | 362 'bandwidthsmoother.cc', |
| 452 'bandwidthsmoother.h', | 363 'bandwidthsmoother.h', |
| 453 'bind.h', | 364 'bind.h', |
| 454 'callback.h', | 365 'callback.h', |
| 455 'dbus.cc', | |
| 456 'dbus.h', | |
| 457 'diskcache_win32.cc', | |
| 458 'diskcache_win32.h', | |
| 459 'fileutils_mock.h', | 366 'fileutils_mock.h', |
| 460 'genericslot.h', | |
| 461 'httpserver.cc', | 367 'httpserver.cc', |
| 462 'httpserver.h', | 368 'httpserver.h', |
| 463 'json.cc', | 369 'json.cc', |
| 464 'json.h', | 370 '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', | 371 'logsinks.cc', |
| 476 'logsinks.h', | 372 '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', | 373 'mathutils.h', |
| 486 'multipart.cc', | 374 'multipart.cc', |
| 487 'multipart.h', | 375 'multipart.h', |
| 488 'natserver.cc', | 376 'natserver.cc', |
| 489 'natserver.h', | 377 'natserver.h', |
| 490 'natsocketfactory.cc', | 378 'natsocketfactory.cc', |
| 491 'natsocketfactory.h', | 379 'natsocketfactory.h', |
| 492 'nattypes.cc', | 380 'nattypes.cc', |
| 493 'nattypes.h', | 381 'nattypes.h', |
| 494 'optionsfile.cc', | 382 'optionsfile.cc', |
| 495 'optionsfile.h', | 383 'optionsfile.h', |
| 496 'posix.cc', | |
| 497 'posix.h', | |
| 498 'profiler.cc', | 384 'profiler.cc', |
| 499 'profiler.h', | 385 'profiler.h', |
| 500 'proxyserver.cc', | 386 'proxyserver.cc', |
| 501 'proxyserver.h', | 387 'proxyserver.h', |
| 502 'referencecountedsingletonfactory.h', | 388 'referencecountedsingletonfactory.h', |
| 503 'rollingaccumulator.h', | 389 'rollingaccumulator.h', |
| 504 'safe_conversions.h', | |
| 505 'safe_conversions_impl.h', | |
| 506 'scopedptrcollection.h', | 390 'scopedptrcollection.h', |
| 507 'sec_buffer.h', | 391 'sec_buffer.h', |
| 508 'sslconfig.h', | 392 'sslconfig.h', |
| 509 'sslroots.h', | 393 'sslroots.h', |
| 510 'testbase64.h', | 394 'testbase64.h', |
| 511 'testclient.cc', | 395 'testclient.cc', |
| 512 'testclient.h', | 396 'testclient.h', |
| 513 'transformadapter.cc', | 397 'transformadapter.cc', |
| 514 'transformadapter.h', | 398 'transformadapter.h', |
| 515 'versionparsing.cc', | 399 'versionparsing.cc', |
| 516 'versionparsing.h', | 400 'versionparsing.h', |
| 517 'virtualsocketserver.cc', | 401 'virtualsocketserver.cc', |
| 518 'virtualsocketserver.h', | 402 'virtualsocketserver.h', |
| 519 'win32regkey.cc', | |
| 520 'win32regkey.h', | |
| 521 'win32socketinit.cc', | |
| 522 'win32socketinit.h', | |
| 523 'win32socketserver.cc', | |
| 524 'win32socketserver.h', | |
| 525 'window.h', | 403 'window.h', |
| 404 'windowpicker.h', |
| 526 'windowpickerfactory.h', | 405 'windowpickerfactory.h', |
| 527 'windowpicker.h', | |
| 528 ], | 406 ], |
| 529 'defines': [ | |
| 530 'NO_MAIN_THREAD_WRAPPING', | |
| 531 ], | |
| 532 'direct_dependent_settings': { | |
| 533 'defines': [ | |
| 534 'NO_MAIN_THREAD_WRAPPING', | |
| 535 ], | |
| 536 }, | |
| 537 }, { | |
| 538 'conditions': [ | 407 'conditions': [ |
| 539 ['build_json==1', { | 408 ['build_json==1', { |
| 540 'dependencies': [ | 409 'dependencies': [ |
| 541 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', | 410 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', |
| 542 ], | 411 ], |
| 543 }, { | 412 }, { |
| 544 'include_dirs': [ | 413 'include_dirs': [ |
| 545 '<(json_root)', | 414 '<(json_root)', |
| 546 ], | 415 ], |
| 547 'defines': [ | 416 'defines': [ |
| 548 # When defined changes the include path for json.h to where it | 417 # When defined changes the include path for json.h to where it |
| 549 # is expected to be when building json outside of the standalone | 418 # is expected to be when building json outside of the standalone |
| 550 # build. | 419 # build. |
| 551 'WEBRTC_EXTERNAL_JSON', | 420 'WEBRTC_EXTERNAL_JSON', |
| 552 ], | 421 ], |
| 553 }], | 422 }], |
| 423 ['OS=="linux"', { |
| 424 'sources': [ |
| 425 'dbus.cc', |
| 426 'dbus.h', |
| 427 'libdbusglibsymboltable.cc', |
| 428 'libdbusglibsymboltable.h', |
| 429 'linuxfdwalk.c', |
| 430 'linuxfdwalk.h', |
| 431 ], |
| 432 }], |
| 433 ['os_posix==1', { |
| 434 'sources': [ |
| 435 'latebindingsymboltable.cc', |
| 436 'latebindingsymboltable.cc.def', |
| 437 'latebindingsymboltable.h', |
| 438 'latebindingsymboltable.h.def', |
| 439 'posix.cc', |
| 440 'posix.h', |
| 441 ], |
| 442 }], |
| 443 ['OS=="mac"', { |
| 444 'sources': [ |
| 445 'macasyncsocket.cc', |
| 446 'macasyncsocket.h', |
| 447 'maccocoasocketserver.h', |
| 448 'maccocoasocketserver.mm', |
| 449 'macsocketserver.cc', |
| 450 'macsocketserver.h', |
| 451 'macwindowpicker.cc', |
| 452 'macwindowpicker.h', |
| 453 ], |
| 454 }], |
| 455 ['OS=="win"', { |
| 456 'sources': [ |
| 457 'diskcache_win32.cc', |
| 458 'diskcache_win32.h', |
| 459 'win32regkey.cc', |
| 460 'win32regkey.h', |
| 461 'win32socketinit.cc', |
| 462 'win32socketinit.h', |
| 463 'win32socketserver.cc', |
| 464 'win32socketserver.h', |
| 465 ], |
| 466 }], |
| 554 ['OS=="win" and clang==1', { | 467 ['OS=="win" and clang==1', { |
| 555 'msvs_settings': { | 468 'msvs_settings': { |
| 556 'VCCLCompilerTool': { | 469 'VCCLCompilerTool': { |
| 557 'AdditionalOptions': [ | 470 'AdditionalOptions': [ |
| 558 # Disable warnings failing when compiling with Clang on Wind
ows. | 471 # Disable warnings failing when compiling with Clang on Wind
ows. |
| 559 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | 472 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
| 560 '-Wno-sign-compare', | 473 '-Wno-sign-compare', |
| 561 '-Wno-missing-braces', | 474 '-Wno-missing-braces', |
| 562 ], | 475 ], |
| 563 }, | 476 }, |
| 564 }, | 477 }, |
| 565 }], | 478 }], |
| 479 ], # conditions |
| 480 }], # build_with_chromium==0 |
| 481 ['OS=="android"', { |
| 482 'sources': [ |
| 483 'ifaddrs-android.cc', |
| 484 'ifaddrs-android.h', |
| 566 ], | 485 ], |
| 567 }], | |
| 568 ['OS == "android"', { | |
| 569 'link_settings': { | 486 'link_settings': { |
| 570 'libraries': [ | 487 'libraries': [ |
| 571 '-llog', | 488 '-llog', |
| 572 '-lGLESv2', | 489 '-lGLESv2', |
| 573 ], | 490 ], |
| 574 }, | 491 }, |
| 575 }, { | 492 }], |
| 576 'sources!': [ | 493 ['OS=="mac" or OS=="ios"', { |
| 577 'ifaddrs-android.cc', | 494 'sources': [ |
| 578 'ifaddrs-android.h', | 495 'maccocoathreadhelper.h', |
| 496 'maccocoathreadhelper.mm', |
| 497 'macconversion.cc', |
| 498 'macconversion.h', |
| 499 'macifaddrs_converter.cc', |
| 500 'scoped_autorelease_pool.h', |
| 501 'scoped_autorelease_pool.mm', |
| 579 ], | 502 ], |
| 580 }], | 503 }], |
| 581 ['OS=="ios"', { | 504 ['OS=="ios"', { |
| 582 'sources/': [ | |
| 583 ['include', 'macconversion.*'], | |
| 584 ], | |
| 585 'all_dependent_settings': { | 505 'all_dependent_settings': { |
| 586 'xcode_settings': { | 506 'xcode_settings': { |
| 587 'OTHER_LDFLAGS': [ | 507 'OTHER_LDFLAGS': [ |
| 588 '-framework CFNetwork', | 508 '-framework CFNetwork', |
| 589 '-framework Foundation', | 509 '-framework Foundation', |
| 590 '-framework Security', | 510 '-framework Security', |
| 591 '-framework SystemConfiguration', | 511 '-framework SystemConfiguration', |
| 592 '-framework UIKit', | 512 '-framework UIKit', |
| 593 ], | 513 ], |
| 594 }, | 514 }, |
| 595 }, | 515 }, |
| 596 }], | 516 }], |
| 597 ['use_x11 == 1', { | 517 ['use_x11==1', { |
| 518 'sources': [ |
| 519 'x11windowpicker.cc', |
| 520 'x11windowpicker.h', |
| 521 ], |
| 598 'link_settings': { | 522 'link_settings': { |
| 599 'libraries': [ | 523 'libraries': [ |
| 600 '-ldl', | 524 '-ldl', |
| 601 '-lrt', | 525 '-lrt', |
| 602 '-lXext', | 526 '-lXext', |
| 603 '-lX11', | 527 '-lX11', |
| 604 '-lXcomposite', | 528 '-lXcomposite', |
| 605 '-lXrender', | 529 '-lXrender', |
| 606 ], | 530 ], |
| 607 }, | 531 }, |
| 608 }, { | |
| 609 'sources!': [ | |
| 610 'x11windowpicker.cc', | |
| 611 'x11windowpicker.h', | |
| 612 ], | |
| 613 }], | 532 }], |
| 614 ['OS=="linux"', { | 533 ['OS=="linux"', { |
| 615 'link_settings': { | 534 'link_settings': { |
| 616 'libraries': [ | 535 'libraries': [ |
| 617 '-ldl', | 536 '-ldl', |
| 618 '-lrt', | 537 '-lrt', |
| 619 ], | 538 ], |
| 620 }, | 539 }, |
| 621 }, { | |
| 622 'sources!': [ | |
| 623 'dbus.cc', | |
| 624 'dbus.h', | |
| 625 'libdbusglibsymboltable.cc', | |
| 626 'libdbusglibsymboltable.h', | |
| 627 'linuxfdwalk.c', | |
| 628 ], | |
| 629 }], | 540 }], |
| 630 ['OS=="mac"', { | 541 ['OS=="mac"', { |
| 542 'sources': [ |
| 543 'macutils.cc', |
| 544 'macutils.h', |
| 545 ], |
| 631 'all_dependent_settings': { | 546 'all_dependent_settings': { |
| 632 'link_settings': { | 547 'link_settings': { |
| 633 'xcode_settings': { | 548 'xcode_settings': { |
| 634 'OTHER_LDFLAGS': [ | 549 'OTHER_LDFLAGS': [ |
| 635 '-framework Cocoa', | 550 '-framework Cocoa', |
| 636 '-framework Foundation', | 551 '-framework Foundation', |
| 637 '-framework IOKit', | 552 '-framework IOKit', |
| 638 '-framework Security', | 553 '-framework Security', |
| 639 '-framework SystemConfiguration', | 554 '-framework SystemConfiguration', |
| 640 ], | 555 ], |
| 641 }, | 556 }, |
| 642 }, | 557 }, |
| 643 }, | 558 }, |
| 644 'conditions': [ | 559 'conditions': [ |
| 645 ['target_arch=="ia32"', { | 560 ['target_arch=="ia32"', { |
| 646 'all_dependent_settings': { | 561 'all_dependent_settings': { |
| 647 'link_settings': { | 562 'link_settings': { |
| 648 'xcode_settings': { | 563 'xcode_settings': { |
| 649 'OTHER_LDFLAGS': [ | 564 'OTHER_LDFLAGS': [ |
| 650 '-framework Carbon', | 565 '-framework Carbon', |
| 651 ], | 566 ], |
| 652 }, | 567 }, |
| 653 }, | 568 }, |
| 654 }, | 569 }, |
| 655 }], | 570 }], |
| 656 ], | 571 ], |
| 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 }], | 572 }], |
| 673 ['OS=="win"', { | 573 ['OS=="win"', { |
| 674 'sources!': [ | 574 'sources': [ |
| 675 'ifaddrs_converter.cc', | 575 'win32.cc', |
| 576 'win32.h', |
| 577 'win32filesystem.cc', |
| 578 'win32filesystem.h', |
| 579 'win32securityerrors.cc', |
| 580 'win32window.cc', |
| 581 'win32window.h', |
| 582 'win32windowpicker.cc', |
| 583 'win32windowpicker.h', |
| 584 'winfirewall.cc', |
| 585 'winfirewall.h', |
| 586 'winping.cc', |
| 587 'winping.h', |
| 676 ], | 588 ], |
| 677 'link_settings': { | 589 'link_settings': { |
| 678 'libraries': [ | 590 'libraries': [ |
| 679 '-lcrypt32.lib', | 591 '-lcrypt32.lib', |
| 680 '-liphlpapi.lib', | 592 '-liphlpapi.lib', |
| 681 '-lsecur32.lib', | 593 '-lsecur32.lib', |
| 682 ], | 594 ], |
| 683 }, | 595 }, |
| 684 # Suppress warnings about WIN32_LEAN_AND_MEAN. | 596 # Suppress warnings about WIN32_LEAN_AND_MEAN. |
| 685 'msvs_disabled_warnings': [4005, 4703], | 597 'msvs_disabled_warnings': [4005, 4703], |
| 686 'defines': [ | 598 'defines': [ |
| 687 '_CRT_NONSTDC_NO_DEPRECATE', | 599 '_CRT_NONSTDC_NO_DEPRECATE', |
| 688 ], | 600 ], |
| 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 }], | 601 }], |
| 700 ['os_posix==0', { | 602 ['os_posix==1', { |
| 701 'sources!': [ | 603 'sources': [ |
| 702 'latebindingsymboltable.cc', | 604 'ifaddrs_converter.cc', |
| 703 'latebindingsymboltable.h', | 605 'ifaddrs_converter.h', |
| 704 'posix.cc', | |
| 705 'posix.h', | |
| 706 'unixfilesystem.cc', | 606 'unixfilesystem.cc', |
| 707 'unixfilesystem.h', | 607 'unixfilesystem.h', |
| 708 ], | 608 ], |
| 709 }, { | |
| 710 'configurations': { | 609 'configurations': { |
| 711 'Debug_Base': { | 610 'Debug_Base': { |
| 712 'defines': [ | 611 'defines': [ |
| 713 # Chromium's build/common.gypi defines this for all posix | 612 # Chromium's build/common.gypi defines this for all posix |
| 714 # _except_ for ios & mac. We want it there as well, e.g. | 613 # _except_ for ios & mac. We want it there as well, e.g. |
| 715 # because ASSERT and friends trigger off of it. | 614 # because ASSERT and friends trigger off of it. |
| 716 '_DEBUG', | 615 '_DEBUG', |
| 717 ], | 616 ], |
| 718 }, | 617 }, |
| 719 } | 618 } |
| 720 }], | 619 }], |
| 721 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { | 620 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { |
| 722 'defines': [ | 621 'defines': [ |
| 723 'CARBON_DEPRECATED=YES', | 622 'CARBON_DEPRECATED=YES', |
| 724 ], | 623 ], |
| 725 }], | 624 }], |
| 726 ['OS!="ios" and OS!="mac"', { | 625 ['OS=="linux" or OS=="android"', { |
| 727 'sources!': [ | 626 'sources': [ |
| 728 'macifaddrs_converter.cc', | |
| 729 'scoped_autorelease_pool.mm', | |
| 730 ], | |
| 731 }], | |
| 732 ['OS!="linux" and OS!="android"', { | |
| 733 'sources!': [ | |
| 734 'linux.cc', | 627 'linux.cc', |
| 735 'linux.h', | 628 'linux.h', |
| 736 ], | 629 ], |
| 737 }], | 630 }], |
| 738 ['build_ssl==1', { | 631 ['build_ssl==1', { |
| 739 'dependencies': [ | 632 'dependencies': [ |
| 740 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 633 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 741 ], | 634 ], |
| 742 }, { | 635 }, { |
| 743 'include_dirs': [ | 636 'include_dirs': [ |
| 744 '<(ssl_root)', | 637 '<(ssl_root)', |
| 745 ], | 638 ], |
| 746 }], | 639 }], |
| 747 ], | 640 ], |
| 748 }, | 641 }, |
| 749 { | 642 { |
| 750 'target_name': 'gtest_prod', | 643 'target_name': 'gtest_prod', |
| 751 'type': 'static_library', | 644 'type': 'static_library', |
| 752 'sources': [ | 645 'sources': [ |
| 753 'gtest_prod_util.h', | 646 'gtest_prod_util.h', |
| 754 ], | 647 ], |
| 755 }, | 648 }, |
| 756 ], | 649 ], |
| 757 } | 650 } |
| OLD | NEW |