Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../webrtc.gni")
|
2017-01-23 04:56:25 -08:00
|
|
|
if (is_android) {
|
|
|
|
|
import("//build/config/android/config.gni")
|
|
|
|
|
import("//build/config/android/rules.gni")
|
|
|
|
|
}
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
|
|
|
|
|
group("pc") {
|
2017-12-06 11:23:19 +01:00
|
|
|
deps = [
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
":rtc_pc",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config("rtc_pc_config") {
|
2017-03-06 11:32:22 -08:00
|
|
|
defines = []
|
2016-12-22 10:53:38 -08:00
|
|
|
if (rtc_enable_sctp) {
|
|
|
|
|
defines += [ "HAVE_SCTP" ]
|
|
|
|
|
}
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
}
|
|
|
|
|
|
2017-06-15 12:52:32 -07:00
|
|
|
rtc_static_library("rtc_pc_base") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
defines = []
|
|
|
|
|
sources = [
|
|
|
|
|
"channel.cc",
|
|
|
|
|
"channel.h",
|
2018-11-13 16:26:05 -08:00
|
|
|
"channelinterface.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"channelmanager.cc",
|
|
|
|
|
"channelmanager.h",
|
2017-11-20 14:35:11 -08:00
|
|
|
"dtlssrtptransport.cc",
|
|
|
|
|
"dtlssrtptransport.h",
|
2017-03-06 00:14:10 -08:00
|
|
|
"externalhmac.cc",
|
|
|
|
|
"externalhmac.h",
|
2018-04-13 16:44:34 -07:00
|
|
|
"jseptransport.cc",
|
|
|
|
|
"jseptransport.h",
|
2018-02-22 15:26:27 -08:00
|
|
|
"jseptransportcontroller.cc",
|
|
|
|
|
"jseptransportcontroller.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"mediasession.cc",
|
|
|
|
|
"mediasession.h",
|
|
|
|
|
"rtcpmuxfilter.cc",
|
|
|
|
|
"rtcpmuxfilter.h",
|
2017-11-27 14:30:09 -08:00
|
|
|
"rtpmediautils.cc",
|
|
|
|
|
"rtpmediautils.h",
|
2017-04-04 19:45:57 -07:00
|
|
|
"rtptransport.cc",
|
|
|
|
|
"rtptransport.h",
|
2017-07-19 13:38:02 -07:00
|
|
|
"rtptransportinternal.h",
|
2017-11-20 14:35:11 -08:00
|
|
|
"rtptransportinternaladapter.h",
|
2017-12-19 14:26:11 -08:00
|
|
|
"sessiondescription.cc",
|
|
|
|
|
"sessiondescription.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
"srtpfilter.cc",
|
|
|
|
|
"srtpfilter.h",
|
2017-07-07 14:26:25 -07:00
|
|
|
"srtpsession.cc",
|
|
|
|
|
"srtpsession.h",
|
2017-07-19 13:38:02 -07:00
|
|
|
"srtptransport.cc",
|
|
|
|
|
"srtptransport.h",
|
2018-02-22 15:26:27 -08:00
|
|
|
"transportstats.cc",
|
|
|
|
|
"transportstats.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-06-01 13:01:48 -07:00
|
|
|
"..:webrtc_common",
|
2018-03-07 20:02:26 +01:00
|
|
|
"../api:array_view",
|
2016-08-31 07:33:05 -07:00
|
|
|
"../api:call_api",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
|
|
|
|
"../api:ortc_api",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2018-04-13 16:44:34 -07:00
|
|
|
"../call:rtp_interfaces",
|
|
|
|
|
"../call:rtp_receiver",
|
2018-01-04 12:14:35 +01:00
|
|
|
"../common_video:common_video",
|
2018-06-11 20:15:46 -07:00
|
|
|
"../logging:rtc_event_log_api",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../media:rtc_data",
|
2017-06-21 01:02:59 -07:00
|
|
|
"../media:rtc_h264_profile_id",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../media:rtc_media_base",
|
2018-04-13 16:44:34 -07:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../p2p:rtc_p2p",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_task_queue",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2018-07-23 17:38:12 +02:00
|
|
|
"../rtc_base/third_party/base64",
|
2018-07-25 15:04:28 +02:00
|
|
|
"../rtc_base/third_party/sigslot",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:metrics",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-10-19 15:29:54 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-06-19 16:47:43 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (rtc_build_libsrtp) {
|
|
|
|
|
deps += [ "//third_party/libsrtp" ]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-05 06:10:18 -07:00
|
|
|
public_configs = [ ":rtc_pc_config" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
2016-06-13 00:08:24 -07:00
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
}
|
|
|
|
|
}
|
2016-06-13 00:08:24 -07:00
|
|
|
|
2017-06-15 12:52:32 -07:00
|
|
|
rtc_source_set("rtc_pc") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-24 16:39:05 +02:00
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"software_video_codecs", # TODO(bugs.webrtc.org/7925): Remove.
|
|
|
|
|
]
|
2017-06-15 12:52:32 -07:00
|
|
|
deps = [
|
2017-12-06 11:23:19 +01:00
|
|
|
":rtc_pc_base",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../media:rtc_audio_video",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("peerconnection") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-01-23 04:56:25 -08:00
|
|
|
cflags = []
|
|
|
|
|
sources = [
|
|
|
|
|
"audiotrack.cc",
|
|
|
|
|
"audiotrack.h",
|
|
|
|
|
"datachannel.cc",
|
|
|
|
|
"datachannel.h",
|
|
|
|
|
"dtmfsender.cc",
|
|
|
|
|
"dtmfsender.h",
|
2017-03-29 21:08:16 -07:00
|
|
|
"iceserverparsing.cc",
|
|
|
|
|
"iceserverparsing.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"jsepicecandidate.cc",
|
|
|
|
|
"jsepsessiondescription.cc",
|
|
|
|
|
"localaudiosource.cc",
|
|
|
|
|
"localaudiosource.h",
|
|
|
|
|
"mediastream.cc",
|
|
|
|
|
"mediastream.h",
|
|
|
|
|
"mediastreamobserver.cc",
|
|
|
|
|
"mediastreamobserver.h",
|
|
|
|
|
"mediastreamtrack.h",
|
|
|
|
|
"peerconnection.cc",
|
|
|
|
|
"peerconnection.h",
|
|
|
|
|
"peerconnectionfactory.cc",
|
|
|
|
|
"peerconnectionfactory.h",
|
2018-01-23 16:38:46 -08:00
|
|
|
"peerconnectioninternal.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"remoteaudiosource.cc",
|
|
|
|
|
"remoteaudiosource.h",
|
|
|
|
|
"rtcstatscollector.cc",
|
|
|
|
|
"rtcstatscollector.h",
|
2018-03-12 10:27:55 +01:00
|
|
|
"rtcstatstraversal.cc",
|
|
|
|
|
"rtcstatstraversal.h",
|
2018-06-28 14:09:33 +02:00
|
|
|
"rtpparametersconversion.cc",
|
|
|
|
|
"rtpparametersconversion.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"rtpreceiver.cc",
|
|
|
|
|
"rtpreceiver.h",
|
|
|
|
|
"rtpsender.cc",
|
|
|
|
|
"rtpsender.h",
|
2017-11-13 10:44:53 -08:00
|
|
|
"rtptransceiver.cc",
|
|
|
|
|
"rtptransceiver.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"sctputils.cc",
|
|
|
|
|
"sctputils.h",
|
2017-10-06 10:14:03 -07:00
|
|
|
"sdputils.cc",
|
|
|
|
|
"sdputils.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"statscollector.cc",
|
|
|
|
|
"statscollector.h",
|
|
|
|
|
"streamcollection.h",
|
2017-02-11 19:07:31 -08:00
|
|
|
"trackmediainfomap.cc",
|
|
|
|
|
"trackmediainfomap.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"videocapturertracksource.cc",
|
|
|
|
|
"videocapturertracksource.h",
|
|
|
|
|
"videotrack.cc",
|
|
|
|
|
"videotrack.h",
|
|
|
|
|
"videotracksource.cc",
|
|
|
|
|
"videotracksource.h",
|
|
|
|
|
"webrtcsdp.cc",
|
|
|
|
|
"webrtcsdp.h",
|
|
|
|
|
"webrtcsessiondescriptionfactory.cc",
|
|
|
|
|
"webrtcsessiondescriptionfactory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-06-15 12:52:32 -07:00
|
|
|
":rtc_pc_base",
|
2017-06-01 13:01:48 -07:00
|
|
|
"..:webrtc_common",
|
2017-01-23 04:56:25 -08:00
|
|
|
"../api:call_api",
|
Revert "Revert "Enables PeerConnectionFactory using external fec controller""
This reverts commit 00733015fafbbc61ddc12dfdc88b21a9fcd9d122.
Reason for revert: The reason for a downstream test failure on the original commit and a workaround has been found. Solution is to keep a PeerConnectionFactory constructor implementation as the same as before.
Original change's description:
> Revert "Enables PeerConnectionFactory using external fec controller"
>
> This reverts commit 4f07bdb25567d8ef528311e0b50a62c61d543fc3.
>
> Reason for revert: Speculatively reverting, because downstream test is now hitting "PeerConnectionFactory.initialize was not called before creating a PeerConnectionFactory" error, even though it did call initialize. I don't see how any change in this CL could cause that, but it's the only CL on the blamelist, and it does modify PeerConnectionFactory.java
>
> Original change's description:
> > Enables PeerConnectionFactory using external fec controller
> >
> > Bug: webrtc:8799
> > Change-Id: Ieb2cf6163b9a83844ab9ed4822b4a7f1db4c24b8
> > Reviewed-on: https://webrtc-review.googlesource.com/43961
> > Commit-Queue: Ying Wang <yinwa@webrtc.org>
> > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
> > Reviewed-by: Niels Moller <nisse@webrtc.org>
> > Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22038}
>
> TBR=sakal@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org,stefan@webrtc.org,yinwa@webrtc.org
>
> Change-Id: I95868c35d6f9973e0ebf563814cd71d0fcbd433d
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8799
> Reviewed-on: https://webrtc-review.googlesource.com/54080
> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
> Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22040}
TBR=deadbeef@webrtc.org,sakal@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org,stefan@webrtc.org,yinwa@webrtc.org
Bug: webrtc:8799
Change-Id: If9f3292bfcc739782967530c49f006d0abbc38a8
Reviewed-on: https://webrtc-review.googlesource.com/55400
Commit-Queue: Ying Wang <yinwa@webrtc.org>
Reviewed-by: Ying Wang <yinwa@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22100}
2018-02-20 12:50:27 +01:00
|
|
|
"../api:fec_controller_api",
|
2017-12-06 11:23:19 +01:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2017-01-23 04:56:25 -08:00
|
|
|
"../api:rtc_stats_api",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../api/video:video_frame",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../call:call_interfaces",
|
2018-01-04 12:14:35 +01:00
|
|
|
"../common_video:common_video",
|
2018-01-30 17:13:09 -08:00
|
|
|
"../logging:ice_log",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../logging:rtc_event_log_api",
|
2018-02-01 11:04:46 -08:00
|
|
|
"../logging:rtc_event_log_impl_output",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../media:rtc_data",
|
|
|
|
|
"../media:rtc_media_base",
|
2018-05-18 18:05:10 +02:00
|
|
|
"../modules/congestion_controller/bbr",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../p2p:rtc_p2p",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2018-05-18 18:05:10 +02:00
|
|
|
"../rtc_base/experiments:congestion_controller_experiment",
|
2018-10-15 17:15:12 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2018-07-23 17:38:12 +02:00
|
|
|
"../rtc_base/third_party/base64",
|
2018-07-25 15:04:28 +02:00
|
|
|
"../rtc_base/third_party/sigslot",
|
2017-01-23 04:56:25 -08:00
|
|
|
"../stats",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
"../system_wrappers:metrics",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-10-23 10:07:25 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-06-19 16:47:43 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-01-23 04:56:25 -08:00
|
|
|
]
|
2017-06-15 12:52:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# This target implements CreatePeerConnectionFactory methods that will create a
|
|
|
|
|
# PeerConnection will full functionality (audio, video and data). Applications
|
|
|
|
|
# that wish to reduce their binary size by ommitting functionality they don't
|
|
|
|
|
# need should use CreateModularCreatePeerConnectionFactory instead, using the
|
|
|
|
|
# "peerconnection" build target and other targets specific to their
|
|
|
|
|
# requrements. See comment in peerconnectionfactoryinterface.h.
|
2017-06-22 01:28:59 -07:00
|
|
|
rtc_static_library("create_pc_factory") {
|
2017-06-15 12:52:32 -07:00
|
|
|
sources = [
|
|
|
|
|
"createpeerconnectionfactory.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-02-14 12:20:13 +01:00
|
|
|
"../api:callfactory_api",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2018-02-16 13:43:49 +01:00
|
|
|
"../api/audio:audio_mixer_api",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2017-09-15 19:02:47 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../call",
|
|
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../logging:rtc_event_log_api",
|
2018-02-01 11:04:46 -08:00
|
|
|
"../logging:rtc_event_log_impl_base",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../media:rtc_audio_video",
|
2017-11-20 18:41:50 +01:00
|
|
|
"../media:rtc_media_base",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../modules/audio_device:audio_device",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2017-06-29 08:32:09 -07:00
|
|
|
"../modules/audio_processing:audio_processing",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-06-15 12:52:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("libjingle_peerconnection") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-24 16:39:05 +02:00
|
|
|
allow_poison = [
|
|
|
|
|
"audio_codecs", # TODO(bugs.webrtc.org/8396): Remove.
|
|
|
|
|
"software_video_codecs", # TODO(bugs.webrtc.org/7925): Remove.
|
|
|
|
|
]
|
2017-12-06 11:23:19 +01:00
|
|
|
deps = [
|
2017-06-15 12:52:32 -07:00
|
|
|
":create_pc_factory",
|
|
|
|
|
":peerconnection",
|
|
|
|
|
"../api:libjingle_peerconnection_api",
|
|
|
|
|
]
|
2017-01-23 04:56:25 -08:00
|
|
|
}
|
|
|
|
|
|
2016-06-13 00:08:24 -07:00
|
|
|
if (rtc_include_tests) {
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_test("rtc_pc_unittests") {
|
2016-06-13 00:08:24 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"channel_unittest.cc",
|
|
|
|
|
"channelmanager_unittest.cc",
|
2017-11-20 14:35:11 -08:00
|
|
|
"dtlssrtptransport_unittest.cc",
|
2018-04-13 16:44:34 -07:00
|
|
|
"jseptransport_unittest.cc",
|
2018-02-22 15:26:27 -08:00
|
|
|
"jseptransportcontroller_unittest.cc",
|
2016-06-13 00:08:24 -07:00
|
|
|
"mediasession_unittest.cc",
|
|
|
|
|
"rtcpmuxfilter_unittest.cc",
|
2017-04-24 16:54:35 -07:00
|
|
|
"rtptransport_unittest.cc",
|
2017-07-19 13:38:02 -07:00
|
|
|
"rtptransporttestutil.h",
|
2018-10-12 10:54:26 +02:00
|
|
|
"sessiondescription_unittest.cc",
|
2016-06-13 00:08:24 -07:00
|
|
|
"srtpfilter_unittest.cc",
|
2017-07-07 14:26:25 -07:00
|
|
|
"srtpsession_unittest.cc",
|
|
|
|
|
"srtptestutil.h",
|
2017-07-19 13:38:02 -07:00
|
|
|
"srtptransport_unittest.cc",
|
2016-06-13 00:08:24 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
include_dirs = [ "//third_party/libsrtp/srtp" ]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
2016-06-13 00:08:24 -07:00
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2016-06-13 00:08:24 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_win) {
|
|
|
|
|
libs = [ "strmiids.lib" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-01-23 04:56:25 -08:00
|
|
|
":libjingle_peerconnection",
|
2017-09-29 10:51:43 -07:00
|
|
|
":pc_test_utils",
|
2016-06-13 00:08:24 -07:00
|
|
|
":rtc_pc",
|
2017-12-06 11:23:19 +01:00
|
|
|
":rtc_pc_base",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../api:array_view",
|
2018-10-10 10:34:49 -07:00
|
|
|
"../api:fake_media_transport",
|
2017-12-06 11:23:19 +01:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2018-04-13 16:44:34 -07:00
|
|
|
"../call:rtp_interfaces",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../logging:rtc_event_log_api",
|
|
|
|
|
"../media:rtc_media_base",
|
2017-04-25 00:35:35 -07:00
|
|
|
"../media:rtc_media_tests_utils",
|
2018-04-13 16:44:34 -07:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../p2p:p2p_test_utils",
|
|
|
|
|
"../p2p:rtc_p2p",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../rtc_base:rtc_base_tests_main",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2018-07-25 15:04:28 +02:00
|
|
|
"../rtc_base/third_party/sigslot",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:metrics",
|
2017-07-19 13:38:02 -07:00
|
|
|
"../test:test_support",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2016-06-13 00:08:24 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (rtc_build_libsrtp) {
|
|
|
|
|
deps += [ "//third_party/libsrtp" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_android) {
|
|
|
|
|
deps += [ "//testing/android/native_test:native_test_support" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-01-23 04:56:25 -08:00
|
|
|
|
2018-06-22 15:40:16 -07:00
|
|
|
rtc_source_set("peerconnection_perf_tests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"peerconnection_rampup_tests.cc",
|
|
|
|
|
"peerconnectionwrapper.cc",
|
|
|
|
|
"peerconnectionwrapper.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":pc_test_utils",
|
|
|
|
|
"../api:libjingle_peerconnection_api",
|
|
|
|
|
"../api:rtc_stats_api",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_decoder_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_encoder_factory",
|
|
|
|
|
"../media:rtc_media_tests_utils",
|
|
|
|
|
"../p2p:p2p_test_utils",
|
|
|
|
|
"../p2p:rtc_p2p",
|
|
|
|
|
"../pc:peerconnection",
|
|
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
|
|
|
|
"../test:perf_test",
|
|
|
|
|
"../test:test_support",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-22 15:40:16 -07:00
|
|
|
]
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-25 18:15:09 -08:00
|
|
|
rtc_source_set("pc_test_utils") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/fakeaudiocapturemodule.cc",
|
|
|
|
|
"test/fakeaudiocapturemodule.h",
|
|
|
|
|
"test/fakedatachannelprovider.h",
|
2018-01-24 15:29:17 -08:00
|
|
|
"test/fakepeerconnectionbase.h",
|
2018-01-26 10:25:53 -08:00
|
|
|
"test/fakepeerconnectionforstats.h",
|
2018-03-21 09:20:21 +01:00
|
|
|
"test/fakeperiodicvideosource.h",
|
2018-05-17 09:16:41 +02:00
|
|
|
"test/fakeperiodicvideotracksource.h",
|
2017-02-25 18:15:09 -08:00
|
|
|
"test/fakertccertificategenerator.h",
|
2017-10-23 11:41:54 -07:00
|
|
|
"test/fakesctptransport.h",
|
2017-02-25 18:15:09 -08:00
|
|
|
"test/fakevideotrackrenderer.h",
|
|
|
|
|
"test/fakevideotracksource.h",
|
2018-06-22 15:40:16 -07:00
|
|
|
"test/framegeneratorcapturervideotracksource.h",
|
2018-11-13 16:26:05 -08:00
|
|
|
"test/mock_channelinterface.h",
|
2017-02-25 18:15:09 -08:00
|
|
|
"test/mock_datachannel.h",
|
2018-02-15 15:19:50 -08:00
|
|
|
"test/mock_rtpreceiverinternal.h",
|
|
|
|
|
"test/mock_rtpsenderinternal.h",
|
2017-02-25 18:15:09 -08:00
|
|
|
"test/mockpeerconnectionobservers.h",
|
|
|
|
|
"test/peerconnectiontestwrapper.cc",
|
|
|
|
|
"test/peerconnectiontestwrapper.h",
|
|
|
|
|
"test/rtcstatsobtainer.h",
|
|
|
|
|
"test/testsdpstrings.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection",
|
2017-12-06 11:23:19 +01:00
|
|
|
":peerconnection",
|
2017-09-29 10:51:43 -07:00
|
|
|
":rtc_pc_base",
|
2017-06-01 13:01:48 -07:00
|
|
|
"..:webrtc_common",
|
2018-01-11 10:13:56 +01:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../api:libjingle_peerconnection_test_api",
|
|
|
|
|
"../api:rtc_stats_api",
|
2018-05-21 14:09:31 +02:00
|
|
|
"../api/video:video_frame",
|
2018-05-03 11:28:29 +02:00
|
|
|
"../api/video_codecs:builtin_video_decoder_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_encoder_factory",
|
2017-06-15 12:52:32 -07:00
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../logging:rtc_event_log_api",
|
2018-01-11 17:07:30 +01:00
|
|
|
"../media:rtc_data",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../media:rtc_media",
|
2017-11-20 18:41:50 +01:00
|
|
|
"../media:rtc_media_base",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../media:rtc_media_tests_utils",
|
|
|
|
|
"../modules/audio_device:audio_device",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2018-05-03 11:28:29 +02:00
|
|
|
"../modules/audio_processing:audio_processing",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../p2p:p2p_test_utils",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base",
|
|
|
|
|
"../rtc_base:rtc_base_approved",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2018-03-19 11:12:48 +01:00
|
|
|
"../rtc_base:rtc_task_queue",
|
2018-07-25 15:04:28 +02:00
|
|
|
"../rtc_base/third_party/sigslot",
|
2017-06-01 13:01:48 -07:00
|
|
|
"../test:test_support",
|
2018-06-22 15:40:16 -07:00
|
|
|
"../test:video_test_common",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2017-02-25 18:15:09 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-23 04:56:25 -08:00
|
|
|
rtc_test("peerconnection_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"datachannel_unittest.cc",
|
|
|
|
|
"dtmfsender_unittest.cc",
|
2017-03-29 21:08:16 -07:00
|
|
|
"iceserverparsing_unittest.cc",
|
2017-01-23 04:56:25 -08:00
|
|
|
"jsepsessiondescription_unittest.cc",
|
|
|
|
|
"localaudiosource_unittest.cc",
|
|
|
|
|
"mediaconstraintsinterface_unittest.cc",
|
|
|
|
|
"mediastream_unittest.cc",
|
2017-10-23 09:39:20 -07:00
|
|
|
"peerconnection_bundle_unittest.cc",
|
2017-10-06 11:20:31 -07:00
|
|
|
"peerconnection_crypto_unittest.cc",
|
2017-10-23 11:41:54 -07:00
|
|
|
"peerconnection_datachannel_unittest.cc",
|
2018-06-25 12:03:50 +02:00
|
|
|
"peerconnection_histogram_unittest.cc",
|
2017-10-13 11:13:35 -07:00
|
|
|
"peerconnection_ice_unittest.cc",
|
2017-03-29 21:08:16 -07:00
|
|
|
"peerconnection_integrationtest.cc",
|
2017-12-22 16:02:54 -08:00
|
|
|
"peerconnection_jsep_unittest.cc",
|
2017-10-20 15:30:51 -07:00
|
|
|
"peerconnection_media_unittest.cc",
|
Reland "Added PeerConnectionObserver::OnRemoveTrack."
This reverts commit 6c0c55c31817ecfa32409424495eb68b31828c40.
Reason for revert:
Fixed the flake.
Original change's description:
> Revert "Added PeerConnectionObserver::OnRemoveTrack."
>
> This reverts commit ba97ba7af917d4152f5f3363aba1c1561c6673dc.
>
> Reason for revert: The new tests have caused several test failures on the test bots; the method FakeAudioMediaStreamTrack:GetSignalLevel, which is not supposed to be called is sometimes called anyway.
>
> Original change's description:
> > Added PeerConnectionObserver::OnRemoveTrack.
> >
> > This corresponds to processing the removal of a remote track step of
> > the spec, with processing the addition of a remote track already
> > covered by OnAddTrack.
> > https://w3c.github.io/webrtc-pc/#processing-remote-mediastreamtracks
> >
> > Bug: webrtc:8260, webrtc:8315
> > Change-Id: Ica8be92369733eb3cf1397fb60385d45a9b58700
> > Reviewed-on: https://webrtc-review.googlesource.com/4722
> > Commit-Queue: Henrik Boström <hbos@webrtc.org>
> > Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
> > Reviewed-by: Steve Anton <steveanton@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#20214}
>
> TBR=steveanton@webrtc.org,deadbeef@webrtc.org,hbos@webrtc.org
>
> Change-Id: Id2d9533e27227254769b4280a8ff10a47313e714
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8260, webrtc:8315
> Reviewed-on: https://webrtc-review.googlesource.com/7940
> Reviewed-by: Alex Loiko <aleloi@webrtc.org>
> Commit-Queue: Alex Loiko <aleloi@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#20218}
TBR=steveanton@webrtc.org,deadbeef@webrtc.org,aleloi@webrtc.org,hbos@webrtc.org
Change-Id: Iab7500bebf98535754b102874259de43831fff6b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8260, webrtc:8315
Reviewed-on: https://webrtc-review.googlesource.com/8180
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20227}
2017-10-10 10:05:16 -07:00
|
|
|
"peerconnection_rtp_unittest.cc",
|
2017-10-20 15:30:51 -07:00
|
|
|
"peerconnection_signaling_unittest.cc",
|
2017-01-23 04:56:25 -08:00
|
|
|
"peerconnectionendtoend_unittest.cc",
|
|
|
|
|
"peerconnectionfactory_unittest.cc",
|
|
|
|
|
"peerconnectioninterface_unittest.cc",
|
2017-09-26 16:20:19 -07:00
|
|
|
"peerconnectionwrapper.cc",
|
|
|
|
|
"peerconnectionwrapper.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"proxy_unittest.cc",
|
|
|
|
|
"rtcstats_integrationtest.cc",
|
|
|
|
|
"rtcstatscollector_unittest.cc",
|
2018-03-12 10:27:55 +01:00
|
|
|
"rtcstatstraversal_unittest.cc",
|
2017-11-27 14:30:09 -08:00
|
|
|
"rtpmediautils_unittest.cc",
|
2018-06-28 14:09:33 +02:00
|
|
|
"rtpparametersconversion_unittest.cc",
|
2017-01-23 04:56:25 -08:00
|
|
|
"rtpsenderreceiver_unittest.cc",
|
2018-11-13 16:26:05 -08:00
|
|
|
"rtptransceiver_unittest.cc",
|
2017-01-23 04:56:25 -08:00
|
|
|
"sctputils_unittest.cc",
|
|
|
|
|
"statscollector_unittest.cc",
|
|
|
|
|
"test/fakeaudiocapturemodule_unittest.cc",
|
|
|
|
|
"test/testsdpstrings.h",
|
2017-02-11 19:07:31 -08:00
|
|
|
"trackmediainfomap_unittest.cc",
|
2017-01-23 04:56:25 -08:00
|
|
|
"videocapturertracksource_unittest.cc",
|
|
|
|
|
"videotrack_unittest.cc",
|
|
|
|
|
"webrtcsdp_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (rtc_enable_sctp) {
|
|
|
|
|
defines = [ "HAVE_SCTP" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-06 11:23:19 +01:00
|
|
|
deps = [
|
|
|
|
|
":peerconnection",
|
|
|
|
|
":rtc_pc_base",
|
2018-10-25 09:52:57 -07:00
|
|
|
"../api:fake_frame_decryptor",
|
|
|
|
|
"../api:fake_frame_encryptor",
|
2018-01-11 10:13:56 +01:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2018-11-08 11:23:22 -08:00
|
|
|
"../api:loopback_media_transport",
|
2017-12-19 10:32:11 +01:00
|
|
|
"../api:mock_rtp",
|
2018-05-08 14:52:22 +02:00
|
|
|
"../api/units:time_delta",
|
2018-06-11 20:15:46 -07:00
|
|
|
"../logging:fake_rtc_event_log",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2018-07-23 17:38:12 +02:00
|
|
|
"../rtc_base/third_party/base64",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:metrics",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../test:fileutils",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-10-30 22:23:02 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2017-12-06 11:23:19 +01:00
|
|
|
]
|
2017-01-23 04:56:25 -08:00
|
|
|
if (is_android) {
|
2017-09-15 09:04:28 +02:00
|
|
|
deps += [ ":android_black_magic" ]
|
2017-01-23 04:56:25 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps += [
|
|
|
|
|
":libjingle_peerconnection",
|
2017-02-25 18:15:09 -08:00
|
|
|
":pc_test_utils",
|
2017-01-23 04:56:25 -08:00
|
|
|
"..:webrtc_common",
|
2018-02-14 12:20:13 +01:00
|
|
|
"../api:callfactory_api",
|
2018-10-17 13:15:42 -07:00
|
|
|
"../api:fake_media_transport",
|
2017-09-15 09:04:28 +02:00
|
|
|
"../api:libjingle_peerconnection_test_api",
|
|
|
|
|
"../api:rtc_stats_api",
|
2017-10-10 23:17:17 +02:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2017-09-15 09:04:28 +02:00
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
2017-10-10 23:17:17 +02:00
|
|
|
"../api/audio_codecs/L16:audio_decoder_L16",
|
|
|
|
|
"../api/audio_codecs/L16:audio_encoder_L16",
|
2018-05-03 11:28:29 +02:00
|
|
|
"../api/video_codecs:builtin_video_decoder_factory",
|
|
|
|
|
"../api/video_codecs:builtin_video_encoder_factory",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
2017-10-20 15:30:51 -07:00
|
|
|
"../call:call_interfaces",
|
2017-10-13 16:29:40 +02:00
|
|
|
"../logging:rtc_event_log_api",
|
2018-02-01 11:04:46 -08:00
|
|
|
"../logging:rtc_event_log_impl_base",
|
|
|
|
|
"../logging:rtc_event_log_impl_output",
|
2017-09-15 09:04:28 +02:00
|
|
|
"../media:rtc_audio_video",
|
|
|
|
|
"../media:rtc_data", # TODO(phoglund): AFAIK only used for one sctp constant.
|
|
|
|
|
"../media:rtc_media_base",
|
2017-04-25 00:35:35 -07:00
|
|
|
"../media:rtc_media_tests_utils",
|
2018-11-07 14:29:54 +00:00
|
|
|
"../modules/audio_processing:api",
|
2017-09-15 09:04:28 +02:00
|
|
|
"../modules/audio_processing:audio_processing",
|
|
|
|
|
"../modules/utility:utility",
|
|
|
|
|
"../p2p:p2p_test_utils",
|
|
|
|
|
"../p2p:rtc_p2p",
|
2017-01-23 04:56:25 -08:00
|
|
|
"../pc:rtc_pc",
|
Reland "Added PeerConnectionObserver::OnRemoveTrack."
This reverts commit 6c0c55c31817ecfa32409424495eb68b31828c40.
Reason for revert:
Fixed the flake.
Original change's description:
> Revert "Added PeerConnectionObserver::OnRemoveTrack."
>
> This reverts commit ba97ba7af917d4152f5f3363aba1c1561c6673dc.
>
> Reason for revert: The new tests have caused several test failures on the test bots; the method FakeAudioMediaStreamTrack:GetSignalLevel, which is not supposed to be called is sometimes called anyway.
>
> Original change's description:
> > Added PeerConnectionObserver::OnRemoveTrack.
> >
> > This corresponds to processing the removal of a remote track step of
> > the spec, with processing the addition of a remote track already
> > covered by OnAddTrack.
> > https://w3c.github.io/webrtc-pc/#processing-remote-mediastreamtracks
> >
> > Bug: webrtc:8260, webrtc:8315
> > Change-Id: Ica8be92369733eb3cf1397fb60385d45a9b58700
> > Reviewed-on: https://webrtc-review.googlesource.com/4722
> > Commit-Queue: Henrik Boström <hbos@webrtc.org>
> > Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
> > Reviewed-by: Steve Anton <steveanton@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#20214}
>
> TBR=steveanton@webrtc.org,deadbeef@webrtc.org,hbos@webrtc.org
>
> Change-Id: Id2d9533e27227254769b4280a8ff10a47313e714
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8260, webrtc:8315
> Reviewed-on: https://webrtc-review.googlesource.com/7940
> Reviewed-by: Alex Loiko <aleloi@webrtc.org>
> Commit-Queue: Alex Loiko <aleloi@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#20218}
TBR=steveanton@webrtc.org,deadbeef@webrtc.org,aleloi@webrtc.org,hbos@webrtc.org
Change-Id: Iab7500bebf98535754b102874259de43831fff6b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8260, webrtc:8315
Reviewed-on: https://webrtc-review.googlesource.com/8180
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20227}
2017-10-10 10:05:16 -07:00
|
|
|
"../rtc_base:rtc_base",
|
2017-09-15 09:04:28 +02:00
|
|
|
"../rtc_base:rtc_base_approved",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../rtc_base:rtc_base_tests_main",
|
|
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2018-03-19 11:12:48 +01:00
|
|
|
"../rtc_base:rtc_task_queue",
|
2018-07-03 12:53:23 +02:00
|
|
|
"../rtc_base:safe_conversions",
|
2017-06-14 03:31:17 -07:00
|
|
|
"../test:audio_codec_mocks",
|
2017-09-15 09:04:28 +02:00
|
|
|
"../test:test_support",
|
2018-06-19 16:47:43 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-01-23 04:56:25 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (is_android) {
|
2017-09-15 09:04:28 +02:00
|
|
|
deps += [
|
|
|
|
|
"//testing/android/native_test:native_test_support",
|
|
|
|
|
|
|
|
|
|
# We need to depend on this one directly, or classloads will fail for
|
|
|
|
|
# the voice engine BuildInfo, for instance.
|
|
|
|
|
"../sdk/android:libjingle_peerconnection_java",
|
|
|
|
|
]
|
2017-01-23 04:56:25 -08:00
|
|
|
|
|
|
|
|
shard_timeout = 900
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-15 09:04:28 +02:00
|
|
|
|
|
|
|
|
if (is_android) {
|
|
|
|
|
rtc_source_set("android_black_magic") {
|
|
|
|
|
# The android code uses hacky includes to chromium-base and the ssl code;
|
|
|
|
|
# having this in a separate target enables us to keep the peerconnection
|
|
|
|
|
# unit tests clean.
|
|
|
|
|
check_includes = false
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/androidtestinitializer.cc",
|
|
|
|
|
"test/androidtestinitializer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../sdk/android:libjingle_peerconnection_jni",
|
|
|
|
|
"//testing/android/native_test:native_test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-06-13 00:08:24 -07:00
|
|
|
}
|