From: Michael Froman Date: Thu, 20 Apr 2023 14:52:00 -0500 Subject: Bug 1828517 - (fix-a138c6c8a5) handle file moves in BUILD.gn Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/cf7e333da17689b3c115a6ffd07fab042bc5f086 --- rtc_base/BUILD.gn | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn index 0b1e2a6208..7573a137ab 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -1147,6 +1147,7 @@ if (!build_with_chromium) { } rtc_library("network") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "network.cc", @@ -1185,16 +1186,20 @@ rtc_library("network") { deps += [ ":win32" ] } } +} rtc_library("socket_address_pair") { +if (!build_with_mozilla) { sources = [ "socket_address_pair.cc", "socket_address_pair.h", ] deps = [ ":socket_address" ] } +} rtc_library("net_helper") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "net_helper.cc", @@ -1203,8 +1208,10 @@ rtc_library("net_helper") { absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] deps = [ "system:rtc_export" ] } +} rtc_library("socket_adapters") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "socket_adapters.cc", @@ -1224,6 +1231,7 @@ rtc_library("socket_adapters") { ] absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] } +} rtc_library("network_route") { sources = [ @@ -1238,6 +1246,7 @@ rtc_library("network_route") { } rtc_library("async_tcp_socket") { +if (!build_with_mozilla) { sources = [ "async_tcp_socket.cc", "async_tcp_socket.h", @@ -1256,8 +1265,10 @@ rtc_library("async_tcp_socket") { "third_party/sigslot", ] } +} rtc_library("async_udp_socket") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "async_udp_socket.cc", @@ -1279,8 +1290,10 @@ rtc_library("async_udp_socket") { ] absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] } +} rtc_library("async_packet_socket") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "async_packet_socket.cc", @@ -1298,6 +1311,7 @@ rtc_library("async_packet_socket") { "third_party/sigslot", ] } +} rtc_library("mdns_responder_interface") { sources = [ "mdns_responder_interface.h" ] @@ -1310,6 +1324,7 @@ rtc_library("dscp") { } rtc_library("proxy_info") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "proxy_info.cc", @@ -1320,6 +1335,7 @@ rtc_library("proxy_info") { ":socket_address", ] } +} rtc_library("file_rotating_stream") { sources = [ @@ -1348,6 +1364,7 @@ rtc_library("data_rate_limiter") { } rtc_library("unique_id_generator") { +if (!build_with_mozilla) { sources = [ "unique_id_generator.cc", "unique_id_generator.h", @@ -1362,6 +1379,7 @@ rtc_library("unique_id_generator") { ] absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] } +} rtc_library("crc32") { sources = [ @@ -1389,6 +1407,7 @@ rtc_library("stream") { } rtc_library("rtc_certificate_generator") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "rtc_certificate_generator.cc", @@ -1406,8 +1425,10 @@ rtc_library("rtc_certificate_generator") { "//third_party/abseil-cpp/absl/types:optional", ] } +} rtc_library("ssl") { +if (!build_with_mozilla) { visibility = [ "*" ] sources = [ "helpers.cc", @@ -1506,6 +1527,7 @@ rtc_library("ssl") { deps += [ ":win32" ] } } +} rtc_library("crypt_string") { sources = [ @@ -1515,6 +1537,7 @@ rtc_library("crypt_string") { } rtc_library("http_common") { +if (!build_with_mozilla) { sources = [ "http_common.cc", "http_common.h", @@ -1531,6 +1554,7 @@ rtc_library("http_common") { absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] } +} rtc_source_set("gtest_prod") { sources = [ "gtest_prod_util.h" ] -- 2.34.1