1 import talk 2 Import("env") 3 4 talk.Library(env, name = "expat", 5 cppdefines = [ 6 "XML_STATIC", 7 ], 8 srcs = [ 9 "third_party/expat-2.0.1/lib/xmlparse.c", 10 "third_party/expat-2.0.1/lib/xmlrole.c", 11 "third_party/expat-2.0.1/lib/xmltok.c", 12 ], 13 includedirs = [ 14 "third_party/expat-2.0.1/lib", 15 ], 16 win_cppdefines = [ 17 "COMPILED_FROM_DSP", 18 ], 19 posix_cppdefines = [ 20 "HAVE_EXPAT_CONFIG_H", 21 ], 22 ) 23 talk.Library(env, name = "gunit", 24 srcs = [ 25 "testing/gtest/src/gtest-all.cc", 26 ], 27 includedirs = [ 28 "testing/gtest/include", 29 "third_party/expat-2.0.1/lib", 30 "third_party/srtp", 31 "testing/gtest", 32 ], 33 cppdefines = [ 34 "EXPAT_RELATIVE_PATH", 35 "GTEST_RELATIVE_PATH", 36 "SRTP_RELATIVE_PATH", 37 ], 38 ) 39 talk.Library(env, name = "srtp", 40 srcs = [ 41 "third_party/srtp/crypto/cipher/aes.c", 42 "third_party/srtp/crypto/cipher/aes_cbc.c", 43 "third_party/srtp/crypto/cipher/aes_icm.c", 44 "third_party/srtp/crypto/cipher/cipher.c", 45 "third_party/srtp/crypto/cipher/null_cipher.c", 46 "third_party/srtp/crypto/hash/auth.c", 47 "third_party/srtp/crypto/hash/hmac.c", 48 "third_party/srtp/crypto/hash/null_auth.c", 49 "third_party/srtp/crypto/hash/sha1.c", 50 "third_party/srtp/crypto/replay/rdb.c", 51 "third_party/srtp/crypto/replay/rdbx.c", 52 "third_party/srtp/crypto/replay/ut_sim.c", 53 "third_party/srtp/crypto/math/datatypes.c", 54 "third_party/srtp/crypto/math/stat.c", 55 "third_party/srtp/crypto/kernel/alloc.c", 56 "third_party/srtp/crypto/kernel/crypto_kernel.c", 57 "third_party/srtp/crypto/kernel/err.c", 58 "third_party/srtp/crypto/kernel/key.c", 59 "third_party/srtp/crypto/rng/ctr_prng.c", 60 "third_party/srtp/crypto/rng/rand_source.c", 61 "third_party/srtp/srtp/ekt.c", 62 "third_party/srtp/srtp/srtp.c", 63 ], 64 includedirs = [ 65 "third_party/srtp/include", 66 "third_party/srtp/crypto/include", 67 ], 68 win_ccflags = [ 69 "/wd4701", 70 "/wd4702", 71 ], 72 ) 73 # Set up the SSL/TLS includes 74 if 'NSS_BUILD_PLATFORM' in env['ENV']: 75 SSL_INCLUDES = [ 76 "third_party/mozilla/dist/public/nss", 77 "third_party/mozilla/dist/" + env['ENV']['NSS_BUILD_PLATFORM']+ "/include" 78 ] 79 SSL_LIBS = [ 80 "ssl3", 81 "nss3", 82 "nssutil3", 83 "plc4", 84 "plds4", 85 "nspr4", 86 ] 87 else: 88 SSL_INCLUDES = ["third_party/openssl/include"] 89 SSL_LIBS = ["crypto", "ssl"] 90 91 talk.Library(env, name = "jingle", 92 lin_packages = [ 93 "x11", 94 "xcomposite", 95 "xrender", 96 ], 97 lin_srcs = [ 98 "base/latebindingsymboltable.cc", 99 "base/latebindingsymboltable.h.def", 100 "base/latebindingsymboltable.cc.def", 101 "base/linux.cc", 102 "base/linuxfdwalk.c", 103 "base/linuxwindowpicker.cc", 104 "media/devices/libudevsymboltable.cc", 105 "media/devices/linuxdeviceinfo.cc", 106 "media/devices/linuxdevicemanager.cc", 107 "media/devices/v4llookup.cc", 108 "sound/alsasoundsystem.cc", 109 "sound/alsasymboltable.cc", 110 "sound/linuxsoundsystem.cc", 111 "sound/pulseaudiosoundsystem.cc", 112 "sound/pulseaudiosymboltable.cc", 113 ], 114 dependent_target_settings = { 115 'lin_libs': [ 116 "dl", 117 "pthread", 118 "rt", 119 "gthread-2.0", 120 ], 121 'mac_libs': SSL_LIBS, 122 'win_libs': [ 123 "winmm.lib", 124 ], 125 }, 126 mac_srcs = [ 127 "base/macasyncsocket.cc", 128 "base/maccocoasocketserver.mm", 129 "base/maccocoathreadhelper.mm", 130 "base/macconversion.cc", 131 "base/macsocketserver.cc", 132 "base/macutils.cc", 133 "base/macwindowpicker.cc", 134 "base/scoped_autorelease_pool.mm", 135 "media/devices/carbonvideorenderer.cc", 136 "media/devices/macdeviceinfo.cc", 137 "media/devices/macdevicemanager.cc", 138 "media/devices/macdevicemanagermm.mm", 139 ], 140 posix_srcs = [ 141 "base/unixfilesystem.cc", 142 "base/posix.cc", 143 ], 144 linphone_srcs = [ 145 "media/other/linphonemediaengine.cc", 146 ], 147 cppdefines = [ 148 "FEATURE_ENABLE_VOICEMAIL", 149 "EXPAT_RELATIVE_PATH", 150 "GTEST_RELATIVE_PATH", 151 "SRTP_RELATIVE_PATH", 152 "XML_STATIC", 153 ], 154 srcs = [ 155 "base/asyncfile.cc", 156 "base/asynchttprequest.cc", 157 "base/asyncsocket.cc", 158 "base/asynctcpsocket.cc", 159 "base/asyncudpsocket.cc", 160 "base/autodetectproxy.cc", 161 "base/bandwidthsmoother.cc", 162 "base/base64.cc", 163 "base/basicpacketsocketfactory.cc", 164 "base/bytebuffer.cc", 165 "base/checks.cc", 166 "base/common.cc", 167 "base/cpumonitor.cc", 168 "base/crc32.cc", 169 "base/diskcache.cc", 170 "base/event.cc", 171 "base/filelock.cc", 172 "base/fileutils.cc", 173 "base/firewallsocketserver.cc", 174 "base/flags.cc", 175 "base/helpers.cc", 176 "base/host.cc", 177 "base/httpbase.cc", 178 "base/httpclient.cc", 179 "base/httpcommon.cc", 180 "base/httprequest.cc", 181 "base/httpserver.cc", 182 "base/ipaddress.cc", 183 "base/logging.cc", 184 "base/md5.cc", 185 "base/messagedigest.cc", 186 "base/messagehandler.cc", 187 "base/messagequeue.cc", 188 "base/multipart.cc", 189 "base/natserver.cc", 190 "base/natsocketfactory.cc", 191 "base/nattypes.cc", 192 "base/nethelpers.cc", 193 "base/network.cc", 194 "base/nssidentity.cc", 195 "base/nssstreamadapter.cc", 196 "base/openssladapter.cc", 197 "base/openssldigest.cc", 198 "base/opensslidentity.cc", 199 "base/opensslstreamadapter.cc", 200 "base/optionsfile.cc", 201 "base/pathutils.cc", 202 "base/physicalsocketserver.cc", 203 "base/profiler.cc", 204 "base/proxydetect.cc", 205 "base/proxyinfo.cc", 206 "base/proxyserver.cc", 207 "base/ratelimiter.cc", 208 "base/ratetracker.cc", 209 "base/sha1.cc", 210 "base/sharedexclusivelock.cc", 211 "base/signalthread.cc", 212 "base/socketadapters.cc", 213 "base/socketaddress.cc", 214 "base/socketaddresspair.cc", 215 "base/socketpool.cc", 216 "base/socketstream.cc", 217 "base/ssladapter.cc", 218 "base/sslsocketfactory.cc", 219 "base/sslidentity.cc", 220 "base/sslstreamadapter.cc", 221 "base/sslstreamadapterhelper.cc", 222 "base/stream.cc", 223 "base/stringencode.cc", 224 "base/stringutils.cc", 225 "base/systeminfo.cc", 226 "base/task.cc", 227 "base/taskparent.cc", 228 "base/taskrunner.cc", 229 "base/testclient.cc", 230 "base/thread.cc", 231 "base/timeutils.cc", 232 "base/timing.cc", 233 "base/transformadapter.cc", 234 "base/urlencode.cc", 235 "base/versionparsing.cc", 236 "base/virtualsocketserver.cc", 237 "base/worker.cc", 238 "p2p/base/constants.cc", 239 "p2p/base/dtlstransportchannel.cc", 240 "p2p/base/p2ptransport.cc", 241 "p2p/base/p2ptransportchannel.cc", 242 "p2p/base/parsing.cc", 243 "p2p/base/port.cc", 244 "p2p/base/portallocator.cc", 245 "p2p/base/portallocatorsessionproxy.cc", 246 "p2p/base/portproxy.cc", 247 "p2p/base/pseudotcp.cc", 248 "p2p/base/relayport.cc", 249 "p2p/base/relayserver.cc", 250 "p2p/base/rawtransport.cc", 251 "p2p/base/rawtransportchannel.cc", 252 "p2p/base/session.cc", 253 "p2p/base/sessiondescription.cc", 254 "p2p/base/sessionmanager.cc", 255 "p2p/base/sessionmessages.cc", 256 "p2p/base/stun.cc", 257 "p2p/base/stunport.cc", 258 "p2p/base/stunrequest.cc", 259 "p2p/base/stunserver.cc", 260 "p2p/base/tcpport.cc", 261 "p2p/base/transport.cc", 262 "p2p/base/transportchannel.cc", 263 "p2p/base/transportchannelproxy.cc", 264 "p2p/base/transportdescriptionfactory.cc", 265 "p2p/base/turnport.cc", 266 "p2p/base/turnserver.cc", 267 "p2p/client/basicportallocator.cc", 268 "p2p/client/connectivitychecker.cc", 269 "p2p/client/httpportallocator.cc", 270 "p2p/client/socketmonitor.cc", 271 "session/tunnel/pseudotcpchannel.cc", 272 "session/tunnel/tunnelsessionclient.cc", 273 "session/tunnel/securetunnelsessionclient.cc", 274 "media/base/capturemanager.cc", 275 "media/base/capturerenderadapter.cc", 276 "media/base/codec.cc", 277 "media/base/constants.cc", 278 "media/base/cpuid.cc", 279 "media/base/filemediaengine.cc", 280 "media/base/hybridvideoengine.cc", 281 "media/base/mediaengine.cc", 282 "media/base/rtpdataengine.cc", 283 "media/base/rtpdump.cc", 284 "media/base/rtputils.cc", 285 "media/base/streamparams.cc", 286 "media/base/videoadapter.cc", 287 "media/base/videocapturer.cc", 288 "media/base/mutedvideocapturer.cc", 289 "media/base/videocommon.cc", 290 "media/base/videoframe.cc", 291 "media/devices/devicemanager.cc", 292 "media/devices/filevideocapturer.cc", 293 "media/sctp/sctputils.cc", 294 "session/media/audiomonitor.cc", 295 "session/media/call.cc", 296 "session/media/channel.cc", 297 "session/media/channelmanager.cc", 298 "session/media/currentspeakermonitor.cc", 299 "session/media/mediamessages.cc", 300 "session/media/mediamonitor.cc", 301 "session/media/mediarecorder.cc", 302 "session/media/mediasession.cc", 303 "session/media/mediasessionclient.cc", 304 "session/media/rtcpmuxfilter.cc", 305 "session/media/rtcpmuxfilter.cc", 306 "session/media/soundclip.cc", 307 "session/media/srtpfilter.cc", 308 "session/media/ssrcmuxfilter.cc", 309 "session/media/typingmonitor.cc", 310 "sound/nullsoundsystem.cc", 311 "sound/nullsoundsystemfactory.cc", 312 "sound/platformsoundsystem.cc", 313 "sound/platformsoundsystemfactory.cc", 314 "sound/soundsysteminterface.cc", 315 "sound/soundsystemproxy.cc", 316 "xmllite/qname.cc", 317 "xmllite/xmlbuilder.cc", 318 "xmllite/xmlconstants.cc", 319 "xmllite/xmlelement.cc", 320 "xmllite/xmlnsstack.cc", 321 "xmllite/xmlparser.cc", 322 "xmllite/xmlprinter.cc", 323 "xmpp/chatroommoduleimpl.cc", 324 "xmpp/constants.cc", 325 "xmpp/discoitemsquerytask.cc", 326 "xmpp/hangoutpubsubclient.cc", 327 "xmpp/iqtask.cc", 328 "xmpp/jid.cc", 329 "xmpp/jingleinfotask.cc", 330 "xmpp/moduleimpl.cc", 331 "xmpp/mucroomconfigtask.cc", 332 "xmpp/mucroomdiscoverytask.cc", 333 "xmpp/mucroomlookuptask.cc", 334 "xmpp/mucroomuniquehangoutidtask.cc", 335 "xmpp/pingtask.cc", 336 "xmpp/presenceouttask.cc", 337 "xmpp/presencereceivetask.cc", 338 "xmpp/presencestatus.cc", 339 "xmpp/pubsubclient.cc", 340 "xmpp/pubsub_task.cc", 341 "xmpp/pubsubtasks.cc", 342 "xmpp/receivetask.cc", 343 "xmpp/rostermoduleimpl.cc", 344 "xmpp/saslmechanism.cc", 345 "xmpp/xmppclient.cc", 346 "xmpp/xmppengineimpl.cc", 347 "xmpp/xmppengineimpl_iq.cc", 348 "xmpp/xmpplogintask.cc", 349 "xmpp/xmppstanzaparser.cc", 350 "xmpp/xmpptask.cc", 351 "xmpp/xmppauth.cc", 352 "xmpp/xmpppump.cc", 353 "xmpp/xmppsocket.cc", 354 "xmpp/xmppthread.cc", 355 ], 356 includedirs = [ 357 "third_party/libudev", 358 "third_party/expat-2.0.1/lib", 359 "testing/gtest/include", 360 "third_party/srtp/include", 361 "third_party/srtp/crypto/include", 362 ] + SSL_INCLUDES, 363 win_srcs = [ 364 "base/diskcache_win32.cc", 365 "base/schanneladapter.cc", 366 "base/win32.cc", 367 "base/win32regkey.cc", 368 "base/win32filesystem.cc", 369 "base/win32securityerrors.cc", 370 "base/win32socketserver.cc", 371 "base/win32socketinit.cc", 372 "base/win32window.cc", 373 "base/win32windowpicker.cc", 374 "base/winfirewall.cc", 375 "base/winping.cc", 376 "media/devices/gdivideorenderer.cc", 377 "media/devices/win32deviceinfo.cc", 378 "media/devices/win32devicemanager.cc", 379 ], 380 mac_ccflags = [ 381 "-Wno-deprecated-declarations", 382 ], 383 extra_srcs = [ 384 "media/devices/dummydevicemanager.cc", 385 "base/dbus.cc", 386 "base/libdbusglibsymboltable.cc", 387 "base/json.cc", 388 "base/natserver_main.cc", 389 ], 390 ) 391 talk.Library(env, name = "videorenderer", 392 lin_srcs = [ 393 "media/devices/gtkvideorenderer.cc", 394 ], 395 lin_packages = [ 396 "gobject-2.0", 397 "gthread-2.0", 398 "gtk+-2.0", 399 ], 400 ) 401 talk.Library(env, name = "unittest_main", 402 libs = [ 403 "gunit", 404 ], 405 srcs = [ 406 "base/unittest_main.cc", 407 ], 408 includedirs = [ 409 "testing/gtest/include", 410 "third_party/expat-2.0.1/lib", 411 "third_party/srtp", 412 "testing/gtest", 413 ], 414 cppdefines = [ 415 "EXPAT_RELATIVE_PATH", 416 "GTEST_RELATIVE_PATH", 417 "SRTP_RELATIVE_PATH", 418 ], 419 ) 420 talk.App(env, name = "login", 421 libs = [ 422 "jingle", 423 "expat", 424 ], 425 srcs = [ 426 "examples/login/login_main.cc", 427 ], 428 posix_libs = SSL_LIBS, 429 lin_libs = [ 430 "videorenderer", 431 ], 432 ) 433 talk.App(env, name = "chat", 434 libs = [ 435 "jingle", 436 "expat", 437 ], 438 srcs = [ 439 "examples/chat/chatapp.cc", 440 "examples/chat/chat_main.cc", 441 "examples/chat/consoletask.cc", 442 "examples/chat/textchatreceivetask.cc", 443 "examples/chat/textchatsendtask.cc", 444 ], 445 posix_libs = SSL_LIBS, 446 ) 447 talk.App(env, name = "call", 448 mac_frameworks = [ 449 "AudioToolbox", 450 "AudioUnit", 451 "Cocoa", 452 "CoreAudio", 453 "CoreFoundation", 454 "IOKit", 455 "QTKit", 456 "QuickTime", 457 ], 458 win_libs = [ 459 "d3d9.lib", 460 "gdi32.lib", 461 "powrprof.lib", 462 "strmiids.lib", 463 "winmm.lib", 464 ], 465 posix_libs = SSL_LIBS, 466 lin_libs = [ 467 "videorenderer", 468 ], 469 srcs = [ 470 "examples/call/call_main.cc", 471 "examples/call/callclient.cc", 472 "examples/call/console.cc", 473 "examples/call/friendinvitesendtask.cc", 474 "examples/call/mediaenginefactory.cc", 475 "examples/call/mucinviterecvtask.cc", 476 "examples/call/mucinvitesendtask.cc", 477 "examples/call/presencepushtask.cc", 478 ], 479 libs = [ 480 "jingle", 481 "expat", 482 "srtp", 483 ], 484 ) 485 talk.App(env, name = "relayserver", 486 libs = [ 487 "jingle", 488 ], 489 srcs = [ 490 "p2p/base/relayserver_main.cc", 491 ], 492 ) 493 talk.App(env, name = "stunserver", 494 libs = [ 495 "jingle", 496 ], 497 srcs = [ 498 "p2p/base/stunserver_main.cc", 499 ], 500 ) 501 talk.App(env, name = "turnserver", 502 lin_libs = [ 503 "crypto", 504 "ssl", 505 ], 506 srcs = [ 507 "p2p/base/turnserver_main.cc", 508 ], 509 libs = [ 510 "jingle", 511 ], 512 ) 513 talk.Unittest(env, name = "base", 514 lin_srcs = [ 515 "base/latebindingsymboltable_unittest.cc", 516 "base/linux_unittest.cc", 517 "base/linuxfdwalk_unittest.cc", 518 ], 519 mac_srcs = [ 520 "base/macsocketserver_unittest.cc", 521 "base/macutils_unittest.cc", 522 "base/macwindowpicker_unittest.cc", 523 ], 524 posix_srcs = [ 525 "base/sslidentity_unittest.cc", 526 "base/sslstreamadapter_unittest.cc", 527 ], 528 cppdefines = [ 529 "EXPAT_RELATIVE_PATH", 530 "GTEST_RELATIVE_PATH", 531 "SRTP_RELATIVE_PATH", 532 ], 533 srcs = [ 534 "base/asynchttprequest_unittest.cc", 535 "base/atomicops_unittest.cc", 536 "base/autodetectproxy_unittest.cc", 537 "base/bandwidthsmoother_unittest.cc", 538 "base/base64_unittest.cc", 539 "base/basictypes_unittest.cc", 540 "base/bind_unittest.cc", 541 "base/buffer_unittest.cc", 542 "base/bytebuffer_unittest.cc", 543 "base/byteorder_unittest.cc", 544 "base/cpumonitor_unittest.cc", 545 "base/crc32_unittest.cc", 546 "base/event_unittest.cc", 547 "base/filelock_unittest.cc", 548 "base/fileutils_unittest.cc", 549 "base/helpers_unittest.cc", 550 "base/host_unittest.cc", 551 "base/httpbase_unittest.cc", 552 "base/httpcommon_unittest.cc", 553 "base/httpserver_unittest.cc", 554 "base/ipaddress_unittest.cc", 555 "base/logging_unittest.cc", 556 "base/md5digest_unittest.cc", 557 "base/messagedigest_unittest.cc", 558 "base/messagequeue_unittest.cc", 559 "base/multipart_unittest.cc", 560 "base/nat_unittest.cc", 561 "base/network_unittest.cc", 562 "base/nullsocketserver_unittest.cc", 563 "base/optionsfile_unittest.cc", 564 "base/pathutils_unittest.cc", 565 "base/physicalsocketserver_unittest.cc", 566 "base/profiler_unittest.cc", 567 "base/proxy_unittest.cc", 568 "base/proxydetect_unittest.cc", 569 "base/ratelimiter_unittest.cc", 570 "base/ratetracker_unittest.cc", 571 "base/referencecountedsingletonfactory_unittest.cc", 572 "base/rollingaccumulator_unittest.cc", 573 "base/sha1digest_unittest.cc", 574 "base/sharedexclusivelock_unittest.cc", 575 "base/signalthread_unittest.cc", 576 "base/sigslot_unittest.cc", 577 "base/socket_unittest.cc", 578 "base/socketaddress_unittest.cc", 579 "base/stream_unittest.cc", 580 "base/stringencode_unittest.cc", 581 "base/stringutils_unittest.cc", 582 "base/systeminfo_unittest.cc", 583 "base/task_unittest.cc", 584 "base/testclient_unittest.cc", 585 "base/thread_unittest.cc", 586 "base/timeutils_unittest.cc", 587 "base/urlencode_unittest.cc", 588 "base/versionparsing_unittest.cc", 589 "base/virtualsocket_unittest.cc", 590 "base/windowpicker_unittest.cc", 591 ], 592 includedirs = [ 593 "testing/gtest/include", 594 "third_party/expat-2.0.1/lib", 595 "third_party/srtp", 596 "testing/gtest", 597 ], 598 win_srcs = [ 599 "base/win32_unittest.cc", 600 "base/win32regkey_unittest.cc", 601 "base/win32socketserver_unittest.cc", 602 "base/win32toolhelp_unittest.cc", 603 "base/win32window_unittest.cc", 604 "base/win32windowpicker_unittest.cc", 605 "base/winfirewall_unittest.cc", 606 ], 607 libs = [ 608 "jingle", 609 ], 610 extra_srcs = [ 611 "base/dbus_unittest.cc", 612 "base/json_unittest.cc", 613 "base/linuxwindowpicker_unittest.cc", 614 ], 615 ) 616 talk.Unittest(env, name = "p2p", 617 mac_FRAMEWORKS = [ 618 "Foundation", 619 "IOKit", 620 "QTKit", 621 ], 622 mac_libs = SSL_LIBS, 623 cppdefines = [ 624 "EXPAT_RELATIVE_PATH", 625 "GTEST_RELATIVE_PATH", 626 "SRTP_RELATIVE_PATH", 627 ], 628 srcs = [ 629 "p2p/base/dtlstransportchannel_unittest.cc", 630 "p2p/base/p2ptransportchannel_unittest.cc", 631 "p2p/base/port_unittest.cc", 632 "p2p/base/portallocatorsessionproxy_unittest.cc", 633 "p2p/base/pseudotcp_unittest.cc", 634 "p2p/base/relayport_unittest.cc", 635 "p2p/base/relayserver_unittest.cc", 636 "p2p/base/session_unittest.cc", 637 "p2p/base/stun_unittest.cc", 638 "p2p/base/stunport_unittest.cc", 639 "p2p/base/stunrequest_unittest.cc", 640 "p2p/base/stunserver_unittest.cc", 641 "p2p/base/transport_unittest.cc", 642 "p2p/base/transportdescriptionfactory_unittest.cc", 643 "p2p/base/turnport_unittest.cc", 644 "p2p/client/connectivitychecker_unittest.cc", 645 "p2p/client/portallocator_unittest.cc", 646 ], 647 includedirs = [ 648 "testing/gtest/include", 649 "third_party/expat-2.0.1/lib", 650 "third_party/srtp", 651 "testing/gtest", 652 ], 653 libs = [ 654 "jingle", 655 "expat", 656 ], 657 ) 658 talk.Unittest(env, name = "media", 659 win_libs = [ 660 "winmm.lib", 661 "strmiids", 662 ], 663 cppdefines = [ 664 "EXPAT_RELATIVE_PATH", 665 "GTEST_RELATIVE_PATH", 666 "SRTP_RELATIVE_PATH", 667 ], 668 srcs = [ 669 "media/base/capturemanager_unittest.cc", 670 "media/base/codec_unittest.cc", 671 "media/base/filemediaengine_unittest.cc", 672 "media/base/rtpdataengine_unittest.cc", 673 "media/base/rtpdump_unittest.cc", 674 "media/base/rtputils_unittest.cc", 675 "media/base/testutils.cc", 676 "media/base/videocapturer_unittest.cc", 677 "media/base/videocommon_unittest.cc", 678 "media/devices/devicemanager_unittest.cc", 679 "media/devices/filevideocapturer_unittest.cc", 680 "media/sctp/sctputils_unittest.cc", 681 "session/media/channel_unittest.cc", 682 "session/media/channelmanager_unittest.cc", 683 "session/media/currentspeakermonitor_unittest.cc", 684 "session/media/mediarecorder_unittest.cc", 685 "session/media/mediamessages_unittest.cc", 686 "session/media/mediasession_unittest.cc", 687 "session/media/mediasessionclient_unittest.cc", 688 "session/media/rtcpmuxfilter_unittest.cc", 689 "session/media/srtpfilter_unittest.cc", 690 "session/media/ssrcmuxfilter_unittest.cc", 691 ], 692 includedirs = [ 693 "testing/gtest/include", 694 "third_party/expat-2.0.1/lib", 695 "third_party/srtp", 696 "testing/gtest", 697 ], 698 libs = [ 699 "jingle", 700 "expat", 701 "srtp", 702 ], 703 extra_srcs = [ 704 "media/devices/dummydevicemanager_unittest.cc", 705 ], 706 ) 707 talk.Unittest(env, name = "sound", 708 libs = [ 709 "jingle", 710 ], 711 srcs = [ 712 "sound/automaticallychosensoundsystem_unittest.cc", 713 ], 714 mac_libs = SSL_LIBS, 715 716 includedirs = [ 717 "testing/gtest/include", 718 "third_party/expat-2.0.1/lib", 719 "third_party/srtp", 720 "testing/gtest", 721 ], 722 cppdefines = [ 723 "EXPAT_RELATIVE_PATH", 724 "GTEST_RELATIVE_PATH", 725 "SRTP_RELATIVE_PATH", 726 ], 727 ) 728 talk.Unittest(env, name = "xmllite", 729 libs = [ 730 "jingle", 731 "expat", 732 ], 733 srcs = [ 734 "xmllite/qname_unittest.cc", 735 "xmllite/xmlbuilder_unittest.cc", 736 "xmllite/xmlelement_unittest.cc", 737 "xmllite/xmlnsstack_unittest.cc", 738 "xmllite/xmlparser_unittest.cc", 739 "xmllite/xmlprinter_unittest.cc", 740 ], 741 mac_libs = SSL_LIBS, 742 includedirs = [ 743 "testing/gtest/include", 744 "third_party/expat-2.0.1/lib", 745 "third_party/srtp", 746 "testing/gtest", 747 ], 748 cppdefines = [ 749 "EXPAT_RELATIVE_PATH", 750 "GTEST_RELATIVE_PATH", 751 "SRTP_RELATIVE_PATH", 752 ], 753 ) 754 talk.Unittest(env, name = "xmpp", 755 mac_libs = SSL_LIBS, 756 cppdefines = [ 757 "EXPAT_RELATIVE_PATH", 758 "GTEST_RELATIVE_PATH", 759 "SRTP_RELATIVE_PATH", 760 ], 761 srcs = [ 762 "xmpp/hangoutpubsubclient_unittest.cc", 763 "xmpp/jid_unittest.cc", 764 "xmpp/mucroomconfigtask_unittest.cc", 765 "xmpp/mucroomdiscoverytask_unittest.cc", 766 "xmpp/mucroomlookuptask_unittest.cc", 767 "xmpp/mucroomuniquehangoutidtask_unittest.cc", 768 "xmpp/pingtask_unittest.cc", 769 "xmpp/pubsubclient_unittest.cc", 770 "xmpp/pubsubtasks_unittest.cc", 771 "xmpp/util_unittest.cc", 772 "xmpp/xmppengine_unittest.cc", 773 "xmpp/xmpplogintask_unittest.cc", 774 "xmpp/xmppstanzaparser_unittest.cc", 775 ], 776 includedirs = [ 777 "testing/gtest/include", 778 "third_party/expat-2.0.1/lib", 779 "third_party/srtp", 780 "testing/gtest", 781 ], 782 libs = [ 783 "jingle", 784 "expat", 785 ], 786 extra_srcs = [ 787 "xmpp/chatroommodule_unittest.cc", 788 "xmpp/rostermodule_unittest.cc", 789 ], 790 ) 791