Skip to content

Commit 2745cac

Browse files
committed
Extract host/libs/wayland:wayland_compositor
Bug: b/533538882
1 parent 8bc3452 commit 2745cac

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

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

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,11 @@ package(
66

77
cf_cc_library(
88
name = "cuttlefish_wayland_server",
9-
srcs = [
10-
"wayland_compositor.cpp",
11-
"wayland_server.cpp",
12-
],
13-
hdrs = [
14-
"wayland_compositor.h",
15-
"wayland_server.h",
16-
],
9+
srcs = ["wayland_server.cpp"],
10+
hdrs = ["wayland_server.h"],
1711
deps = [
1812
"//cuttlefish/common/libs/fs",
13+
"//cuttlefish/host/libs/wayland:wayland_compositor",
1914
"//cuttlefish/host/libs/wayland:wayland_dmabuf",
2015
"//cuttlefish/host/libs/wayland:wayland_seat",
2116
"//cuttlefish/host/libs/wayland:wayland_server_callbacks",
@@ -34,6 +29,18 @@ cf_cc_library(
3429
],
3530
)
3631

32+
cf_cc_library(
33+
name = "wayland_compositor",
34+
srcs = ["wayland_compositor.cpp"],
35+
hdrs = ["wayland_compositor.h"],
36+
deps = [
37+
"//cuttlefish/host/libs/wayland:wayland_surface",
38+
"//cuttlefish/host/libs/wayland:wayland_utils",
39+
"@abseil-cpp//absl/log",
40+
"@wayland//:wayland_server",
41+
],
42+
)
43+
3744
cf_cc_library(
3845
name = "wayland_dmabuf",
3946
srcs = ["wayland_dmabuf.cpp"],

0 commit comments

Comments
 (0)