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.

622 lines
21 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #
  2. # libjingle
  3. # Copyright 2012, Google Inc.
  4. #
  5. # Redistribution and use in source and binary forms, with or without
  6. # modification, are permitted provided that the following conditions are met:
  7. #
  8. # 1. Redistributions of source code must retain the above copyright notice,
  9. # this list of conditions and the following disclaimer.
  10. # 2. Redistributions in binary form must reproduce the above copyright notice,
  11. # this list of conditions and the following disclaimer in the documentation
  12. # and/or other materials provided with the distribution.
  13. # 3. The name of the author may not be used to endorse or promote products
  14. # derived from this software without specific prior written permission.
  15. #
  16. # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
  17. # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  18. # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
  19. # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  20. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  21. # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  22. # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  23. # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  24. # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  25. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. #
  27. {
  28. 'includes': ['build/common.gypi'],
  29. 'conditions': [
  30. [ 'os_posix == 1 and OS != "mac" and OS != "ios"', {
  31. 'conditions': [
  32. ['sysroot!=""', {
  33. 'variables': {
  34. 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
  35. },
  36. }, {
  37. 'variables': {
  38. 'pkg-config': 'pkg-config'
  39. },
  40. }],
  41. ],
  42. }],
  43. ['libjingle_java == 1', {
  44. 'targets': [
  45. {
  46. 'target_name': 'libjingle_peerconnection_so',
  47. 'type': 'loadable_module',
  48. 'dependencies': [
  49. 'libjingle_peerconnection',
  50. '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
  51. ],
  52. 'sources': [
  53. 'app/webrtc/java/jni/peerconnection_jni.cc'
  54. ],
  55. 'conditions': [
  56. ['OS=="linux"', {
  57. 'include_dirs': [
  58. '/usr/local/buildtools/java/jdk7-64/include',
  59. '/usr/local/buildtools/java/jdk7-64/include/linux',
  60. ],
  61. 'link_settings': {
  62. 'libraries': [
  63. '<!@(pkg-config --libs-only-l gtk+-2.0 gthread-2.0)',
  64. ],
  65. },
  66. }],
  67. ],
  68. },
  69. {
  70. 'target_name': 'libjingle_peerconnection_jar',
  71. 'type': 'none',
  72. 'actions': [
  73. {
  74. 'variables': {
  75. 'java_src_dir': 'app/webrtc/java/src',
  76. 'java_files': [
  77. 'app/webrtc/java/src/org/webrtc/AudioSource.java',
  78. 'app/webrtc/java/src/org/webrtc/AudioTrack.java',
  79. 'app/webrtc/java/src/org/webrtc/IceCandidate.java',
  80. 'app/webrtc/java/src/org/webrtc/LocalMediaStream.java',
  81. 'app/webrtc/java/src/org/webrtc/MediaConstraints.java',
  82. 'app/webrtc/java/src/org/webrtc/MediaSource.java',
  83. 'app/webrtc/java/src/org/webrtc/MediaStream.java',
  84. 'app/webrtc/java/src/org/webrtc/MediaStreamTrack.java',
  85. 'app/webrtc/java/src/org/webrtc/PeerConnectionFactory.java',
  86. 'app/webrtc/java/src/org/webrtc/PeerConnection.java',
  87. 'app/webrtc/java/src/org/webrtc/SdpObserver.java',
  88. 'app/webrtc/java/src/org/webrtc/SessionDescription.java',
  89. 'app/webrtc/java/src/org/webrtc/VideoCapturer.java',
  90. 'app/webrtc/java/src/org/webrtc/VideoRenderer.java',
  91. 'app/webrtc/java/src/org/webrtc/VideoSource.java',
  92. 'app/webrtc/java/src/org/webrtc/VideoTrack.java',
  93. ],
  94. },
  95. 'action_name': 'create_jar',
  96. 'inputs': [
  97. 'build/build_jar.sh',
  98. '<@(java_files)',
  99. ],
  100. 'outputs': [
  101. '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
  102. ],
  103. 'action': [
  104. 'build/build_jar.sh', '<@(_outputs)', '<(INTERMEDIATE_DIR)',
  105. '<(java_src_dir)',
  106. '<(PRODUCT_DIR)/libjingle_peerconnection_so.so',
  107. '', '<@(java_files)'
  108. ],
  109. },
  110. ],
  111. 'dependencies': [
  112. 'libjingle_peerconnection_so',
  113. ],
  114. },
  115. ],
  116. }],
  117. ],
  118. 'targets': [
  119. {
  120. 'target_name': 'libjingle',
  121. 'type': 'static_library',
  122. 'dependencies': [
  123. '<(DEPTH)/third_party/expat/expat.gyp:expat',
  124. '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
  125. ],
  126. 'export_dependent_settings': [
  127. '<(DEPTH)/third_party/expat/expat.gyp:expat',
  128. '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
  129. ],
  130. 'sources': [
  131. 'base/asyncfile.cc',
  132. 'base/asynchttprequest.cc',
  133. 'base/asyncsocket.cc',
  134. 'base/asynctcpsocket.cc',
  135. 'base/asyncudpsocket.cc',
  136. 'base/autodetectproxy.cc',
  137. 'base/bandwidthsmoother.cc',
  138. 'base/base64.cc',
  139. 'base/basicpacketsocketfactory.cc',
  140. 'base/bytebuffer.cc',
  141. 'base/checks.cc',
  142. 'base/common.cc',
  143. 'base/cpumonitor.cc',
  144. 'base/crc32.cc',
  145. 'base/diskcache.cc',
  146. 'base/event.cc',
  147. 'base/filelock.cc',
  148. 'base/fileutils.cc',
  149. 'base/firewallsocketserver.cc',
  150. 'base/flags.cc',
  151. 'base/helpers.cc',
  152. 'base/host.cc',
  153. 'base/httpbase.cc',
  154. 'base/httpclient.cc',
  155. 'base/httpcommon.cc',
  156. 'base/httprequest.cc',
  157. 'base/httpserver.cc',
  158. 'base/ipaddress.cc',
  159. 'base/json.cc',
  160. 'base/logging.cc',
  161. 'base/md5.cc',
  162. 'base/messagedigest.cc',
  163. 'base/messagehandler.cc',
  164. 'base/messagequeue.cc',
  165. 'base/multipart.cc',
  166. 'base/natserver.cc',
  167. 'base/natsocketfactory.cc',
  168. 'base/nattypes.cc',
  169. 'base/nethelpers.cc',
  170. 'base/network.cc',
  171. 'base/nssidentity.cc',
  172. 'base/nssstreamadapter.cc',
  173. 'base/optionsfile.cc',
  174. 'base/pathutils.cc',
  175. 'base/physicalsocketserver.cc',
  176. 'base/proxydetect.cc',
  177. 'base/proxyinfo.cc',
  178. 'base/proxyserver.cc',
  179. 'base/ratelimiter.cc',
  180. 'base/ratetracker.cc',
  181. 'base/sha1.cc',
  182. 'base/sharedexclusivelock.cc',
  183. 'base/signalthread.cc',
  184. 'base/socketadapters.cc',
  185. 'base/socketaddress.cc',
  186. 'base/socketaddresspair.cc',
  187. 'base/socketpool.cc',
  188. 'base/socketstream.cc',
  189. 'base/ssladapter.cc',
  190. 'base/sslsocketfactory.cc',
  191. 'base/sslidentity.cc',
  192. 'base/sslstreamadapter.cc',
  193. 'base/sslstreamadapterhelper.cc',
  194. 'base/stream.cc',
  195. 'base/stringencode.cc',
  196. 'base/stringutils.cc',
  197. 'base/systeminfo.cc',
  198. 'base/task.cc',
  199. 'base/taskparent.cc',
  200. 'base/taskrunner.cc',
  201. 'base/testclient.cc',
  202. 'base/thread.cc',
  203. 'base/timeutils.cc',
  204. 'base/timing.cc',
  205. 'base/transformadapter.cc',
  206. 'base/urlencode.cc',
  207. 'base/versionparsing.cc',
  208. 'base/virtualsocketserver.cc',
  209. 'base/worker.cc',
  210. 'xmllite/qname.cc',
  211. 'xmllite/xmlbuilder.cc',
  212. 'xmllite/xmlconstants.cc',
  213. 'xmllite/xmlelement.cc',
  214. 'xmllite/xmlnsstack.cc',
  215. 'xmllite/xmlparser.cc',
  216. 'xmllite/xmlprinter.cc',
  217. 'xmpp/chatroommoduleimpl.cc',
  218. 'xmpp/constants.cc',
  219. 'xmpp/discoitemsquerytask.cc',
  220. 'xmpp/hangoutpubsubclient.cc',
  221. 'xmpp/iqtask.cc',
  222. 'xmpp/jid.cc',
  223. 'xmpp/moduleimpl.cc',
  224. 'xmpp/mucroomconfigtask.cc',
  225. 'xmpp/mucroomdiscoverytask.cc',
  226. 'xmpp/mucroomlookuptask.cc',
  227. 'xmpp/mucroomuniquehangoutidtask.cc',
  228. 'xmpp/pingtask.cc',
  229. 'xmpp/presenceouttask.cc',
  230. 'xmpp/presencereceivetask.cc',
  231. 'xmpp/presencestatus.cc',
  232. 'xmpp/pubsubclient.cc',
  233. 'xmpp/pubsub_task.cc',
  234. 'xmpp/pubsubtasks.cc',
  235. 'xmpp/receivetask.cc',
  236. 'xmpp/rostermoduleimpl.cc',
  237. 'xmpp/saslmechanism.cc',
  238. 'xmpp/xmppclient.cc',
  239. 'xmpp/xmppengineimpl.cc',
  240. 'xmpp/xmppengineimpl_iq.cc',
  241. 'xmpp/xmpplogintask.cc',
  242. 'xmpp/xmppstanzaparser.cc',
  243. 'xmpp/xmpptask.cc',
  244. 'xmpp/xmppauth.cc',
  245. 'xmpp/xmpppump.cc',
  246. 'xmpp/xmppsocket.cc',
  247. 'xmpp/xmppthread.cc',
  248. ],
  249. 'conditions': [
  250. ['OS=="mac" or OS=="win"', {
  251. 'dependencies': [
  252. # The chromium copy of nss should NOT be used on platforms that
  253. # have NSS as system libraries, such as linux.
  254. '<(DEPTH)/third_party/nss/nss.gyp:nss',
  255. ],
  256. }],
  257. ['OS=="android"', {
  258. 'sources': [
  259. 'base/ifaddrs-android.cc',
  260. ],
  261. 'link_settings': {
  262. 'libraries': [
  263. '-llog',
  264. '-lGLESv2',
  265. ],
  266. },
  267. }],
  268. ['OS=="linux" or OS=="android"', {
  269. 'sources': [
  270. 'base/linux.cc',
  271. ],
  272. }],
  273. ['OS=="linux"', {
  274. 'sources': [
  275. 'base/dbus.cc',
  276. 'base/libdbusglibsymboltable.cc',
  277. 'base/linuxfdwalk.c',
  278. 'base/linuxwindowpicker.cc',
  279. ],
  280. 'link_settings': {
  281. 'libraries': [
  282. '-lcrypto',
  283. '-ldl',
  284. '-lrt',
  285. '-lssl',
  286. '-lXext',
  287. '-lX11',
  288. '-lXcomposite',
  289. '-lXrender',
  290. '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
  291. ],
  292. },
  293. 'cflags': [
  294. '<!@(<(pkg-config) --cflags nss)',
  295. ],
  296. 'ldflags': [
  297. '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
  298. ],
  299. }],
  300. ['OS=="mac"', {
  301. 'sources': [
  302. 'base/macasyncsocket.cc',
  303. 'base/maccocoasocketserver.mm',
  304. 'base/maccocoathreadhelper.mm',
  305. 'base/macconversion.cc',
  306. 'base/macsocketserver.cc',
  307. 'base/macutils.cc',
  308. 'base/macwindowpicker.cc',
  309. 'base/scoped_autorelease_pool.mm',
  310. ],
  311. 'link_settings': {
  312. 'libraries': [
  313. '$(SDKROOT)/usr/lib/libcrypto.dylib',
  314. '$(SDKROOT)/usr/lib/libssl.dylib',
  315. ],
  316. 'xcode_settings': {
  317. 'OTHER_LDFLAGS': [
  318. '-framework Carbon',
  319. '-framework Cocoa',
  320. '-framework IOKit',
  321. '-framework Security',
  322. '-framework SystemConfiguration',
  323. ],
  324. },
  325. },
  326. }],
  327. ['OS=="win"', {
  328. 'sources': [
  329. 'base/diskcache_win32.cc',
  330. 'base/schanneladapter.cc',
  331. 'base/win32.cc',
  332. 'base/win32filesystem.cc',
  333. 'base/win32regkey.cc',
  334. 'base/win32securityerrors.cc',
  335. 'base/win32socketinit.cc',
  336. 'base/win32socketserver.cc',
  337. 'base/win32window.cc',
  338. 'base/win32windowpicker.cc',
  339. 'base/winfirewall.cc',
  340. 'base/winping.cc',
  341. ],
  342. # Suppress warnings about WIN32_LEAN_AND_MEAN.
  343. 'msvs_disabled_warnings': [4005],
  344. 'msvs_settings': {
  345. 'VCLibrarianTool': {
  346. 'AdditionalDependencies': [
  347. 'crypt32.lib',
  348. 'iphlpapi.lib',
  349. 'secur32.lib',
  350. ],
  351. },
  352. },
  353. }],
  354. ['os_posix==1', {
  355. 'sources': [
  356. 'base/latebindingsymboltable.cc',
  357. 'base/openssladapter.cc',
  358. 'base/openssldigest.cc',
  359. 'base/opensslidentity.cc',
  360. 'base/opensslstreamadapter.cc',
  361. 'base/posix.cc',
  362. 'base/unixfilesystem.cc',
  363. ],
  364. 'conditions': [
  365. ['OS=="android"', {
  366. 'dependencies': [
  367. '<(DEPTH)/third_party/openssl/openssl.gyp:openssl',
  368. ],
  369. }],
  370. ],
  371. }],
  372. ], # conditions
  373. }, # target libjingle
  374. {
  375. 'target_name': 'libjingle_sound',
  376. 'type': 'static_library',
  377. 'dependencies': [
  378. 'libjingle',
  379. ],
  380. 'sources': [
  381. 'sound/nullsoundsystem.cc',
  382. 'sound/nullsoundsystemfactory.cc',
  383. 'sound/platformsoundsystem.cc',
  384. 'sound/platformsoundsystemfactory.cc',
  385. 'sound/soundsysteminterface.cc',
  386. 'sound/soundsystemproxy.cc',
  387. ],
  388. 'conditions': [
  389. ['OS=="linux"', {
  390. 'sources': [
  391. 'sound/alsasoundsystem.cc',
  392. 'sound/alsasymboltable.cc',
  393. 'sound/linuxsoundsystem.cc',
  394. 'sound/pulseaudiosoundsystem.cc',
  395. 'sound/pulseaudiosymboltable.cc',
  396. ],
  397. }],
  398. ],
  399. }, # target libjingle_sound
  400. {
  401. 'target_name': 'libjingle_media',
  402. 'type': 'static_library',
  403. 'dependencies': [
  404. '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
  405. '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture_module',
  406. '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_render_module',
  407. '<(DEPTH)/third_party/webrtc/video_engine/video_engine.gyp:video_engine_core',
  408. '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_core',
  409. '<(DEPTH)/third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system_wrappers',
  410. 'libjingle',
  411. 'libjingle_sound',
  412. ],
  413. 'sources': [
  414. 'media/base/capturemanager.cc',
  415. 'media/base/capturerenderadapter.cc',
  416. 'media/base/codec.cc',
  417. 'media/base/constants.cc',
  418. 'media/base/cpuid.cc',
  419. 'media/base/filemediaengine.cc',
  420. 'media/base/hybridvideoengine.cc',
  421. 'media/base/mediaengine.cc',
  422. 'media/base/rtpdataengine.cc',
  423. 'media/base/rtpdump.cc',
  424. 'media/base/rtputils.cc',
  425. 'media/base/streamparams.cc',
  426. 'media/base/videoadapter.cc',
  427. 'media/base/videocapturer.cc',
  428. 'media/base/videocommon.cc',
  429. 'media/base/videoframe.cc',
  430. 'media/devices/devicemanager.cc',
  431. 'media/devices/filevideocapturer.cc',
  432. 'media/webrtc/webrtcpassthroughrender.cc',
  433. 'media/webrtc/webrtcpassthroughrender.h',
  434. 'media/webrtc/webrtcvideocapturer.cc',
  435. 'media/webrtc/webrtcvideocapturer.h',
  436. 'media/webrtc/webrtcvideoengine.cc',
  437. 'media/webrtc/webrtcvideoengine.h',
  438. 'media/webrtc/webrtcvideoframe.cc',
  439. 'media/webrtc/webrtcvideoframe.h',
  440. 'media/webrtc/webrtcvie.h',
  441. 'media/webrtc/webrtcvoe.h',
  442. 'media/webrtc/webrtcvoiceengine.cc',
  443. 'media/webrtc/webrtcvoiceengine.h',
  444. 'media/webrtc/webrtccommon.h',
  445. ],
  446. 'conditions': [
  447. ['OS=="linux"', {
  448. 'sources': [
  449. 'media/devices/gtkvideorenderer.cc',
  450. 'media/devices/libudevsymboltable.cc',
  451. 'media/devices/linuxdeviceinfo.cc',
  452. 'media/devices/linuxdevicemanager.cc',
  453. 'media/devices/v4llookup.cc',
  454. ],
  455. 'include_dirs': [
  456. 'third_party/libudev'
  457. ],
  458. 'cflags': [
  459. '<!@(pkg-config --cflags gtk+-2.0)',
  460. ],
  461. 'libraries': [
  462. '-lrt',
  463. '-lXext',
  464. '-lX11',
  465. ],
  466. }],
  467. ['OS=="win"', {
  468. 'sources': [
  469. 'media/devices/gdivideorenderer.cc',
  470. 'media/devices/win32deviceinfo.cc',
  471. 'media/devices/win32devicemanager.cc',
  472. ],
  473. 'msvs_settings': {
  474. 'VCLibrarianTool': {
  475. 'AdditionalDependencies': [
  476. 'd3d9.lib',
  477. 'gdi32.lib',
  478. 'strmiids.lib',
  479. 'winmm.lib',
  480. ],
  481. },
  482. },
  483. }],
  484. ['OS=="mac"', {
  485. 'sources': [
  486. 'media/devices/carbonvideorenderer.cc',
  487. 'media/devices/macdeviceinfo.cc',
  488. 'media/devices/macdevicemanager.cc',
  489. 'media/devices/macdevicemanagermm.mm',
  490. ],
  491. 'xcode_settings': {
  492. 'WARNING_CFLAGS': [
  493. # TODO(ronghuawu): Update macdevicemanager.cc to stop using
  494. # deprecated functions and remove this flag.
  495. '-Wno-deprecated-declarations',
  496. ],
  497. },
  498. 'link_settings': {
  499. 'xcode_settings': {
  500. 'OTHER_LDFLAGS': [
  501. '-framework Cocoa',
  502. '-framework CoreAudio',
  503. '-framework CoreVideo',
  504. '-framework OpenGL',
  505. '-framework QTKit',
  506. ],
  507. },
  508. },
  509. }],
  510. ],
  511. }, # target libjingle_media
  512. {
  513. 'target_name': 'libjingle_p2p',
  514. 'type': 'static_library',
  515. 'dependencies': [
  516. '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
  517. 'libjingle',
  518. 'libjingle_media',
  519. ],
  520. 'include_dirs': [
  521. '<(DEPTH)/third_party/gtest/include',
  522. ],
  523. 'direct_dependent_settings': {
  524. 'include_dirs': [
  525. '<(DEPTH)/third_party/gtest/include',
  526. ],
  527. },
  528. 'sources': [
  529. 'p2p/base/constants.cc',
  530. 'p2p/base/dtlstransportchannel.cc',
  531. 'p2p/base/p2ptransport.cc',
  532. 'p2p/base/p2ptransportchannel.cc',
  533. 'p2p/base/parsing.cc',
  534. 'p2p/base/port.cc',
  535. 'p2p/base/portallocator.cc',
  536. 'p2p/base/portallocatorsessionproxy.cc',
  537. 'p2p/base/portproxy.cc',
  538. 'p2p/base/pseudotcp.cc',
  539. 'p2p/base/relayport.cc',
  540. 'p2p/base/relayserver.cc',
  541. 'p2p/base/rawtransport.cc',
  542. 'p2p/base/rawtransportchannel.cc',
  543. 'p2p/base/session.cc',
  544. 'p2p/base/sessiondescription.cc',
  545. 'p2p/base/sessionmanager.cc',
  546. 'p2p/base/sessionmessages.cc',
  547. 'p2p/base/stun.cc',
  548. 'p2p/base/stunport.cc',
  549. 'p2p/base/stunrequest.cc',
  550. 'p2p/base/stunserver.cc',
  551. 'p2p/base/tcpport.cc',
  552. 'p2p/base/transport.cc',
  553. 'p2p/base/transportchannel.cc',
  554. 'p2p/base/transportchannelproxy.cc',
  555. 'p2p/base/transportdescriptionfactory.cc',
  556. 'p2p/base/transportdescriptionfactory.h',
  557. 'p2p/base/turnport.cc',
  558. 'p2p/base/turnserver.cc',
  559. 'p2p/client/basicportallocator.cc',
  560. 'p2p/client/connectivitychecker.cc',
  561. 'p2p/client/httpportallocator.cc',
  562. 'p2p/client/socketmonitor.cc',
  563. 'session/tunnel/pseudotcpchannel.cc',
  564. 'session/tunnel/tunnelsessionclient.cc',
  565. 'session/tunnel/securetunnelsessionclient.cc',
  566. 'session/media/audiomonitor.cc',
  567. 'session/media/call.cc',
  568. 'session/media/channel.cc',
  569. 'session/media/channelmanager.cc',
  570. 'session/media/currentspeakermonitor.cc',
  571. 'session/media/mediamessages.cc',
  572. 'session/media/mediamonitor.cc',
  573. 'session/media/mediarecorder.cc',
  574. 'session/media/mediasession.cc',
  575. 'session/media/mediasessionclient.cc',
  576. 'session/media/rtcpmuxfilter.cc',
  577. 'session/media/rtcpmuxfilter.cc',
  578. 'session/media/soundclip.cc',
  579. 'session/media/srtpfilter.cc',
  580. 'session/media/ssrcmuxfilter.cc',
  581. 'session/media/typingmonitor.cc',
  582. ],
  583. }, # target libjingle_p2p
  584. {
  585. 'target_name': 'libjingle_peerconnection',
  586. 'type': 'static_library',
  587. 'dependencies': [
  588. 'libjingle',
  589. 'libjingle_media',
  590. 'libjingle_p2p',
  591. ],
  592. 'sources': [
  593. 'app/webrtc/audiotrack.cc',
  594. 'app/webrtc/datachannel.cc',
  595. 'app/webrtc/dtmfsender.cc',
  596. 'app/webrtc/jsepicecandidate.cc',
  597. 'app/webrtc/jsepsessiondescription.cc',
  598. 'app/webrtc/localaudiosource.cc',
  599. 'app/webrtc/localvideosource.cc',
  600. 'app/webrtc/mediastream.cc',
  601. 'app/webrtc/mediastreamhandler.cc',
  602. 'app/webrtc/mediastreamproxy.cc',
  603. 'app/webrtc/mediastreamsignaling.cc',
  604. 'app/webrtc/mediastreamtrackproxy.cc',
  605. 'app/webrtc/peerconnection.cc',
  606. 'app/webrtc/peerconnectionfactory.cc',
  607. 'app/webrtc/peerconnectionproxy.cc',
  608. 'app/webrtc/portallocatorfactory.cc',
  609. 'app/webrtc/statscollector.cc',
  610. 'app/webrtc/videosourceproxy.cc',
  611. 'app/webrtc/videotrack.cc',
  612. 'app/webrtc/videotrackrenderers.cc',
  613. 'app/webrtc/webrtcsdp.cc',
  614. 'app/webrtc/webrtcsession.cc',
  615. ],
  616. }, # target libjingle_peerconnection
  617. ],
  618. }