2018-02-28 16:48:00 +01:00
|
|
|
# Copyright (c) 2018 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.
|
|
|
|
|
|
|
|
|
|
import("../../../webrtc.gni")
|
|
|
|
|
|
|
|
|
|
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" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("goog_cc") {
|
2018-09-06 15:03:52 +02:00
|
|
|
configs += [ ":bwe_test_logging" ]
|
2018-02-28 16:48:00 +01:00
|
|
|
sources = [
|
|
|
|
|
"goog_cc_factory.cc",
|
|
|
|
|
"goog_cc_network_control.cc",
|
|
|
|
|
"goog_cc_network_control.h",
|
|
|
|
|
"include/goog_cc_factory.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-06-25 17:56:08 +02:00
|
|
|
":alr_detector",
|
2018-02-28 16:48:00 +01:00
|
|
|
":delay_based_bwe",
|
|
|
|
|
":estimators",
|
2018-07-13 17:22:01 +02:00
|
|
|
":probe_controller",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../..:module_api",
|
|
|
|
|
"../../..:webrtc_common",
|
2018-05-09 10:33:39 +02:00
|
|
|
"../../../api/transport:network_control",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../../logging:rtc_event_log_api",
|
|
|
|
|
"../../../logging:rtc_event_pacing",
|
|
|
|
|
"../../../rtc_base:checks",
|
|
|
|
|
"../../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../../rtc_base/experiments:alr_experiment",
|
2018-09-10 18:27:21 +02:00
|
|
|
"../../../rtc_base/experiments:field_trial_parser",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../../system_wrappers:field_trial",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../bitrate_controller",
|
|
|
|
|
"../../remote_bitrate_estimator",
|
|
|
|
|
"../../rtp_rtcp:rtp_rtcp_format",
|
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-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-02-28 16:48:00 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-25 17:56:08 +02:00
|
|
|
rtc_source_set("alr_detector") {
|
|
|
|
|
sources = [
|
|
|
|
|
"alr_detector.cc",
|
|
|
|
|
"alr_detector.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../..:webrtc_common",
|
|
|
|
|
"../../../logging:rtc_event_log_api",
|
|
|
|
|
"../../../logging:rtc_event_pacing",
|
|
|
|
|
"../../../rtc_base:checks",
|
|
|
|
|
"../../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../../rtc_base/experiments:alr_experiment",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../../system_wrappers:field_trial",
|
2018-06-25 17:56:08 +02:00
|
|
|
"../../pacing:interval_budget",
|
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-25 17:56:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-02-28 16:48:00 +01:00
|
|
|
rtc_source_set("estimators") {
|
|
|
|
|
configs += [ ":bwe_test_logging" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"acknowledged_bitrate_estimator.cc",
|
|
|
|
|
"acknowledged_bitrate_estimator.h",
|
|
|
|
|
"bitrate_estimator.cc",
|
|
|
|
|
"bitrate_estimator.h",
|
|
|
|
|
"delay_increase_detector_interface.h",
|
|
|
|
|
"median_slope_estimator.cc",
|
|
|
|
|
"median_slope_estimator.h",
|
|
|
|
|
"probe_bitrate_estimator.cc",
|
|
|
|
|
"probe_bitrate_estimator.h",
|
|
|
|
|
"trendline_estimator.cc",
|
|
|
|
|
"trendline_estimator.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../../logging:rtc_event_bwe",
|
|
|
|
|
"../../../logging:rtc_event_log_api",
|
|
|
|
|
"../../../rtc_base:checks",
|
|
|
|
|
"../../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../../rtc_base:rtc_numerics",
|
2018-03-07 14:18:56 +01:00
|
|
|
"../../../rtc_base:safe_minmax",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../../system_wrappers:field_trial",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../remote_bitrate_estimator",
|
|
|
|
|
"../../rtp_rtcp:rtp_rtcp_format",
|
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-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-02-28 16:48:00 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("delay_based_bwe") {
|
|
|
|
|
configs += [ ":bwe_test_logging" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"delay_based_bwe.cc",
|
|
|
|
|
"delay_based_bwe.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":estimators",
|
|
|
|
|
"../../../logging:rtc_event_bwe",
|
|
|
|
|
"../../../logging:rtc_event_log_api",
|
|
|
|
|
"../../../rtc_base:checks",
|
|
|
|
|
"../../../rtc_base:rtc_base_approved",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../../system_wrappers:field_trial",
|
|
|
|
|
"../../../system_wrappers:metrics",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../pacing",
|
|
|
|
|
"../../remote_bitrate_estimator",
|
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-02-28 16:48:00 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-07-13 17:22:01 +02:00
|
|
|
rtc_source_set("probe_controller") {
|
|
|
|
|
sources = [
|
|
|
|
|
"probe_controller.cc",
|
|
|
|
|
"probe_controller.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../../api/transport:network_control",
|
|
|
|
|
"../../../logging:rtc_event_log_api",
|
|
|
|
|
"../../../logging:rtc_event_pacing",
|
|
|
|
|
"../../../rtc_base:checks",
|
|
|
|
|
"../../../rtc_base:rtc_base_approved",
|
2018-08-02 16:27:28 +02:00
|
|
|
"../../../rtc_base/system:unused",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../../system_wrappers:field_trial",
|
|
|
|
|
"../../../system_wrappers:metrics",
|
2018-07-13 17:22:01 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-02-28 16:48:00 +01:00
|
|
|
if (rtc_include_tests) {
|
2018-07-03 18:11:45 +02:00
|
|
|
rtc_source_set("test_goog_cc_printer") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"test/goog_cc_printer.cc",
|
|
|
|
|
"test/goog_cc_printer.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2018-09-04 18:55:14 +02:00
|
|
|
":estimators",
|
2018-07-03 18:11:45 +02:00
|
|
|
":goog_cc",
|
|
|
|
|
"..:test_controller_printer",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-02-28 16:48:00 +01:00
|
|
|
rtc_source_set("goog_cc_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"acknowledged_bitrate_estimator_unittest.cc",
|
|
|
|
|
"alr_detector_unittest.cc",
|
|
|
|
|
"delay_based_bwe_unittest.cc",
|
|
|
|
|
"delay_based_bwe_unittest_helper.cc",
|
|
|
|
|
"delay_based_bwe_unittest_helper.h",
|
2018-08-30 14:57:40 +02:00
|
|
|
"goog_cc_network_control_unittest.cc",
|
2018-02-28 16:48:00 +01:00
|
|
|
"median_slope_estimator_unittest.cc",
|
|
|
|
|
"probe_bitrate_estimator_unittest.cc",
|
|
|
|
|
"probe_controller_unittest.cc",
|
|
|
|
|
"trendline_estimator_unittest.cc",
|
|
|
|
|
]
|
2018-09-27 19:08:21 +02:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
2018-02-28 16:48:00 +01:00
|
|
|
deps = [
|
2018-06-25 17:56:08 +02:00
|
|
|
":alr_detector",
|
2018-02-28 16:48:00 +01:00
|
|
|
":delay_based_bwe",
|
|
|
|
|
":estimators",
|
|
|
|
|
":goog_cc",
|
2018-07-13 17:22:01 +02:00
|
|
|
":probe_controller",
|
2018-05-09 10:33:39 +02:00
|
|
|
"../../../api/transport:network_control",
|
|
|
|
|
"../../../api/transport:network_control_test",
|
2018-08-30 14:57:40 +02:00
|
|
|
"../../../logging:mocks",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../../rtc_base:checks",
|
|
|
|
|
"../../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../../rtc_base:rtc_base_tests_utils",
|
|
|
|
|
"../../../rtc_base/experiments:alr_experiment",
|
|
|
|
|
"../../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../../system_wrappers:field_trial",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../../test:field_trial",
|
|
|
|
|
"../../../test:test_support",
|
2018-09-27 19:08:21 +02:00
|
|
|
"../../../test/scenario",
|
2018-02-28 16:48:00 +01:00
|
|
|
"../../pacing",
|
|
|
|
|
"../../remote_bitrate_estimator",
|
|
|
|
|
"../../rtp_rtcp:rtp_rtcp_format",
|
|
|
|
|
"//testing/gmock",
|
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-02-28 16:48:00 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|