2016-02-23 13:30:42 +01:00
|
|
|
# Copyright (c) 2014 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-02-23 13:30:42 +01:00
|
|
|
|
2018-01-02 09:15:05 +01:00
|
|
|
config("bwe_test_logging") {
|
|
|
|
|
if (rtc_enable_bwe_test_logging) {
|
|
|
|
|
defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
|
|
|
|
|
} else {
|
|
|
|
|
defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("congestion_controller") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-01-02 09:15:05 +01:00
|
|
|
configs += [ ":bwe_test_logging" ]
|
2016-02-23 13:30:42 +01:00
|
|
|
sources = [
|
2018-02-15 16:51:41 +01:00
|
|
|
"include/network_changed_observer.h",
|
2017-03-21 06:41:12 -07:00
|
|
|
"include/receive_side_congestion_controller.h",
|
|
|
|
|
"include/send_side_congestion_controller.h",
|
2018-02-22 12:32:27 +01:00
|
|
|
"include/send_side_congestion_controller_interface.h",
|
2017-03-21 06:41:12 -07:00
|
|
|
"receive_side_congestion_controller.cc",
|
|
|
|
|
"send_side_congestion_controller.cc",
|
2016-02-23 13:30:42 +01:00
|
|
|
]
|
|
|
|
|
|
2017-12-19 09:33:40 +01: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" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-26 15:09:41 +01:00
|
|
|
":transport_feedback",
|
2017-12-20 13:13:32 +00:00
|
|
|
"..:module_api",
|
|
|
|
|
"../..:webrtc_common",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../../api:scoped_refptr",
|
2019-01-17 16:24:12 +01:00
|
|
|
"../../api/transport:field_trial_based_config",
|
2018-07-17 16:01:25 +02:00
|
|
|
"../../api/transport:network_control",
|
2019-01-17 16:24:12 +01:00
|
|
|
"../../api/transport:webrtc_key_value_config",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/units:data_rate",
|
|
|
|
|
"../../api/units:timestamp",
|
2017-12-19 09:33:40 +01:00
|
|
|
"../../rtc_base:checks",
|
2018-12-17 11:14:11 +01:00
|
|
|
"../../rtc_base:deprecation",
|
2017-12-20 13:13:32 +00:00
|
|
|
"../../rtc_base:rate_limiter",
|
2019-01-21 16:30:55 +01:00
|
|
|
"../../rtc_base/experiments:rate_control_settings",
|
2018-10-15 21:06:26 +02:00
|
|
|
"../../rtc_base/network:sent_packet",
|
2017-12-20 13:13:32 +00:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2017-12-20 13:13:32 +00:00
|
|
|
"../bitrate_controller",
|
2017-12-19 09:33:40 +01:00
|
|
|
"../pacing",
|
|
|
|
|
"../remote_bitrate_estimator",
|
2017-12-20 13:13:32 +00:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-07-02 09:25:25 +02:00
|
|
|
"goog_cc:delay_based_bwe",
|
2018-05-24 14:17:06 +02:00
|
|
|
"goog_cc:estimators",
|
2018-07-13 17:22:01 +02:00
|
|
|
"goog_cc:probe_controller",
|
2018-10-11 15:02:12 +02:00
|
|
|
"goog_cc:pushback_controller",
|
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-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-12-19 09:33:40 +01:00
|
|
|
]
|
2018-01-15 10:20:00 -05:00
|
|
|
|
|
|
|
|
if (!build_with_mozilla) {
|
|
|
|
|
deps += [ "../../rtc_base:rtc_base" ]
|
|
|
|
|
}
|
2017-12-19 09:33:40 +01:00
|
|
|
}
|
|
|
|
|
|
2018-01-26 15:09:41 +01:00
|
|
|
rtc_static_library("transport_feedback") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"transport_feedback_adapter.cc",
|
|
|
|
|
"transport_feedback_adapter.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-09-17 13:11:50 +02:00
|
|
|
"../../api/transport:network_control",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/units:data_size",
|
Revert "Revert "Revert "Reland "Moved congestion controller to task queue.""""
This reverts commit 65792c5a5c542201f7b9feefded505842692e6ed.
Reason for revert: <INSERT REASONING HERE>
Original change's description:
> Revert "Revert "Reland "Moved congestion controller to task queue."""
>
> This reverts commit 4e849f6925b2ac44b0957a228d7131fc391fca54.
>
> Reason for revert: <INSERT REASONING HERE>
>
> Original change's description:
> > Revert "Reland "Moved congestion controller to task queue.""
> >
> > This reverts commit 57daeb7ac7f3d80992905b53fea500953fcfd793.
> >
> > Reason for revert: Cause increased congestion and deadlocks in downstream project
> >
> > Original change's description:
> > > Reland "Moved congestion controller to task queue."
> > >
> > > This is a reland of 0cbcba7ea0dced1a7f353c64d6cf91d46ccb29f9.
> > >
> > > Original change's description:
> > > > Moved congestion controller to task queue.
> > > >
> > > > The goal of this work is to make it easier to experiment with the
> > > > bandwidth estimation implementation. For this reason network control
> > > > functionality is moved from SendSideCongestionController(SSCC),
> > > > PacedSender and BitrateController to the newly created
> > > > GoogCcNetworkController which implements the newly created
> > > > NetworkControllerInterface. This allows the implementation to be
> > > > replaced at runtime in the future.
> > > >
> > > > This is the first part of a split of a larger CL, see:
> > > > https://webrtc-review.googlesource.com/c/src/+/39788/8
> > > > For further explanations.
> > > >
> > > > Bug: webrtc:8415
> > > > Change-Id: I770189c04cc31b313bd4e57821acff55fbcb1ad3
> > > > Reviewed-on: https://webrtc-review.googlesource.com/43840
> > > > Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> > > > Reviewed-by: Björn Terelius <terelius@webrtc.org>
> > > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > > Cr-Commit-Position: refs/heads/master@{#21868}
> > >
> > > Bug: webrtc:8415
> > > Change-Id: I1d1756a30deed5b421b1c91c1918a13b6bb455da
> > > Reviewed-on: https://webrtc-review.googlesource.com/48000
> > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> > > Cr-Commit-Position: refs/heads/master@{#21899}
> >
> > TBR=terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
> >
> > # Not skipping CQ checks because original CL landed > 1 day ago.
> >
> > Bug: webrtc:8415
> > Change-Id: Ida8074dcac2cc28b3629228eb22846d8a8e81b83
> > Reviewed-on: https://webrtc-review.googlesource.com/52980
> > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
> > Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22017}
>
> TBR=danilchap@webrtc.org,terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
>
> Change-Id: I3393b74370c4f4d0955f50728005b2b925be169b
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8415
> Reviewed-on: https://webrtc-review.googlesource.com/53262
> Reviewed-by: Sebastian Jansson <srte@webrtc.org>
> Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22023}
TBR=danilchap@webrtc.org,terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
Change-Id: Id68ad986ee51142b7be3381d0793709b4392fe2c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8415
Reviewed-on: https://webrtc-review.googlesource.com/53360
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22024}
2018-02-14 16:53:38 +00:00
|
|
|
"../../modules:module_api",
|
2018-02-14 09:08:28 +00:00
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
Revert "Revert "Revert "Reland "Moved congestion controller to task queue.""""
This reverts commit 65792c5a5c542201f7b9feefded505842692e6ed.
Reason for revert: <INSERT REASONING HERE>
Original change's description:
> Revert "Revert "Reland "Moved congestion controller to task queue."""
>
> This reverts commit 4e849f6925b2ac44b0957a228d7131fc391fca54.
>
> Reason for revert: <INSERT REASONING HERE>
>
> Original change's description:
> > Revert "Reland "Moved congestion controller to task queue.""
> >
> > This reverts commit 57daeb7ac7f3d80992905b53fea500953fcfd793.
> >
> > Reason for revert: Cause increased congestion and deadlocks in downstream project
> >
> > Original change's description:
> > > Reland "Moved congestion controller to task queue."
> > >
> > > This is a reland of 0cbcba7ea0dced1a7f353c64d6cf91d46ccb29f9.
> > >
> > > Original change's description:
> > > > Moved congestion controller to task queue.
> > > >
> > > > The goal of this work is to make it easier to experiment with the
> > > > bandwidth estimation implementation. For this reason network control
> > > > functionality is moved from SendSideCongestionController(SSCC),
> > > > PacedSender and BitrateController to the newly created
> > > > GoogCcNetworkController which implements the newly created
> > > > NetworkControllerInterface. This allows the implementation to be
> > > > replaced at runtime in the future.
> > > >
> > > > This is the first part of a split of a larger CL, see:
> > > > https://webrtc-review.googlesource.com/c/src/+/39788/8
> > > > For further explanations.
> > > >
> > > > Bug: webrtc:8415
> > > > Change-Id: I770189c04cc31b313bd4e57821acff55fbcb1ad3
> > > > Reviewed-on: https://webrtc-review.googlesource.com/43840
> > > > Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> > > > Reviewed-by: Björn Terelius <terelius@webrtc.org>
> > > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > > Cr-Commit-Position: refs/heads/master@{#21868}
> > >
> > > Bug: webrtc:8415
> > > Change-Id: I1d1756a30deed5b421b1c91c1918a13b6bb455da
> > > Reviewed-on: https://webrtc-review.googlesource.com/48000
> > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> > > Cr-Commit-Position: refs/heads/master@{#21899}
> >
> > TBR=terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
> >
> > # Not skipping CQ checks because original CL landed > 1 day ago.
> >
> > Bug: webrtc:8415
> > Change-Id: Ida8074dcac2cc28b3629228eb22846d8a8e81b83
> > Reviewed-on: https://webrtc-review.googlesource.com/52980
> > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
> > Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22017}
>
> TBR=danilchap@webrtc.org,terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
>
> Change-Id: I3393b74370c4f4d0955f50728005b2b925be169b
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8415
> Reviewed-on: https://webrtc-review.googlesource.com/53262
> Reviewed-by: Sebastian Jansson <srte@webrtc.org>
> Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22023}
TBR=danilchap@webrtc.org,terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
Change-Id: Id68ad986ee51142b7be3381d0793709b4392fe2c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8415
Reviewed-on: https://webrtc-review.googlesource.com/53360
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22024}
2018-02-14 16:53:38 +00:00
|
|
|
"../../system_wrappers:system_wrappers",
|
2018-02-14 09:08:28 +00:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-05-24 14:17:06 +02:00
|
|
|
"rtp:transport_feedback",
|
2018-02-14 09:08:28 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-19 08:27:11 -08:00
|
|
|
if (rtc_include_tests) {
|
2018-07-03 18:11:45 +02:00
|
|
|
rtc_source_set("test_controller_printer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/controller_printer.cc",
|
|
|
|
|
"test/controller_printer.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 = [
|
|
|
|
|
"../../api/transport:network_control",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../../api/units:data_rate",
|
|
|
|
|
"../../api/units:data_size",
|
|
|
|
|
"../../api/units:time_delta",
|
|
|
|
|
"../../api/units:timestamp",
|
2018-07-03 18:11:45 +02:00
|
|
|
"../../rtc_base:checks",
|
2019-01-16 17:25:44 +01:00
|
|
|
"../../test/logging:log_writer",
|
2018-11-28 16:47:49 +01:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-07-03 18:11:45 +02:00
|
|
|
]
|
|
|
|
|
}
|
2017-01-19 08:27:11 -08:00
|
|
|
rtc_source_set("congestion_controller_unittests") {
|
|
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2017-01-19 08:27:11 -08:00
|
|
|
sources = [
|
2017-08-21 10:45:07 +02:00
|
|
|
"receive_side_congestion_controller_unittest.cc",
|
|
|
|
|
"send_side_congestion_controller_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"transport_feedback_adapter_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":congestion_controller",
|
2017-05-08 11:52:38 -07:00
|
|
|
":mock_congestion_controller",
|
2018-01-26 15:09:41 +01:00
|
|
|
":transport_feedback",
|
2018-01-03 09:08:20 +01:00
|
|
|
"../../logging:mocks",
|
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",
|
2018-10-15 21:06:26 +02:00
|
|
|
"../../rtc_base/network:sent_packet",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../test:field_trial",
|
|
|
|
|
"../../test:test_support",
|
Revert "Revert "Revert "Reland "Moved congestion controller to task queue.""""
This reverts commit 65792c5a5c542201f7b9feefded505842692e6ed.
Reason for revert: <INSERT REASONING HERE>
Original change's description:
> Revert "Revert "Reland "Moved congestion controller to task queue."""
>
> This reverts commit 4e849f6925b2ac44b0957a228d7131fc391fca54.
>
> Reason for revert: <INSERT REASONING HERE>
>
> Original change's description:
> > Revert "Reland "Moved congestion controller to task queue.""
> >
> > This reverts commit 57daeb7ac7f3d80992905b53fea500953fcfd793.
> >
> > Reason for revert: Cause increased congestion and deadlocks in downstream project
> >
> > Original change's description:
> > > Reland "Moved congestion controller to task queue."
> > >
> > > This is a reland of 0cbcba7ea0dced1a7f353c64d6cf91d46ccb29f9.
> > >
> > > Original change's description:
> > > > Moved congestion controller to task queue.
> > > >
> > > > The goal of this work is to make it easier to experiment with the
> > > > bandwidth estimation implementation. For this reason network control
> > > > functionality is moved from SendSideCongestionController(SSCC),
> > > > PacedSender and BitrateController to the newly created
> > > > GoogCcNetworkController which implements the newly created
> > > > NetworkControllerInterface. This allows the implementation to be
> > > > replaced at runtime in the future.
> > > >
> > > > This is the first part of a split of a larger CL, see:
> > > > https://webrtc-review.googlesource.com/c/src/+/39788/8
> > > > For further explanations.
> > > >
> > > > Bug: webrtc:8415
> > > > Change-Id: I770189c04cc31b313bd4e57821acff55fbcb1ad3
> > > > Reviewed-on: https://webrtc-review.googlesource.com/43840
> > > > Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> > > > Reviewed-by: Björn Terelius <terelius@webrtc.org>
> > > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > > Cr-Commit-Position: refs/heads/master@{#21868}
> > >
> > > Bug: webrtc:8415
> > > Change-Id: I1d1756a30deed5b421b1c91c1918a13b6bb455da
> > > Reviewed-on: https://webrtc-review.googlesource.com/48000
> > > Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> > > Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> > > Cr-Commit-Position: refs/heads/master@{#21899}
> >
> > TBR=terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
> >
> > # Not skipping CQ checks because original CL landed > 1 day ago.
> >
> > Bug: webrtc:8415
> > Change-Id: Ida8074dcac2cc28b3629228eb22846d8a8e81b83
> > Reviewed-on: https://webrtc-review.googlesource.com/52980
> > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
> > Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22017}
>
> TBR=danilchap@webrtc.org,terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
>
> Change-Id: I3393b74370c4f4d0955f50728005b2b925be169b
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:8415
> Reviewed-on: https://webrtc-review.googlesource.com/53262
> Reviewed-by: Sebastian Jansson <srte@webrtc.org>
> Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22023}
TBR=danilchap@webrtc.org,terelius@webrtc.org,stefan@webrtc.org,srte@webrtc.org
Change-Id: Id68ad986ee51142b7be3381d0793709b4392fe2c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8415
Reviewed-on: https://webrtc-review.googlesource.com/53360
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22024}
2018-02-14 16:53:38 +00:00
|
|
|
"../bitrate_controller:bitrate_controller",
|
2018-01-02 14:20:17 +01:00
|
|
|
"../bitrate_controller:mocks",
|
2017-09-04 04:57:11 -07:00
|
|
|
"../pacing:mock_paced_sender",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../pacing:pacing",
|
|
|
|
|
"../remote_bitrate_estimator:remote_bitrate_estimator",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-03-22 15:34:01 +01:00
|
|
|
"bbr:bbr_unittests",
|
2018-05-24 14:17:06 +02:00
|
|
|
"goog_cc:estimators",
|
2018-02-28 16:48:00 +01:00
|
|
|
"goog_cc:goog_cc_unittests",
|
2018-08-21 16:11:50 +02:00
|
|
|
"pcc:pcc_unittests",
|
2018-02-28 13:07:28 +01:00
|
|
|
"rtp:congestion_controller_unittests",
|
2017-01-19 08:27:11 -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-05-08 11:52:38 -07:00
|
|
|
|
|
|
|
|
rtc_source_set("mock_congestion_controller") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"include/mock/mock_congestion_observer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":congestion_controller",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-01-19 08:27:11 -08:00
|
|
|
}
|