
This is a no-op change because rtc::Optional is an alias to absl::optional This CL generated by running script with parameter 'rtc_base' Then manually fix where Optional was used without rtc prefix (patchset#3) find $@ -type f \( -name \*.h -o -name \*.cc \) \ -exec sed -i 's|rtc::Optional|absl::optional|g' {} \+ \ -exec sed -i 's|rtc::nullopt|absl::nullopt|g' {} \+ \ -exec sed -i 's|#include "api/optional.h"|#include "absl/types/optional.h"|' {} \+ find $@ -type f -name BUILD.gn \ -exec sed -r -i 's|"[\./api]*:optional"|"//third_party/abseil-cpp/absl/types:optional"|' {} \+; git cl format Bug: webrtc:9078 Change-Id: I825f80cc8089747876ba6316d9e7c30e05716974 Reviewed-on: https://webrtc-review.googlesource.com/84585 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23700}
87 lines
2.3 KiB
Plaintext
87 lines
2.3 KiB
Plaintext
# 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")
|
|
|
|
rtc_static_library("alr_experiment") {
|
|
sources = [
|
|
"alr_experiment.cc",
|
|
"alr_experiment.h",
|
|
]
|
|
deps = [
|
|
"../:rtc_base_approved",
|
|
"../../system_wrappers:field_trial_api",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|
|
|
|
rtc_static_library("field_trial_parser") {
|
|
sources = [
|
|
"field_trial_parser.cc",
|
|
"field_trial_parser.h",
|
|
"field_trial_units.cc",
|
|
"field_trial_units.h",
|
|
]
|
|
deps = [
|
|
"../:rtc_base_approved",
|
|
"../../api/units:data_rate",
|
|
"../../api/units:data_size",
|
|
"../../api/units:time_delta",
|
|
"../../system_wrappers:field_trial_api",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|
|
|
|
rtc_static_library("congestion_controller_experiment") {
|
|
sources = [
|
|
"congestion_controller_experiment.cc",
|
|
"congestion_controller_experiment.h",
|
|
]
|
|
deps = [
|
|
"../:rtc_base_approved",
|
|
"../../system_wrappers:field_trial_api",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|
|
|
|
rtc_static_library("quality_scaling_experiment") {
|
|
sources = [
|
|
"quality_scaling_experiment.cc",
|
|
"quality_scaling_experiment.h",
|
|
]
|
|
deps = [
|
|
"../:rtc_base_approved",
|
|
"../..:webrtc_common",
|
|
"../../api/video_codecs:video_codecs_api",
|
|
"../../system_wrappers:field_trial_api",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|
|
|
|
if (rtc_include_tests) {
|
|
rtc_source_set("experiments_unittests") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"congestion_controller_experiment_unittest.cc",
|
|
"field_trial_parser_unittest.cc",
|
|
"field_trial_units_unittest.cc",
|
|
"quality_scaling_experiment_unittest.cc",
|
|
]
|
|
deps = [
|
|
":congestion_controller_experiment",
|
|
":field_trial_parser",
|
|
":quality_scaling_experiment",
|
|
"../:rtc_base_tests_main",
|
|
"../:rtc_base_tests_utils",
|
|
"../../system_wrappers:field_trial_api",
|
|
"../../test:field_trial",
|
|
]
|
|
}
|
|
}
|