Skip to content

Commit f7f0fc2

Browse files
committed
Break out adb_handler into separate library target
Assisted-by: Antigravity:1.0 Bug: b/505087594
1 parent 758b916 commit f7f0fc2

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
@@ -28,11 +28,25 @@ cf_cc_library(
2828
],
2929
)
3030

31+
cf_cc_library(
32+
name = "libcuttlefish_webrtc_adb_handler",
33+
srcs = ["adb_handler.cpp"],
34+
hdrs = ["adb_handler.h"],
35+
deps = [
36+
"//cuttlefish/common/libs/fs",
37+
"//libbase",
38+
"@abseil-cpp//absl/log",
39+
"@abseil-cpp//absl/log:check",
40+
"@abseil-cpp//absl/strings",
41+
"@fmt",
42+
"@fruit",
43+
"@jsoncpp",
44+
],
45+
)
46+
3147
cf_cc_binary(
3248
name = "webRTC",
3349
srcs = [
34-
"adb_handler.cpp",
35-
"adb_handler.h",
3650
"audio_handler.cpp",
3751
"audio_handler.h",
3852
"audio_mixer.cpp",
@@ -63,6 +77,7 @@ cf_cc_binary(
6377
"sensors_handler.h",
6478
],
6579
deps = [
80+
":libcuttlefish_webrtc_adb_handler",
6681
":libcuttlefish_webrtc_command_channel",
6782
":libcuttlefish_webrtc_commands_proto",
6883
"//cuttlefish/common/libs/fs",

0 commit comments

Comments
 (0)