Refactor WebRTC code to avoid use of select for stubs

PiperOrigin-RevId: 518491132
This commit is contained in:
Nick Bourdakos
2023-03-22 00:25:54 -07:00
committed by Copybara-Service
parent b2da1efbbf
commit ec025502dc
20 changed files with 115 additions and 60 deletions
+1
View File
@@ -397,6 +397,7 @@ cc_library(
"bluetooth_adapter.h",
"bluetooth_classic.h",
"credential_storage_impl.h",
"webrtc.h",
"wifi.h",
"wifi_direct.h",
"wifi_hotspot.h",
+1
View File
@@ -66,6 +66,7 @@ cc_library(
"credential_storage.h",
"http_loader.h",
"server_sync.h",
"webrtc.h",
"wifi.h",
"wifi_direct.h",
"wifi_hotspot.h",
@@ -62,6 +62,7 @@ cc_library(
"bluetooth_adapter.cc",
"bluetooth_classic.cc",
"credential_storage_impl.cc",
"webrtc.cc",
"wifi_direct.cc",
"wifi_hotspot.cc",
"wifi_lan.cc",
@@ -72,6 +73,7 @@ cc_library(
"bluetooth_adapter.h",
"bluetooth_classic.h",
"credential_storage_impl.h",
"webrtc.h",
"wifi.h",
"wifi_direct.h",
"wifi_hotspot.h",
@@ -15,6 +15,8 @@
#ifndef PLATFORM_API_WEBRTC_H_
#define PLATFORM_API_WEBRTC_H_
#ifndef NO_WEBRTC
#include <memory>
#include <string>
@@ -67,4 +69,6 @@ class WebRtcMedium {
} // namespace api
} // namespace nearby
#endif
#endif // PLATFORM_API_WEBRTC_H_