Create separate WebRtc Platform.

PiperOrigin-RevId: 919283950
This commit is contained in:
Francis Tsui
2026-05-21 15:26:28 -07:00
committed by Copybara-Service
parent 765bd555e4
commit 5df1af7c61
14 changed files with 69 additions and 65 deletions
+14 -7
View File
@@ -54,11 +54,24 @@ objc_library(
objc_library(
name = "apple_webrtc",
srcs = [
"webrtc.mm",
"webrtc_platform.mm",
],
hdrs = [
"webrtc.h",
],
deps = [
":apple",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"//third_party/apple_frameworks:Foundation",
"//internal/platform:logging",
"//internal/platform:tachyon_express_signaling_messenger",
"//internal/platform:types",
"//internal/platform/implementation:webrtc_platform",
"//internal/proto:tachyon_cc_proto",
# "//third_party/webrtc/files/stable/webrtc/api:create_modular_peer_connection_factory",
# "//third_party/webrtc/files/stable/webrtc/api:peer_connection_interface",
"//third_party/webrtc/files/stable/webrtc/api/task_queue:default_task_queue_factory",
],
)
@@ -72,7 +85,6 @@ objc_library(
"preferences_manager.mm",
"scheduled_executor.mm",
"timer.mm",
"webrtc.mm",
"wifi_hotspot.mm",
"wifi_lan.mm",
],
@@ -81,7 +93,6 @@ objc_library(
"device_info.h",
"preferences_manager.h",
"timer.h",
"webrtc.h",
"wifi.h",
"wifi_hotspot.h",
"wifi_lan.h",
@@ -122,10 +133,6 @@ objc_library(
"//internal/platform:tachyon_express_signaling_messenger",
"//internal/platform:types",
"//internal/proto:tachyon_cc_proto",
"//third_party/webrtc/files/stable/webrtc/api/task_queue:default_task_queue_factory",
# "//third_party/webrtc/files/stable/webrtc/api:create_modular_peer_connection_factory",
# "//third_party/webrtc/files/stable/webrtc/api:peer_connection_interface",
"//third_party/webrtc/files/stable/webrtc/rtc_base:checks",
"//internal/platform:base",
"//internal/platform/implementation:comm",
"//internal/platform/implementation:platform",