2015-12-13 19:58:11 -08:00
|
|
|
# Copyright (c) 2015 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")
|
2016-06-29 14:55:00 +02: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("api") {
|
2016-09-15 00:53:26 -07:00
|
|
|
public_deps = [
|
2017-01-23 04:56:25 -08:00
|
|
|
":libjingle_peerconnection_api",
|
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-09-02 04:10:34 -07:00
|
|
|
rtc_source_set("call_api") {
|
2016-08-31 07:33:05 -07:00
|
|
|
sources = [
|
|
|
|
|
"call/audio_sink.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
# TODO(kjellander): Add remaining dependencies when webrtc:4243 is done.
|
2016-11-08 04:26:30 -08:00
|
|
|
":audio_mixer_api",
|
2016-11-28 07:02:13 -08:00
|
|
|
":transport_api",
|
2016-08-31 07:33:05 -07:00
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../base:rtc_base_approved",
|
2017-02-10 08:15:44 -08:00
|
|
|
"audio_codecs:audio_codecs_api",
|
2016-08-31 07:33:05 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-23 04:56:25 -08:00
|
|
|
rtc_static_library("libjingle_peerconnection_api") {
|
2017-04-21 05:17:08 -07:00
|
|
|
# Cannot have GN check enabled since that would introduce dependency cycles
|
|
|
|
|
# TODO(kjellander): Remove (bugs.webrtc.org/7504)
|
|
|
|
|
check_includes = false
|
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
|
|
|
cflags = []
|
|
|
|
|
sources = [
|
|
|
|
|
"datachannel.h",
|
|
|
|
|
"datachannelinterface.h",
|
|
|
|
|
"dtmfsenderinterface.h",
|
|
|
|
|
"jsep.h",
|
|
|
|
|
"jsepicecandidate.h",
|
|
|
|
|
"jsepsessiondescription.h",
|
|
|
|
|
"mediaconstraintsinterface.cc",
|
|
|
|
|
"mediaconstraintsinterface.h",
|
|
|
|
|
"mediastream.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"mediastreaminterface.cc",
|
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
|
|
|
"mediastreaminterface.h",
|
|
|
|
|
"mediastreamproxy.h",
|
|
|
|
|
"mediastreamtrack.h",
|
|
|
|
|
"mediastreamtrackproxy.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"mediatypes.cc",
|
|
|
|
|
"mediatypes.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
|
|
|
"notifier.h",
|
|
|
|
|
"peerconnectionfactoryproxy.h",
|
|
|
|
|
"peerconnectioninterface.h",
|
|
|
|
|
"peerconnectionproxy.h",
|
|
|
|
|
"proxy.h",
|
2017-02-16 23:31:33 -08:00
|
|
|
"rtcerror.cc",
|
|
|
|
|
"rtcerror.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
|
|
|
"rtpparameters.h",
|
|
|
|
|
"rtpreceiverinterface.h",
|
|
|
|
|
"rtpsender.h",
|
|
|
|
|
"rtpsenderinterface.h",
|
|
|
|
|
"statstypes.cc",
|
|
|
|
|
"statstypes.h",
|
|
|
|
|
"streamcollection.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"umametrics.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
|
|
|
"videosourceproxy.h",
|
|
|
|
|
"videotracksource.h",
|
2017-01-24 07:13:59 -08:00
|
|
|
"webrtcsdp.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
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
2016-06-13 12:08:33 -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
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2016-09-15 23:33:01 -07:00
|
|
|
":rtc_stats_api",
|
2017-04-21 05:17:08 -07:00
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../base:rtc_base",
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
"audio_codecs:audio_codecs_api",
|
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-04-21 05:17:08 -07:00
|
|
|
|
|
|
|
|
# This is needed until bugs.webrtc.org/7504 is removed so this target can
|
|
|
|
|
# properly depend on ../media:rtc_media_base
|
|
|
|
|
# TODO(kjellander): Remove this dependency.
|
|
|
|
|
if (is_nacl) {
|
|
|
|
|
deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
|
|
|
|
|
}
|
2017-01-23 04:56:25 -08:00
|
|
|
}
|
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-02-25 18:15:09 -08:00
|
|
|
rtc_source_set("ortc_api") {
|
|
|
|
|
check_includes = false # TODO(deadbeef): Remove (bugs.webrtc.org/6828)
|
|
|
|
|
sources = [
|
2017-03-10 18:33:45 -08:00
|
|
|
"ortc/mediadescription.cc",
|
|
|
|
|
"ortc/mediadescription.h",
|
2017-02-25 18:15:09 -08:00
|
|
|
"ortc/ortcfactoryinterface.h",
|
|
|
|
|
"ortc/ortcrtpreceiverinterface.h",
|
|
|
|
|
"ortc/ortcrtpsenderinterface.h",
|
|
|
|
|
"ortc/packettransportinterface.h",
|
|
|
|
|
"ortc/rtptransportcontrollerinterface.h",
|
|
|
|
|
"ortc/rtptransportinterface.h",
|
2017-03-10 18:33:45 -08:00
|
|
|
"ortc/sessiondescription.cc",
|
|
|
|
|
"ortc/sessiondescription.h",
|
2017-03-03 14:39:06 -08:00
|
|
|
"ortc/srtptransportinterface.h",
|
2017-02-25 18:15:09 -08:00
|
|
|
"ortc/udptransportinterface.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# For mediastreaminterface.h, etc.
|
|
|
|
|
# TODO(deadbeef): Create a separate target for the common things ORTC and
|
|
|
|
|
# PeerConnection code shares, so that ortc_api can depend on that instead of
|
|
|
|
|
# libjingle_peerconnection_api.
|
|
|
|
|
public_deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
]
|
2017-03-10 18:33:45 -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-02-25 18:15:09 -08:00
|
|
|
}
|
|
|
|
|
|
2017-01-23 04:56:25 -08:00
|
|
|
# TODO(ossu): Remove once downstream projects have updated.
|
|
|
|
|
rtc_source_set("libjingle_peerconnection") {
|
2017-01-23 07:37:43 -08:00
|
|
|
public_deps = [
|
2017-01-23 04:56:25 -08:00
|
|
|
"../pc:libjingle_peerconnection",
|
|
|
|
|
]
|
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 12:08:33 -07:00
|
|
|
|
2016-09-15 23:33:01 -07:00
|
|
|
rtc_source_set("rtc_stats_api") {
|
|
|
|
|
cflags = []
|
|
|
|
|
sources = [
|
|
|
|
|
"stats/rtcstats.h",
|
|
|
|
|
"stats/rtcstats_objects.h",
|
2017-01-23 04:56:25 -08:00
|
|
|
"stats/rtcstatscollectorcallback.h",
|
2016-09-15 23:33:01 -07:00
|
|
|
"stats/rtcstatsreport.h",
|
|
|
|
|
]
|
|
|
|
|
|
2016-10-20 05:06:39 -07:00
|
|
|
deps = [
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("audio_mixer_api") {
|
|
|
|
|
sources = [
|
|
|
|
|
"audio/audio_mixer.h",
|
|
|
|
|
]
|
|
|
|
|
|
2016-09-15 23:33:01 -07:00
|
|
|
deps = [
|
|
|
|
|
"../base:rtc_base_approved",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2016-09-15 23:33:01 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-28 07:02:13 -08:00
|
|
|
rtc_source_set("transport_api") {
|
|
|
|
|
sources = [
|
|
|
|
|
"call/transport.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-12-02 04:01:14 -08:00
|
|
|
|
|
|
|
|
rtc_source_set("video_frame_api") {
|
|
|
|
|
sources = [
|
2017-01-10 07:44:26 -08:00
|
|
|
"video/i420_buffer.cc",
|
|
|
|
|
"video/i420_buffer.h",
|
|
|
|
|
"video/video_frame.cc",
|
|
|
|
|
"video/video_frame.h",
|
|
|
|
|
"video/video_frame_buffer.h",
|
2016-12-02 04:01:14 -08:00
|
|
|
"video/video_rotation.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../base:rtc_base_approved",
|
2017-01-10 07:44:26 -08:00
|
|
|
"../system_wrappers",
|
2016-12-02 04:01:14 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# TODO(nisse): This logic is duplicated in multiple places.
|
|
|
|
|
# Define in a single place.
|
|
|
|
|
if (rtc_build_libyuv) {
|
|
|
|
|
deps += [ "$rtc_libyuv_dir" ]
|
|
|
|
|
public_deps = [
|
|
|
|
|
"$rtc_libyuv_dir",
|
|
|
|
|
]
|
|
|
|
|
} else {
|
|
|
|
|
# Need to add a directory normally exported by libyuv.
|
|
|
|
|
include_dirs = [ "$rtc_libyuv_dir/include" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-06 00:29:21 -08:00
|
|
|
rtc_source_set("libjingle_peerconnection_test_api") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/fakeconstraints.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
if (rtc_include_tests) {
|
|
|
|
|
rtc_source_set("mock_audio_mixer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/mock_audio_mixer.h",
|
|
|
|
|
]
|
2016-06-13 12:08:33 -07:00
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
public_deps = [
|
|
|
|
|
":audio_mixer_api",
|
|
|
|
|
]
|
2016-06-13 12:08:33 -07:00
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
deps = [
|
|
|
|
|
"//testing/gmock",
|
|
|
|
|
"//webrtc/test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
2016-08-10 03:10:48 -07:00
|
|
|
|
2017-03-02 22:26:23 -08:00
|
|
|
rtc_source_set("fakemetricsobserver") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"fakemetricsobserver.cc",
|
|
|
|
|
"fakemetricsobserver.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
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-04 07:11:23 -08:00
|
|
|
}
|
2017-02-16 23:31:33 -08:00
|
|
|
|
2017-02-24 01:17:43 -08:00
|
|
|
rtc_source_set("rtc_api_unittests") {
|
2017-02-16 23:31:33 -08:00
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
|
|
|
|
# Skip restricting visibility on mobile platforms since the tests on those
|
|
|
|
|
# gets additional generated targets which would require many lines here to
|
|
|
|
|
# cover (which would be confusing to read and hard to maintain).
|
|
|
|
|
if (!is_android && !is_ios) {
|
|
|
|
|
visibility = [ "//webrtc:rtc_unittests" ]
|
|
|
|
|
}
|
2017-02-16 23:31:33 -08:00
|
|
|
sources = [
|
2017-03-10 18:33:45 -08:00
|
|
|
"ortc/mediadescription_unittest.cc",
|
|
|
|
|
"ortc/sessiondescription_unittest.cc",
|
2017-02-16 23:31:33 -08:00
|
|
|
"rtcerror_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
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 = [
|
|
|
|
|
":libjingle_peerconnection_api",
|
2017-03-10 18:33:45 -08:00
|
|
|
":ortc_api",
|
2017-02-24 01:17:43 -08:00
|
|
|
"//webrtc/test:test_support",
|
2017-02-16 23:31:33 -08:00
|
|
|
]
|
|
|
|
|
}
|
2016-06-13 12:08:33 -07:00
|
|
|
}
|