diff --git a/p2p/BUILD.gn b/p2p/BUILD.gn index cff643aa33..1ce052c86f 100644 --- a/p2p/BUILD.gn +++ b/p2p/BUILD.gn @@ -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", diff --git a/p2p/base/port_allocator.h b/p2p/base/port_allocator.h index 0ae2182c39..5aba5f20f9 100644 --- a/p2p/base/port_allocator.h +++ b/p2p/base/port_allocator.h @@ -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" diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn index 5405241ba6..f095b228ee 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -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", diff --git a/rtc_base/helpers.h b/rtc_base/helpers.h deleted file mode 100644 index 3d154a7fe4..0000000000 --- a/rtc_base/helpers.h +++ /dev/null @@ -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"