Remove rtc_base:rtc_base_approved

It's now empty, let's remove it!

Bug: webrtc:9838
Change-Id: I4b3310e882ea95fdf47903f9ad31e2efb35703f2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261242
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36774}
This commit is contained in:
Florent Castelli 2022-05-05 00:47:10 +02:00 committed by WebRTC LUCI CQ
parent e3b74f8e61
commit 26d12fcc71
8 changed files with 2 additions and 45 deletions

View file

@ -1,6 +1,6 @@
specific_include_rules = { specific_include_rules = {
"resource\.h": [ "resource\.h": [
# ref_count.h is a public_deps of rtc_base_approved. Necessary because of # ref_count.h is a public_deps of rtc_base:refcount. Necessary because of
# rtc::RefCountInterface. # rtc::RefCountInterface.
"+rtc_base/ref_count.h", "+rtc_base/ref_count.h",
], ],

View file

@ -118,7 +118,6 @@ rtc_source_set("windows_core_audio_utility") {
"../../rtc_base:logging", "../../rtc_base:logging",
"../../rtc_base:macromagic", "../../rtc_base:macromagic",
"../../rtc_base:platform_thread_types", "../../rtc_base:platform_thread_types",
"../../rtc_base:rtc_base_approved",
"../../rtc_base:stringutils", "../../rtc_base:stringutils",
"../../rtc_base/win:windows_version", "../../rtc_base/win:windows_version",
] ]
@ -161,7 +160,6 @@ rtc_source_set("audio_device_module_from_input_and_output") {
"../../rtc_base:macromagic", "../../rtc_base:macromagic",
"../../rtc_base:platform_thread", "../../rtc_base:platform_thread",
"../../rtc_base:refcount", "../../rtc_base:refcount",
"../../rtc_base:rtc_base_approved",
"../../rtc_base:safe_conversions", "../../rtc_base:safe_conversions",
"../../rtc_base:stringutils", "../../rtc_base:stringutils",
"../../rtc_base:timeutils", "../../rtc_base:timeutils",
@ -425,7 +423,6 @@ if (rtc_include_tests && !build_with_chromium) {
"../../rtc_base:logging", "../../rtc_base:logging",
"../../rtc_base:macromagic", "../../rtc_base:macromagic",
"../../rtc_base:race_checker", "../../rtc_base:race_checker",
"../../rtc_base:rtc_base_approved",
"../../rtc_base:rtc_event", "../../rtc_base:rtc_event",
"../../rtc_base:safe_conversions", "../../rtc_base:safe_conversions",
"../../rtc_base:timeutils", "../../rtc_base:timeutils",

View file

@ -587,9 +587,7 @@ rtc_library("desktop_capture_generic") {
deps += [ "../../rtc_base:sanitizer" ] deps += [ "../../rtc_base:sanitizer" ]
} }
if (build_with_mozilla) { if (!build_with_mozilla) {
deps += [ "../../rtc_base:rtc_base_approved" ]
} else {
deps += [ "//third_party/libyuv" ] deps += [ "//third_party/libyuv" ]
} }

View file

@ -75,13 +75,6 @@ rtc_source_set("callback_list") {
] ]
} }
# The subset of rtc_base approved for use outside of libjingle.
# TODO(bugs.webrtc.org/9838): Create small and focused build targets and remove
# the old concept of rtc_base and rtc_base_approved.
rtc_source_set("rtc_base_approved") {
visibility = [ "*" ]
}
rtc_source_set("buffer") { rtc_source_set("buffer") {
visibility = [ "*" ] visibility = [ "*" ]
sources = [ "buffer.h" ] sources = [ "buffer.h" ]
@ -495,7 +488,6 @@ rtc_library("rate_limiter") {
deps = [ deps = [
":macromagic", ":macromagic",
":rate_statistics", ":rate_statistics",
":rtc_base_approved",
"../system_wrappers", "../system_wrappers",
"synchronization:mutex", "synchronization:mutex",
] ]
@ -760,7 +752,6 @@ rtc_library("rtc_numerics") {
deps = [ deps = [
":checks", ":checks",
":mod_ops", ":mod_ops",
":rtc_base_approved",
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
} }
@ -853,7 +844,6 @@ rtc_library("ip_address") {
deps = [ deps = [
":byte_order", ":byte_order",
":net_helpers", ":net_helpers",
":rtc_base_approved",
":stringutils", ":stringutils",
"system:rtc_export", "system:rtc_export",
] ]
@ -875,7 +865,6 @@ rtc_library("socket_address") {
":ip_address", ":ip_address",
":logging", ":logging",
":net_helpers", ":net_helpers",
":rtc_base_approved",
":safe_conversions", ":safe_conversions",
":stringutils", ":stringutils",
"system:rtc_export", "system:rtc_export",
@ -946,7 +935,6 @@ rtc_library("threading") {
":platform_thread", ":platform_thread",
":platform_thread_types", ":platform_thread_types",
":refcount", ":refcount",
":rtc_base_approved",
":rtc_event", ":rtc_event",
":rtc_task_queue", ":rtc_task_queue",
":socket_address", ":socket_address",
@ -1045,7 +1033,6 @@ if (is_win) {
":checks", ":checks",
":logging", ":logging",
":macromagic", ":macromagic",
":rtc_base_approved",
":stringutils", ":stringutils",
] ]
@ -1122,7 +1109,6 @@ rtc_library("rtc_base") {
"//third_party/abseil-cpp/absl/strings", "//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/types:optional", "//third_party/abseil-cpp/absl/types:optional",
] ]
public_deps = [ ":rtc_base_approved" ] # no-presubmit-check TODO(webrtc:8603)
public_configs = [] public_configs = []
sources = [ sources = [
@ -1415,7 +1401,6 @@ rtc_library("task_queue_for_test") {
":checks", ":checks",
":location", ":location",
":macromagic", ":macromagic",
":rtc_base_approved",
":rtc_event", ":rtc_event",
":rtc_task_queue", ":rtc_task_queue",
"../api/task_queue", "../api/task_queue",
@ -1455,7 +1440,6 @@ if (rtc_include_tests) {
deps = [ deps = [
":gunit_helpers", ":gunit_helpers",
":rtc_base", ":rtc_base",
":rtc_base_approved",
":rtc_event", ":rtc_event",
":rtc_operations_chain", ":rtc_operations_chain",
":threading", ":threading",
@ -1585,7 +1569,6 @@ if (rtc_include_tests) {
":rate_tracker", ":rate_tracker",
":refcount", ":refcount",
":rtc_base", ":rtc_base",
":rtc_base_approved",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
":rtc_event", ":rtc_event",
":rtc_numerics", ":rtc_numerics",
@ -1640,7 +1623,6 @@ if (rtc_include_tests) {
sources = [ "task_queue_unittest.cc" ] sources = [ "task_queue_unittest.cc" ]
deps = [ deps = [
":gunit_helpers", ":gunit_helpers",
":rtc_base_approved",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
":rtc_event", ":rtc_event",
":rtc_task_queue", ":rtc_task_queue",
@ -1658,7 +1640,6 @@ if (rtc_include_tests) {
sources = [ "weak_ptr_unittest.cc" ] sources = [ "weak_ptr_unittest.cc" ]
deps = [ deps = [
":gunit_helpers", ":gunit_helpers",
":rtc_base_approved",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
":rtc_event", ":rtc_event",
":task_queue_for_test", ":task_queue_for_test",
@ -1681,7 +1662,6 @@ if (rtc_include_tests) {
"numerics/sequence_number_util_unittest.cc", "numerics/sequence_number_util_unittest.cc",
] ]
deps = [ deps = [
":rtc_base_approved",
":rtc_numerics", ":rtc_numerics",
"../test:test_main", "../test:test_main",
"../test:test_support", "../test:test_support",
@ -1739,7 +1719,6 @@ if (rtc_include_tests) {
":null_socket_server", ":null_socket_server",
":refcount", ":refcount",
":rtc_base", ":rtc_base",
":rtc_base_approved",
":rtc_base_tests_utils", ":rtc_base_tests_utils",
":rtc_event", ":rtc_event",
":safe_conversions", ":safe_conversions",

View file

@ -15,7 +15,6 @@ rtc_library("alr_experiment") {
] ]
deps = [ deps = [
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../api:field_trials_view", "../../api:field_trials_view",
"../../api/transport:field_trial_based_config", "../../api/transport:field_trial_based_config",
] ]
@ -60,7 +59,6 @@ rtc_library("quality_rampup_experiment") {
deps = [ deps = [
":field_trial_parser", ":field_trial_parser",
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../api:field_trials_view", "../../api:field_trials_view",
"../../api/transport:field_trial_based_config", "../../api/transport:field_trial_based_config",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
@ -76,7 +74,6 @@ rtc_library("quality_scaler_settings") {
deps = [ deps = [
":field_trial_parser", ":field_trial_parser",
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../api:field_trials_view", "../../api:field_trials_view",
"../../api/transport:field_trial_based_config", "../../api/transport:field_trial_based_config",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
@ -92,7 +89,6 @@ rtc_library("bandwidth_quality_scaler_settings") {
deps = [ deps = [
":field_trial_parser", ":field_trial_parser",
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../api:field_trials_view", "../../api:field_trials_view",
"../../api/transport:field_trial_based_config", "../../api/transport:field_trial_based_config",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
@ -107,7 +103,6 @@ rtc_library("quality_scaling_experiment") {
] ]
deps = [ deps = [
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../api/video_codecs:video_codecs_api", "../../api/video_codecs:video_codecs_api",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
] ]
@ -121,7 +116,6 @@ rtc_library("normalize_simulcast_size_experiment") {
] ]
deps = [ deps = [
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
@ -135,7 +129,6 @@ rtc_library("balanced_degradation_settings") {
deps = [ deps = [
":field_trial_parser", ":field_trial_parser",
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../api:field_trials_view", "../../api:field_trials_view",
"../../api/video_codecs:video_codecs_api", "../../api/video_codecs:video_codecs_api",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
@ -151,7 +144,6 @@ rtc_library("cpu_speed_experiment") {
deps = [ deps = [
":field_trial_parser", ":field_trial_parser",
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
@ -165,7 +157,6 @@ rtc_library("encoder_info_settings") {
deps = [ deps = [
":field_trial_parser", ":field_trial_parser",
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../api/video_codecs:video_codecs_api", "../../api/video_codecs:video_codecs_api",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
] ]
@ -182,7 +173,6 @@ rtc_library("rtt_mult_experiment") {
] ]
deps = [ deps = [
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
@ -195,7 +185,6 @@ rtc_library("jitter_upper_bound_experiment") {
] ]
deps = [ deps = [
"..:logging", "..:logging",
"../:rtc_base_approved",
"../../system_wrappers:field_trial", "../../system_wrappers:field_trial",
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
@ -210,7 +199,6 @@ rtc_library("rate_control_settings") {
":field_trial_parser", ":field_trial_parser",
"..:logging", "..:logging",
"..:safe_conversions", "..:safe_conversions",
"../:rtc_base_approved",
"../../api:field_trials_view", "../../api:field_trials_view",
"../../api/transport:field_trial_based_config", "../../api/transport:field_trial_based_config",
"../../api/units:data_size", "../../api/units:data_size",

View file

@ -57,7 +57,6 @@ if (rtc_include_tests) {
":pending_task_safety_flag", ":pending_task_safety_flag",
":to_queued_task", ":to_queued_task",
"..:logging", "..:logging",
"..:rtc_base_approved",
"..:rtc_event", "..:rtc_event",
"..:rtc_task_queue", "..:rtc_task_queue",
"..:task_queue_for_test", "..:task_queue_for_test",
@ -71,7 +70,6 @@ if (rtc_include_tests) {
deps = [ deps = [
":repeating_task", ":repeating_task",
":to_queued_task", ":to_queued_task",
"..:rtc_base_approved",
"..:rtc_event", "..:rtc_event",
"..:rtc_task_queue", "..:rtc_task_queue",
"..:task_queue_for_test", "..:task_queue_for_test",

View file

@ -1678,7 +1678,6 @@ if (is_ios || is_mac) {
"../rtc_base:buffer", "../rtc_base:buffer",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:logging", "../rtc_base:logging",
"../rtc_base:rtc_base_approved",
] ]
} }
@ -1718,7 +1717,6 @@ if (is_ios || is_mac) {
"../rtc_base:buffer", "../rtc_base:buffer",
"../rtc_base:checks", "../rtc_base:checks",
"../rtc_base:logging", "../rtc_base:logging",
"../rtc_base:rtc_base_approved",
"../rtc_base:timeutils", "../rtc_base:timeutils",
"//third_party/libyuv", "//third_party/libyuv",
] ]

View file

@ -589,7 +589,6 @@ if (rtc_include_tests) {
"../modules/video_coding:webrtc_vp9", "../modules/video_coding:webrtc_vp9",
"../rtc_base:macromagic", "../rtc_base:macromagic",
"../rtc_base:platform_thread", "../rtc_base:platform_thread",
"../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_utils", "../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_event", "../rtc_base:rtc_event",
"../rtc_base:rtc_numerics", "../rtc_base:rtc_numerics",