Skip to content

Commit 481280d

Browse files
committed
Break out client_server into separate library target
Assisted-by: Antigravity:1.0 Bug: b/505087594
1 parent 66edce6 commit 481280d

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

base/cvd/cuttlefish/host/frontend/webrtc/BUILD.bazel

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,25 @@ cf_cc_library(
103103
],
104104
)
105105

106+
cf_cc_library(
107+
name = "libcuttlefish_webrtc_client_server",
108+
srcs = ["client_server.cpp"],
109+
hdrs = ["client_server.h"],
110+
deps = [
111+
"//libbase",
112+
"@abseil-cpp//absl/log",
113+
"@abseil-cpp//absl/log:check",
114+
"@abseil-cpp//absl/strings",
115+
"@fmt",
116+
"@fruit",
117+
"@jsoncpp",
118+
"@libwebsockets",
119+
],
120+
)
121+
106122
cf_cc_binary(
107123
name = "webRTC",
108124
srcs = [
109-
"client_server.cpp",
110-
"client_server.h",
111125
"connection_observer.cpp",
112126
"connection_observer.h",
113127
"cvd_video_frame_buffer.cpp",
@@ -134,6 +148,7 @@ cf_cc_binary(
134148
":libcuttlefish_webrtc_audio_mixer",
135149
":libcuttlefish_webrtc_audio_settings",
136150
":libcuttlefish_webrtc_bluetooth_handler",
151+
":libcuttlefish_webrtc_client_server",
137152
":libcuttlefish_webrtc_command_channel",
138153
":libcuttlefish_webrtc_commands_proto",
139154
"//cuttlefish/common/libs/fs",

0 commit comments

Comments
 (0)