You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.2 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # -*- Python -*-
  2. import talk
  3. Import('env')
  4. if env.Bit('have_webrtc_voice') and env.Bit('have_webrtc_video'):
  5. talk.App(
  6. env,
  7. name = 'peerconnection_client',
  8. # TODO: Build peerconnection_client on mac.
  9. libs = [
  10. 'base',
  11. 'expat',
  12. 'json',
  13. 'p2p',
  14. 'peerconnection',
  15. 'phone',
  16. 'srtp',
  17. 'xmllite',
  18. 'xmpp',
  19. 'yuvscaler',
  20. ],
  21. win_srcs = [
  22. 'client/conductor.cc',
  23. 'client/defaults.cc',
  24. 'client/main.cc',
  25. 'client/main_wnd.cc',
  26. 'client/peer_connection_client.cc',
  27. ],
  28. posix_libs = [
  29. 'crypto',
  30. 'securetunnel',
  31. 'ssl',
  32. ],
  33. lin_srcs = [
  34. 'client/conductor.cc',
  35. 'client/defaults.cc',
  36. 'client/peer_connection_client.cc',
  37. 'client/linux/main.cc',
  38. 'client/linux/main_wnd.cc',
  39. ],
  40. lin_packages = [
  41. 'gtk+-2.0',
  42. ],
  43. lin_libs = [
  44. 'sound',
  45. ],
  46. win_link_flags = [
  47. ('', '/nodefaultlib:libcmt')[env.Bit('debug')],
  48. ],
  49. )
  50. talk.App(
  51. env,
  52. name = 'peerconnection_server',
  53. srcs = [
  54. 'server/data_socket.cc',
  55. 'server/main.cc',
  56. 'server/peer_channel.cc',
  57. 'server/utils.cc',
  58. ],
  59. )