Skip to content

Commit fc8bd23

Browse files
committed
Extract //cuttlefish/host/frontend/webrtc/libdevice:streamer
Bug: b/438313626
1 parent e71cc3c commit fc8bd23

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ cf_cc_binary(
5858
"sensors_handler.h",
5959
],
6060
deps = [
61-
":libcuttlefish_webrtc_command_channel",
62-
":libcuttlefish_webrtc_commands_proto",
6361
"//cuttlefish/common/libs/fs",
6462
"//cuttlefish/common/libs/sensors",
6563
"//cuttlefish/common/libs/transport",
@@ -69,12 +67,12 @@ cf_cc_binary(
6967
"//cuttlefish/common/libs/utils:size_utils",
7068
"//cuttlefish/host/commands/kernel_log_monitor:kernel_log_monitor_utils",
7169
"//cuttlefish/host/frontend/webrtc/libcommon:audio_source",
72-
"//cuttlefish/host/frontend/webrtc/libdevice",
7370
"//cuttlefish/host/frontend/webrtc/libdevice:audio_sink",
7471
"//cuttlefish/host/frontend/webrtc/libdevice:camera_controller",
7572
"//cuttlefish/host/frontend/webrtc/libdevice:connection_observer",
7673
"//cuttlefish/host/frontend/webrtc/libdevice:lights_observer",
7774
"//cuttlefish/host/frontend/webrtc/libdevice:local_recorder",
75+
"//cuttlefish/host/frontend/webrtc/libdevice:streamer",
7876
"//cuttlefish/host/frontend/webrtc/libdevice:video_sink",
7977
"//cuttlefish/host/libs/audio_connector",
8078
"//cuttlefish/host/libs/config:config_constants",
@@ -89,6 +87,8 @@ cf_cc_binary(
8987
"//cuttlefish/host/libs/screen_connector:video_frame_buffer",
9088
"//cuttlefish/host/libs/vm_manager",
9189
"//libbase",
90+
":libcuttlefish_webrtc_command_channel",
91+
":libcuttlefish_webrtc_commands_proto",
9292
"@fmt",
9393
"@fruit",
9494
"@gflags",

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

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,15 @@ cf_cc_library(
104104
)
105105

106106
cf_cc_library(
107-
name = "libdevice",
107+
name = "streamer",
108108
srcs = ["streamer.cpp"],
109109
hdrs = ["streamer.h"],
110-
linkopts = [
111-
"-lopus",
112-
],
113110
deps = [
114-
"//cuttlefish/common/libs/utils:json",
115-
"//cuttlefish/common/libs/utils:result",
116-
"//cuttlefish/common/libs/utils:vsock_connection",
111+
"//libbase",
112+
"@libwebrtc",
113+
"@jsoncpp",
117114
"//cuttlefish/host/frontend/webrtc/libcommon:audio_device",
118115
"//cuttlefish/host/frontend/webrtc/libcommon:audio_source",
119-
"//cuttlefish/host/frontend/webrtc/libcommon:connection_controller",
120116
"//cuttlefish/host/frontend/webrtc/libcommon:peer_connection_utils",
121117
"//cuttlefish/host/frontend/webrtc/libcommon:utils",
122118
"//cuttlefish/host/frontend/webrtc/libdevice:audio_sink",
@@ -125,19 +121,12 @@ cf_cc_library(
125121
"//cuttlefish/host/frontend/webrtc/libdevice:camera_streamer",
126122
"//cuttlefish/host/frontend/webrtc/libdevice:client_handler",
127123
"//cuttlefish/host/frontend/webrtc/libdevice:connection_observer",
128-
"//cuttlefish/host/frontend/webrtc/libdevice:data_channels",
129124
"//cuttlefish/host/frontend/webrtc/libdevice:recording_manager",
130125
"//cuttlefish/host/frontend/webrtc/libdevice:server_connection",
131126
"//cuttlefish/host/frontend/webrtc/libdevice:video_sink",
132127
"//cuttlefish/host/frontend/webrtc/libdevice:video_track_source_impl",
133128
"//cuttlefish/host/frontend/webrtc_operator/constants:webrtc_signaling_headers",
134129
"//cuttlefish/host/libs/config:custom_actions",
135-
"//cuttlefish/host/libs/config:cuttlefish_config",
136-
"//libbase",
137-
"@boringssl//:crypto",
138-
"@jsoncpp",
139-
"@libvpx",
140-
"@libwebrtc",
141130
],
142131
)
143132

0 commit comments

Comments
 (0)