Skip to content

Commit eb7aee3

Browse files
committed
Extract host/libs/wayland:wayland_server
Bug: b/533538882
1 parent d979769 commit eb7aee3

2 files changed

Lines changed: 20 additions & 26 deletions

File tree

base/cvd/cuttlefish/host/libs/screen_connector/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ cf_cc_library(
4848
"//cuttlefish/host/libs/config:cuttlefish_config",
4949
"//cuttlefish/host/libs/config:gpu_mode",
5050
"//cuttlefish/host/libs/confui:host_confui",
51-
"//cuttlefish/host/libs/wayland:cuttlefish_wayland_server",
51+
"//cuttlefish/host/libs/wayland:wayland_server",
5252
"//cuttlefish/host/libs/wayland:wayland_server_callbacks",
5353
"//cuttlefish/result",
5454
"//libbase",

base/cvd/cuttlefish/host/libs/wayland/BUILD.bazel

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,6 @@ package(
44
default_visibility = ["//:android_cuttlefish"],
55
)
66

7-
cf_cc_library(
8-
name = "cuttlefish_wayland_server",
9-
srcs = ["wayland_server.cpp"],
10-
hdrs = ["wayland_server.h"],
11-
deps = [
12-
"//cuttlefish/common/libs/fs",
13-
"//cuttlefish/host/libs/wayland:wayland_compositor",
14-
"//cuttlefish/host/libs/wayland:wayland_dmabuf",
15-
"//cuttlefish/host/libs/wayland:wayland_seat",
16-
"//cuttlefish/host/libs/wayland:wayland_server_callbacks",
17-
"//cuttlefish/host/libs/wayland:wayland_shell",
18-
"//cuttlefish/host/libs/wayland:wayland_subcompositor",
19-
"//cuttlefish/host/libs/wayland:wayland_surface",
20-
"//cuttlefish/host/libs/wayland:wayland_utils",
21-
"//cuttlefish/host/libs/wayland:wayland_virtio_gpu_metadata",
22-
"//libbase",
23-
"@abseil-cpp//absl/log",
24-
"@abseil-cpp//absl/log:check",
25-
"@crosvm//:crosvm_gpu_display_wayland_protocols",
26-
"@libdrm//:libdrm_fourcc",
27-
"@libffi",
28-
"@wayland//:wayland_server",
29-
],
30-
)
31-
327
cf_cc_library(
338
name = "wayland_compositor",
349
srcs = ["wayland_compositor.cpp"],
@@ -65,6 +40,25 @@ cf_cc_library(
6540
],
6641
)
6742

43+
cf_cc_library(
44+
name = "wayland_server",
45+
srcs = ["wayland_server.cpp"],
46+
hdrs = ["wayland_server.h"],
47+
deps = [
48+
"//cuttlefish/host/libs/wayland:wayland_compositor",
49+
"//cuttlefish/host/libs/wayland:wayland_dmabuf",
50+
"//cuttlefish/host/libs/wayland:wayland_seat",
51+
"//cuttlefish/host/libs/wayland:wayland_server_callbacks",
52+
"//cuttlefish/host/libs/wayland:wayland_shell",
53+
"//cuttlefish/host/libs/wayland:wayland_subcompositor",
54+
"//cuttlefish/host/libs/wayland:wayland_surface",
55+
"//cuttlefish/host/libs/wayland:wayland_virtio_gpu_metadata",
56+
"@abseil-cpp//absl/log",
57+
"@abseil-cpp//absl/log:check",
58+
"@wayland//:wayland_server",
59+
],
60+
)
61+
6862
cf_cc_library(
6963
name = "wayland_server_callbacks",
7064
hdrs = ["wayland_server_callbacks.h"],

0 commit comments

Comments
 (0)