Remove rtc_base/helpers.h and crypto_random include in port allocator

after fixing Chromium (and possibly other downstream projects)

BUG=webrtc:339300437

Change-Id: I1637b379ce778e78b4fb73cb44b291c2f66c3606
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/353766
Commit-Queue: Philipp Hancke <phancke@meta.com>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42533}
This commit is contained in:
Philipp Hancke 2024-06-13 08:05:15 -07:00 committed by WebRTC LUCI CQ
parent 27abd690cc
commit 3fede875fe
4 changed files with 4 additions and 28 deletions

View File

@ -116,7 +116,6 @@ rtc_library("rtc_p2p") {
"../rtc_base:callback_list",
"../rtc_base:checks",
"../rtc_base:crc32",
"../rtc_base:crypto_random",
"../rtc_base:dscp",
"../rtc_base:event_tracer",
"../rtc_base:ip_address",

View File

@ -27,7 +27,6 @@
#include "p2p/base/port_interface.h"
#include "p2p/base/transport_description.h"
#include "rtc_base/checks.h"
#include "rtc_base/crypto_random.h"
#include "rtc_base/network.h"
#include "rtc_base/socket_address.h"
#include "rtc_base/ssl_certificate.h"

View File

@ -1529,7 +1529,6 @@ rtc_library("crypto_random") {
rtc_library("ssl") {
visibility = [ "*" ]
sources = [
"helpers.h",
"openssl_key_pair.cc",
"openssl_key_pair.h",
"openssl_utility.cc",
@ -1545,39 +1544,25 @@ rtc_library("ssl") {
]
deps = [
":async_socket",
":buffer",
":checks",
":copy_on_write_buffer",
":crypto_random",
":digest",
":logging",
":macromagic",
":safe_conversions",
":socket",
":socket_address",
":ssl_header",
":stream",
":stringutils",
":threading",
":timeutils",
"../api:array_view",
"../api:refcountedbase",
"../api:scoped_refptr",
"../api/task_queue:pending_task_safety_flag",
"../api/units:time_delta",
"../system_wrappers:field_trial",
"synchronization:mutex",
"system:rtc_export",
"task_utils:repeating_task",
"third_party/base64",
"third_party/sigslot",
"//third_party/abseil-cpp/absl/algorithm:container",
"//third_party/abseil-cpp/absl/base:core_headers",
"//third_party/abseil-cpp/absl/functional:any_invocable",
"//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/strings:string_view",
"//third_party/abseil-cpp/absl/types:optional",
]
# If we are building the SSL library ourselves, we know it's BoringSSL.
@ -1589,7 +1574,10 @@ rtc_library("ssl") {
"boringssl_identity.h",
]
deps += [ "//third_party/boringssl" ]
deps += [
":crypto_random",
"//third_party/boringssl",
]
} else {
sources += [
"openssl_certificate.cc",

View File

@ -1,10 +0,0 @@
/*
* Copyright 2004 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.
*/
#include "rtc_base/crypto_random.h"