Move buffer_queue out of rtc_base_approved

Bug: webrtc:9838
Change-Id: I472223685b15c46cd351fd6d9ddec837d898a0db
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/259308
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36632}
This commit is contained in:
Florent Castelli
2022-04-19 17:14:26 +02:00
committed by WebRTC LUCI CQ
parent f18841a843
commit 7606375b1a
2 changed files with 19 additions and 2 deletions

View File

@ -103,6 +103,7 @@ rtc_library("rtc_p2p") {
"../rtc_base",
"../rtc_base:async_resolver_interface",
"../rtc_base:buffer",
"../rtc_base:buffer_queue",
"../rtc_base:callback_list",
"../rtc_base:checks",
"../rtc_base:ip_address",

View File

@ -84,6 +84,7 @@ rtc_library("rtc_base_approved") {
":atomicops",
":bit_buffer",
":buffer",
":buffer_queue",
":checks",
":histogram_percentile_counter",
":location",
@ -129,8 +130,7 @@ rtc_library("rtc_base_approved") {
sources = [
"bit_buffer.h", # Transitional, use :bit_buffer
"buffer.h", # Transitional, use :buffer
"buffer_queue.cc",
"buffer_queue.h",
"buffer_queue.h", # Transitional, use :buffer_queue
"byte_buffer.cc",
"byte_buffer.h",
"byte_order.h",
@ -256,6 +256,20 @@ rtc_library("bit_buffer") {
absl_deps = [ "//third_party/abseil-cpp/absl/numeric:bits" ]
}
rtc_library("buffer_queue") {
visibility = [ "*" ]
sources = [
"buffer_queue.cc",
"buffer_queue.h",
]
deps = [
":buffer",
":macromagic",
"../api:sequence_checker",
"system:no_unique_address",
]
}
rtc_library("histogram_percentile_counter") {
visibility = [ "*" ]
sources = [
@ -1593,6 +1607,7 @@ if (rtc_include_tests) {
":bitstream_reader",
":bounded_inline_vector",
":buffer",
":buffer_queue",
":checks",
":criticalsection",
":divide_round",
@ -1753,6 +1768,7 @@ if (rtc_include_tests) {
deps = [
":atomicops",
":buffer",
":buffer_queue",
":checks",
":gunit_helpers",
":ip_address",