mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Remove unneeded WebRTC flags
PiperOrigin-RevId: 518629654
This commit is contained in:
committed by
Copybara-Service
parent
8b1791caab
commit
0b3c759aa3
@@ -121,13 +121,7 @@ cc_library(
|
||||
"wifi_lan_endpoint_channel.h",
|
||||
"wifi_lan_service_info.h",
|
||||
],
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + select({
|
||||
"@platforms//cpu:arm": [
|
||||
"-DNO_WEBRTC",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
defines = ["NO_WEBRTC"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + ["-DNO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__pkg__",
|
||||
"//connections/implementation/fuzzers:__pkg__",
|
||||
@@ -173,7 +167,6 @@ cc_library(
|
||||
hdrs = [
|
||||
"message_lite.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
],
|
||||
@@ -197,7 +190,6 @@ cc_library(
|
||||
"offline_simulation_user.h",
|
||||
"simulation_user.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
],
|
||||
@@ -241,7 +233,6 @@ cc_test(
|
||||
"wifi_hotspot_test.cc",
|
||||
"wifi_lan_service_info_test.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
shard_count = 16,
|
||||
deps = [
|
||||
":internal",
|
||||
|
||||
@@ -40,13 +40,7 @@ cc_library(
|
||||
"wifi_hotspot.h",
|
||||
"wifi_lan.h",
|
||||
],
|
||||
copts = select({
|
||||
"@platforms//cpu:arm": [
|
||||
"-DNO_WEBRTC",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
defines = ["NO_WEBRTC"],
|
||||
copts = ["-DNO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections/implementation:__subpackages__",
|
||||
],
|
||||
@@ -92,13 +86,7 @@ cc_library(
|
||||
"webrtc_socket.h",
|
||||
"webrtc_socket_stub.h",
|
||||
],
|
||||
copts = select({
|
||||
"@platforms//cpu:arm": [
|
||||
"-DNO_WEBRTC",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
defines = ["NO_WEBRTC"],
|
||||
copts = ["-DNO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections/implementation:__pkg__",
|
||||
"//connections/implementation/mediums/ble_v2:__subpackages__",
|
||||
@@ -127,7 +115,6 @@ cc_test(
|
||||
"wifi_lan_test.cc",
|
||||
"wifi_test.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
shard_count = 16,
|
||||
deps = [
|
||||
":mediums",
|
||||
@@ -152,7 +139,6 @@ cc_test(
|
||||
"webrtc_peer_id_test.cc",
|
||||
"webrtc_test.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
shard_count = 16,
|
||||
tags = [
|
||||
"notsan", # NOTE(b/139734036): known data race in usrsctplib.
|
||||
|
||||
@@ -26,12 +26,7 @@ cc_library(
|
||||
"session_description_wrapper.h",
|
||||
"signaling_frames.h",
|
||||
],
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + select({
|
||||
"@platforms//cpu:arm": [
|
||||
"-DNO_WEBRTC",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + ["-DNO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections/implementation:__subpackages__",
|
||||
],
|
||||
@@ -63,12 +58,7 @@ cc_library(
|
||||
hdrs = [
|
||||
"webrtc_socket_impl.h",
|
||||
],
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + select({
|
||||
"@platforms//cpu:arm": [
|
||||
"-DNO_WEBRTC",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + ["-DNO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections/implementation:__subpackages__",
|
||||
],
|
||||
|
||||
+1
-21
@@ -43,7 +43,6 @@ cc_library(
|
||||
"wifi_credential.h",
|
||||
],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
"//fastpair:__subpackages__",
|
||||
@@ -79,7 +78,6 @@ cc_library(
|
||||
"base_pipe.h",
|
||||
"byte_utils.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
"//internal/platform/implementation:__subpackages__",
|
||||
@@ -98,7 +96,6 @@ cc_library(
|
||||
"logging.h",
|
||||
],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
"//fastpair:__subpackages__",
|
||||
@@ -125,7 +122,6 @@ cc_library(
|
||||
"cancellation_flag.h",
|
||||
"cancellation_flag_listener.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections/implementation:__subpackages__",
|
||||
"//internal/platform/implementation:__subpackages__",
|
||||
@@ -151,7 +147,6 @@ cc_library(
|
||||
"connection_info.h",
|
||||
"wifi_lan_connection_info.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//internal:__pkg__",
|
||||
"//presence:__subpackages__",
|
||||
@@ -174,7 +169,6 @@ cc_library(
|
||||
"error_code_params.h",
|
||||
"error_code_recorder.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = ["//connections/implementation:__subpackages__"],
|
||||
deps = [
|
||||
":logging",
|
||||
@@ -192,7 +186,6 @@ cc_library(
|
||||
hdrs = [
|
||||
"uuid.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections/implementation:__subpackages__",
|
||||
"//internal/platform/implementation:__subpackages__",
|
||||
@@ -213,7 +206,6 @@ cc_library(
|
||||
hdrs = [
|
||||
"medium_environment.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
"//fastpair:__subpackages__",
|
||||
@@ -242,7 +234,6 @@ cc_test(
|
||||
"feature_flags_test.cc",
|
||||
"prng_test.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
deps = [
|
||||
":base",
|
||||
":test_util",
|
||||
@@ -259,7 +250,6 @@ cc_test(
|
||||
srcs = [
|
||||
"byte_utils_test.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
deps = [
|
||||
":base",
|
||||
":util",
|
||||
@@ -273,7 +263,6 @@ cc_test(
|
||||
srcs = [
|
||||
"cancellation_flag_test.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
deps = [
|
||||
":base",
|
||||
":cancellation_flag",
|
||||
@@ -289,7 +278,6 @@ cc_test(
|
||||
srcs = [
|
||||
"error_code_recorder_test.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
deps = [
|
||||
":error_code_recorder",
|
||||
":test_util",
|
||||
@@ -347,7 +335,6 @@ cc_library(
|
||||
"timer.h",
|
||||
"timer_impl.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
"//fastpair:__subpackages__",
|
||||
@@ -402,13 +389,7 @@ cc_library(
|
||||
"wifi_lan.h",
|
||||
"wifi_utils.h",
|
||||
],
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + select({
|
||||
"@platforms//cpu:arm": [
|
||||
"-DNO_WEBRTC",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
defines = ["NO_WEBRTC"],
|
||||
copts = ["-DCORE_ADAPTER_DLL"] + ["-DNO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
"//fastpair:__subpackages__",
|
||||
@@ -470,7 +451,6 @@ cc_test(
|
||||
"wifi_utils_test.cc",
|
||||
],
|
||||
copts = ["-DCORE_ADAPTER_DLL"],
|
||||
defines = ["NO_WEBRTC"],
|
||||
shard_count = 16,
|
||||
deps = [
|
||||
":base",
|
||||
|
||||
@@ -37,7 +37,6 @@ cc_library(
|
||||
"system_clock.h",
|
||||
"timer.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//fastpair:__subpackages__",
|
||||
"//internal/platform:__pkg__",
|
||||
@@ -72,13 +71,7 @@ cc_library(
|
||||
"wifi_hotspot.h",
|
||||
"wifi_lan.h",
|
||||
],
|
||||
copts = select({
|
||||
"@platforms//cpu:arm": [
|
||||
"-DNO_WEBRTC",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
defines = ["NO_WEBRTC"],
|
||||
copts = ["-DNO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections/implementation:__subpackages__",
|
||||
"//internal:__pkg__",
|
||||
|
||||
@@ -34,7 +34,6 @@ cc_library(
|
||||
"single_thread_executor.h",
|
||||
"timer.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//internal/platform:base",
|
||||
@@ -79,7 +78,6 @@ cc_library(
|
||||
"wifi_hotspot.h",
|
||||
"wifi_lan.h",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
":types",
|
||||
@@ -108,7 +106,6 @@ cc_library(
|
||||
srcs = [
|
||||
"crypto.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//internal/platform:base",
|
||||
@@ -125,7 +122,6 @@ cc_library(
|
||||
srcs = [
|
||||
"platform.cc",
|
||||
],
|
||||
defines = ["NO_WEBRTC"],
|
||||
visibility = [
|
||||
"//connections:__subpackages__",
|
||||
"//fastpair:__subpackages__",
|
||||
|
||||
Reference in New Issue
Block a user