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

Side by Side Diff: third_party/libjingle/BUILD.gn

Issue 1604303002: Update libjingle GYP+GN for talk/media move. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/libjingle/libjingle.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 # From third_party/libjingle/libjingle.gyp's target_defaults. 7 # From third_party/libjingle/libjingle.gyp's target_defaults.
8 config("jingle_unexported_configs") { 8 config("jingle_unexported_configs") {
9 defines = [ 9 defines = [
10 "EXPAT_RELATIVE_PATH", 10 "EXPAT_RELATIVE_PATH",
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 public_configs = [ ":jingle_public_configs" ] 289 public_configs = [ ":jingle_public_configs" ]
290 public_deps = [ 290 public_deps = [
291 ":libjingle_webrtc_common", 291 ":libjingle_webrtc_common",
292 ] 292 ]
293 } 293 }
294 294
295 # Note: this does not support the shared library build of libpeerconnection 295 # Note: this does not support the shared library build of libpeerconnection
296 # as is supported in the GYP build. It's not clear what this is used for. 296 # as is supported in the GYP build. It's not clear what this is used for.
297 source_set("libjingle_webrtc_common") { 297 source_set("libjingle_webrtc_common") {
298 sources = [ 298 sources = [
299 "../webrtc/media/base/audiorenderer.h",
300 "../webrtc/media/base/capturemanager.cc",
301 "../webrtc/media/base/capturemanager.h",
302 "../webrtc/media/base/capturerenderadapter.cc",
303 "../webrtc/media/base/capturerenderadapter.h",
304 "../webrtc/media/base/codec.cc",
305 "../webrtc/media/base/codec.h",
306 "../webrtc/media/base/constants.cc",
307 "../webrtc/media/base/constants.h",
308 "../webrtc/media/base/cryptoparams.h",
309 "../webrtc/media/base/hybriddataengine.h",
310 "../webrtc/media/base/mediachannel.h",
311 "../webrtc/media/base/mediaengine.cc",
312 "../webrtc/media/base/mediaengine.h",
313 "../webrtc/media/base/rtpdataengine.cc",
314 "../webrtc/media/base/rtpdataengine.h",
315 "../webrtc/media/base/rtpdump.cc",
316 "../webrtc/media/base/rtpdump.h",
317 "../webrtc/media/base/rtputils.cc",
318 "../webrtc/media/base/rtputils.h",
319 "../webrtc/media/base/streamparams.cc",
320 "../webrtc/media/base/streamparams.h",
321 "../webrtc/media/base/turnutils.cc",
322 "../webrtc/media/base/turnutils.h",
323 "../webrtc/media/base/videoadapter.cc",
324 "../webrtc/media/base/videoadapter.h",
325 "../webrtc/media/base/videocapturer.cc",
326 "../webrtc/media/base/videocapturer.h",
327 "../webrtc/media/base/videocommon.cc",
328 "../webrtc/media/base/videocommon.h",
329 "../webrtc/media/base/videoframe.cc",
330 "../webrtc/media/base/videoframe.h",
331 "../webrtc/media/base/videoframefactory.cc",
332 "../webrtc/media/base/videoframefactory.h",
333 "../webrtc/media/devices/dummydevicemanager.cc",
334 "../webrtc/media/devices/dummydevicemanager.h",
335 "../webrtc/media/devices/filevideocapturer.cc",
336 "../webrtc/media/devices/filevideocapturer.h",
337 "../webrtc/media/webrtc/webrtccommon.h",
338 "../webrtc/media/webrtc/webrtcvideoframe.cc",
339 "../webrtc/media/webrtc/webrtcvideoframe.h",
340 "../webrtc/media/webrtc/webrtcvideoframefactory.cc",
341 "../webrtc/media/webrtc/webrtcvideoframefactory.h",
342 "../webrtc/media/webrtc/webrtcvoe.h",
299 "source/talk/app/webrtc/audiotrack.cc", 343 "source/talk/app/webrtc/audiotrack.cc",
300 "source/talk/app/webrtc/audiotrack.h", 344 "source/talk/app/webrtc/audiotrack.h",
301 "source/talk/app/webrtc/datachannel.cc", 345 "source/talk/app/webrtc/datachannel.cc",
302 "source/talk/app/webrtc/datachannel.h", 346 "source/talk/app/webrtc/datachannel.h",
303 "source/talk/app/webrtc/dtlsidentitystore.cc", 347 "source/talk/app/webrtc/dtlsidentitystore.cc",
304 "source/talk/app/webrtc/dtlsidentitystore.h", 348 "source/talk/app/webrtc/dtlsidentitystore.h",
305 "source/talk/app/webrtc/dtmfsender.cc", 349 "source/talk/app/webrtc/dtmfsender.cc",
306 "source/talk/app/webrtc/dtmfsender.h", 350 "source/talk/app/webrtc/dtmfsender.h",
307 "source/talk/app/webrtc/jsep.h", 351 "source/talk/app/webrtc/jsep.h",
308 "source/talk/app/webrtc/jsepicecandidate.cc", 352 "source/talk/app/webrtc/jsepicecandidate.cc",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 "source/talk/app/webrtc/videotrack.cc", 405 "source/talk/app/webrtc/videotrack.cc",
362 "source/talk/app/webrtc/videotrack.h", 406 "source/talk/app/webrtc/videotrack.h",
363 "source/talk/app/webrtc/videotrackrenderers.cc", 407 "source/talk/app/webrtc/videotrackrenderers.cc",
364 "source/talk/app/webrtc/videotrackrenderers.h", 408 "source/talk/app/webrtc/videotrackrenderers.h",
365 "source/talk/app/webrtc/webrtcsdp.cc", 409 "source/talk/app/webrtc/webrtcsdp.cc",
366 "source/talk/app/webrtc/webrtcsdp.h", 410 "source/talk/app/webrtc/webrtcsdp.h",
367 "source/talk/app/webrtc/webrtcsession.cc", 411 "source/talk/app/webrtc/webrtcsession.cc",
368 "source/talk/app/webrtc/webrtcsession.h", 412 "source/talk/app/webrtc/webrtcsession.h",
369 "source/talk/app/webrtc/webrtcsessiondescriptionfactory.cc", 413 "source/talk/app/webrtc/webrtcsessiondescriptionfactory.cc",
370 "source/talk/app/webrtc/webrtcsessiondescriptionfactory.h", 414 "source/talk/app/webrtc/webrtcsessiondescriptionfactory.h",
371 "source/talk/media/base/audiorenderer.h",
372 "source/talk/media/base/capturemanager.cc",
373 "source/talk/media/base/capturemanager.h",
374 "source/talk/media/base/capturerenderadapter.cc",
375 "source/talk/media/base/capturerenderadapter.h",
376 "source/talk/media/base/codec.cc",
377 "source/talk/media/base/codec.h",
378 "source/talk/media/base/constants.cc",
379 "source/talk/media/base/constants.h",
380 "source/talk/media/base/cryptoparams.h",
381 "source/talk/media/base/hybriddataengine.h",
382 "source/talk/media/base/mediachannel.h",
383 "source/talk/media/base/mediaengine.cc",
384 "source/talk/media/base/mediaengine.h",
385 "source/talk/media/base/rtpdataengine.cc",
386 "source/talk/media/base/rtpdataengine.h",
387 "source/talk/media/base/rtpdump.cc",
388 "source/talk/media/base/rtpdump.h",
389 "source/talk/media/base/rtputils.cc",
390 "source/talk/media/base/rtputils.h",
391 "source/talk/media/base/streamparams.cc",
392 "source/talk/media/base/streamparams.h",
393 "source/talk/media/base/turnutils.cc",
394 "source/talk/media/base/turnutils.h",
395 "source/talk/media/base/videoadapter.cc",
396 "source/talk/media/base/videoadapter.h",
397 "source/talk/media/base/videocapturer.cc",
398 "source/talk/media/base/videocapturer.h",
399 "source/talk/media/base/videocommon.cc",
400 "source/talk/media/base/videocommon.h",
401 "source/talk/media/base/videoframe.cc",
402 "source/talk/media/base/videoframe.h",
403 "source/talk/media/base/videoframefactory.cc",
404 "source/talk/media/base/videoframefactory.h",
405 "source/talk/media/devices/dummydevicemanager.cc",
406 "source/talk/media/devices/dummydevicemanager.h",
407 "source/talk/media/devices/filevideocapturer.cc",
408 "source/talk/media/devices/filevideocapturer.h",
409 "source/talk/media/webrtc/webrtccommon.h",
410 "source/talk/media/webrtc/webrtcvideoframe.cc",
411 "source/talk/media/webrtc/webrtcvideoframe.h",
412 "source/talk/media/webrtc/webrtcvideoframefactory.cc",
413 "source/talk/media/webrtc/webrtcvideoframefactory.h",
414 "source/talk/media/webrtc/webrtcvoe.h",
415 "source/talk/session/media/audiomonitor.cc", 415 "source/talk/session/media/audiomonitor.cc",
416 "source/talk/session/media/audiomonitor.h", 416 "source/talk/session/media/audiomonitor.h",
417 "source/talk/session/media/bundlefilter.cc", 417 "source/talk/session/media/bundlefilter.cc",
418 "source/talk/session/media/bundlefilter.h", 418 "source/talk/session/media/bundlefilter.h",
419 "source/talk/session/media/channel.cc", 419 "source/talk/session/media/channel.cc",
420 "source/talk/session/media/channel.h", 420 "source/talk/session/media/channel.h",
421 "source/talk/session/media/channelmanager.cc", 421 "source/talk/session/media/channelmanager.cc",
422 "source/talk/session/media/channelmanager.h", 422 "source/talk/session/media/channelmanager.h",
423 "source/talk/session/media/currentspeakermonitor.cc", 423 "source/talk/session/media/currentspeakermonitor.cc",
424 "source/talk/session/media/currentspeakermonitor.h", 424 "source/talk/session/media/currentspeakermonitor.h",
(...skipping 21 matching lines...) Expand all
446 ":libjingle", 446 ":libjingle",
447 "//third_party/libsrtp", 447 "//third_party/libsrtp",
448 "//third_party/webrtc/modules/media_file", 448 "//third_party/webrtc/modules/media_file",
449 "//third_party/webrtc/modules/video_capture", 449 "//third_party/webrtc/modules/video_capture",
450 "//third_party/webrtc/modules/video_render", 450 "//third_party/webrtc/modules/video_render",
451 ] 451 ]
452 452
453 if (!is_ios) { 453 if (!is_ios) {
454 # TODO(mallinath) - Enable SCTP for iOS. 454 # TODO(mallinath) - Enable SCTP for iOS.
455 sources += [ 455 sources += [
456 "source/talk/media/sctp/sctpdataengine.cc", 456 "../webrtc/media/sctp/sctpdataengine.cc",
457 "source/talk/media/sctp/sctpdataengine.h", 457 "../webrtc/media/sctp/sctpdataengine.h",
458 ] 458 ]
459 defines = [ "HAVE_SCTP" ] 459 defines = [ "HAVE_SCTP" ]
460 deps += [ "//third_party/usrsctp" ] 460 deps += [ "//third_party/usrsctp" ]
461 } 461 }
462 } 462 }
463 463
464 # Note: this does not support the shared library build of libpeerconnection 464 # Note: this does not support the shared library build of libpeerconnection
465 # as is supported in the GYP build. It's not clear what this is used for. 465 # as is supported in the GYP build. It's not clear what this is used for.
466 source_set("libpeerconnection") { 466 source_set("libpeerconnection") {
467 sources = [ 467 sources = [
468 "source/talk/media/webrtc/simulcast.cc", 468 "../webrtc/media/webrtc/simulcast.cc",
469 "source/talk/media/webrtc/simulcast.h", 469 "../webrtc/media/webrtc/simulcast.h",
470 "source/talk/media/webrtc/webrtcmediaengine.cc", 470 "../webrtc/media/webrtc/webrtcmediaengine.cc",
471 "source/talk/media/webrtc/webrtcmediaengine.h", 471 "../webrtc/media/webrtc/webrtcmediaengine.h",
472 "source/talk/media/webrtc/webrtcvideoengine2.cc", 472 "../webrtc/media/webrtc/webrtcvideoengine2.cc",
473 "source/talk/media/webrtc/webrtcvideoengine2.h", 473 "../webrtc/media/webrtc/webrtcvideoengine2.h",
474 "source/talk/media/webrtc/webrtcvoiceengine.cc", 474 "../webrtc/media/webrtc/webrtcvoiceengine.cc",
475 "source/talk/media/webrtc/webrtcvoiceengine.h", 475 "../webrtc/media/webrtc/webrtcvoiceengine.h",
476 ] 476 ]
477 477
478 configs += [ ":jingle_unexported_configs" ] 478 configs += [ ":jingle_unexported_configs" ]
479 public_configs = [ ":jingle_public_configs" ] 479 public_configs = [ ":jingle_public_configs" ]
480 configs -= [ "//build/config/compiler:chromium_code" ] 480 configs -= [ "//build/config/compiler:chromium_code" ]
481 configs += [ "//build/config/compiler:no_chromium_code" ] 481 configs += [ "//build/config/compiler:no_chromium_code" ]
482 482
483 deps = [ 483 deps = [
484 # TODO(GYP): crbug.com/481633. Consider depending on :libjingle_webrtc 484 # TODO(GYP): crbug.com/481633. Consider depending on :libjingle_webrtc
485 # instead. 485 # instead.
(...skipping 10 matching lines...) Expand all
496 "$p2p_dir/stunprober/stunprober.cc", 496 "$p2p_dir/stunprober/stunprober.cc",
497 ] 497 ]
498 498
499 deps = [ 499 deps = [
500 ":libjingle_webrtc_common", 500 ":libjingle_webrtc_common",
501 "//third_party/webrtc/base:rtc_base", 501 "//third_party/webrtc/base:rtc_base",
502 ] 502 ]
503 } 503 }
504 } # enable_webrtc 504 } # enable_webrtc
505 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. 505 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block.
OLDNEW
« no previous file with comments | « no previous file | third_party/libjingle/libjingle.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698