Remove the //rtc_base target
Bug: webrtc:9838 Change-Id: I17d2a011df20019c517ae92ff25a778070065a5b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/291185 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Florent Castelli <orphis@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39173}
This commit is contained in:
parent
9ad10bc492
commit
05ce032486
@ -1083,202 +1083,6 @@ if (is_win) {
|
||||
}
|
||||
}
|
||||
|
||||
rtc_library("rtc_base") {
|
||||
visibility = [ "*" ]
|
||||
cflags = []
|
||||
cflags_cc = []
|
||||
libs = []
|
||||
defines = []
|
||||
deps = [
|
||||
":async_packet_socket",
|
||||
":async_resolver_interface",
|
||||
":async_socket",
|
||||
":async_tcp_socket",
|
||||
":async_udp_socket",
|
||||
":buffer",
|
||||
":byte_buffer",
|
||||
":byte_order",
|
||||
":callback_list",
|
||||
":checks",
|
||||
":copy_on_write_buffer",
|
||||
":crc32",
|
||||
":crypt_string",
|
||||
":data_rate_limiter",
|
||||
":dscp",
|
||||
":file_rotating_stream",
|
||||
":http_common",
|
||||
":ip_address",
|
||||
":logging",
|
||||
":macromagic",
|
||||
":mdns_responder_interface",
|
||||
":net_helper",
|
||||
":network",
|
||||
":network_constants",
|
||||
":network_route",
|
||||
":null_socket_server",
|
||||
":proxy_info",
|
||||
":refcount",
|
||||
":rtc_certificate_generator",
|
||||
":rtc_event",
|
||||
":rtc_task_queue",
|
||||
":safe_conversions",
|
||||
":socket",
|
||||
":socket_adapters",
|
||||
":socket_address",
|
||||
":socket_address_pair",
|
||||
":socket_factory",
|
||||
":socket_server",
|
||||
":ssl",
|
||||
":stream",
|
||||
":stringutils",
|
||||
":threading",
|
||||
":timeutils",
|
||||
":unique_id_generator",
|
||||
":zero_memory",
|
||||
"../api:array_view",
|
||||
"../api:field_trials_view",
|
||||
"../api:function_view",
|
||||
"../api:make_ref_counted",
|
||||
"../api:refcountedbase",
|
||||
"../api:scoped_refptr",
|
||||
"../api:sequence_checker",
|
||||
"../api/numerics",
|
||||
"../api/task_queue",
|
||||
"../api/task_queue:pending_task_safety_flag",
|
||||
"../api/transport:field_trial_based_config",
|
||||
"../api/units:time_delta",
|
||||
"../rtc_base/experiments:field_trial_parser",
|
||||
"../system_wrappers:field_trial",
|
||||
"memory:always_valid_pointer",
|
||||
"network:sent_packet",
|
||||
"synchronization:mutex",
|
||||
"system:file_wrapper",
|
||||
"system:inline",
|
||||
"system:no_unique_address",
|
||||
"system:rtc_export",
|
||||
"task_utils:repeating_task",
|
||||
"third_party/base64",
|
||||
"third_party/sigslot",
|
||||
]
|
||||
absl_deps = [
|
||||
"//third_party/abseil-cpp/absl/algorithm:container",
|
||||
"//third_party/abseil-cpp/absl/base:core_headers",
|
||||
"//third_party/abseil-cpp/absl/container:flat_hash_map",
|
||||
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
||||
"//third_party/abseil-cpp/absl/memory",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
public_configs = []
|
||||
|
||||
sources = [
|
||||
# Kept during transition
|
||||
"async_packet_socket.h",
|
||||
"async_tcp_socket.h",
|
||||
"async_udp_socket.h",
|
||||
"crc32.h",
|
||||
"crypt_string.h",
|
||||
"data_rate_limiter.h",
|
||||
"dscp.h",
|
||||
"file_rotating_stream.h",
|
||||
"helpers.h",
|
||||
"http_common.h",
|
||||
"mdns_responder_interface.h",
|
||||
"message_digest.h",
|
||||
"net_helper.h",
|
||||
"network.h",
|
||||
"network_route.h",
|
||||
"openssl.h",
|
||||
"openssl_adapter.h",
|
||||
"openssl_digest.h",
|
||||
"openssl_key_pair.h",
|
||||
"openssl_session_cache.h",
|
||||
"openssl_stream_adapter.h",
|
||||
"openssl_utility.h",
|
||||
"proxy_info.h",
|
||||
"rtc_certificate.h",
|
||||
"rtc_certificate_generator.h",
|
||||
"socket_adapters.h",
|
||||
"socket_address_pair.h",
|
||||
"ssl_adapter.h",
|
||||
"ssl_certificate.h",
|
||||
"ssl_fingerprint.h",
|
||||
"ssl_identity.h",
|
||||
"ssl_stream_adapter.h",
|
||||
"stream.h",
|
||||
"unique_id_generator.h",
|
||||
]
|
||||
|
||||
# If we are building the SSL library ourselves, we know it's BoringSSL.
|
||||
if (rtc_build_ssl) {
|
||||
sources += [
|
||||
"boringssl_certificate.h",
|
||||
"boringssl_identity.h",
|
||||
]
|
||||
} else {
|
||||
sources += [
|
||||
"openssl_certificate.h",
|
||||
"openssl_identity.h",
|
||||
]
|
||||
}
|
||||
|
||||
if (build_with_chromium) {
|
||||
include_dirs = [ "../../boringssl/src/include" ]
|
||||
} else {
|
||||
sources += [
|
||||
"log_sinks.h",
|
||||
"rolling_accumulator.h",
|
||||
"ssl_roots.h",
|
||||
]
|
||||
|
||||
deps += [
|
||||
":log_sinks",
|
||||
":rolling_accumulator",
|
||||
":rtc_numerics",
|
||||
]
|
||||
|
||||
if (is_win) {
|
||||
sources += [ "win32_socket_init.h" ]
|
||||
deps += [ ":win32_socket_init" ]
|
||||
}
|
||||
} # !build_with_chromium
|
||||
|
||||
if (rtc_build_ssl) {
|
||||
deps += [ "//third_party/boringssl" ]
|
||||
} else {
|
||||
configs += [ ":external_ssl_library" ]
|
||||
}
|
||||
|
||||
if (is_android) {
|
||||
deps += [ ":ifaddrs_android" ]
|
||||
}
|
||||
|
||||
if (is_linux || is_chromeos) {
|
||||
libs += [
|
||||
"dl",
|
||||
"rt",
|
||||
]
|
||||
}
|
||||
|
||||
if (is_ios) {
|
||||
frameworks = [
|
||||
"CFNetwork.framework",
|
||||
"Foundation.framework",
|
||||
"Security.framework",
|
||||
"SystemConfiguration.framework",
|
||||
"UIKit.framework",
|
||||
]
|
||||
}
|
||||
|
||||
if (is_win) {
|
||||
deps += [ ":win32" ]
|
||||
}
|
||||
|
||||
if (is_posix || is_fuchsia) {
|
||||
sources += [ "ifaddrs_converter.h" ]
|
||||
}
|
||||
}
|
||||
|
||||
rtc_library("ifaddrs_converter") {
|
||||
sources = []
|
||||
deps = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user