@@ -49,6 +49,23 @@ cf_cc_library(
4949 ],
5050)
5151
52+ cf_cc_library (
53+ name = "client_handler" ,
54+ srcs = ["client_handler.cpp" ],
55+ hdrs = ["client_handler.h" ],
56+ deps = [
57+ "//cuttlefish/common/libs/utils:result" ,
58+ "//cuttlefish/host/frontend/webrtc/libcommon:connection_controller" ,
59+ "//cuttlefish/host/frontend/webrtc/libdevice:connection_observer" ,
60+ "//cuttlefish/host/frontend/webrtc/libdevice:data_channels" ,
61+ "//cuttlefish/host/libs/config:cuttlefish_config" ,
62+ "//libbase" ,
63+ "@boringssl//:crypto" ,
64+ "@jsoncpp" ,
65+ "@libwebrtc" ,
66+ ],
67+ )
68+
5269cf_cc_library (
5370 name = "connection_observer" ,
5471 hdrs = ["connection_observer.h" ],
@@ -88,16 +105,8 @@ cf_cc_library(
88105
89106cf_cc_library (
90107 name = "libdevice" ,
91- srcs = [
92- "client_handler.cpp" ,
93- "gamepad.cpp" ,
94- "streamer.cpp" ,
95- ],
96- hdrs = [
97- "client_handler.h" ,
98- "gamepad.h" ,
99- "streamer.h" ,
100- ],
108+ srcs = ["streamer.cpp" ],
109+ hdrs = ["streamer.h" ],
101110 linkopts = [
102111 "-lopus" ,
103112 ],
@@ -114,6 +123,7 @@ cf_cc_library(
114123 "//cuttlefish/host/frontend/webrtc/libdevice:audio_track_source_impl" ,
115124 "//cuttlefish/host/frontend/webrtc/libdevice:camera_controller" ,
116125 "//cuttlefish/host/frontend/webrtc/libdevice:camera_streamer" ,
126+ "//cuttlefish/host/frontend/webrtc/libdevice:client_handler" ,
117127 "//cuttlefish/host/frontend/webrtc/libdevice:connection_observer" ,
118128 "//cuttlefish/host/frontend/webrtc/libdevice:data_channels" ,
119129 "//cuttlefish/host/frontend/webrtc/libdevice:recording_manager" ,
0 commit comments