Skip to content

Commit 879ad78

Browse files
committed
Build powerbtn_cvd
Bug: 401510831
1 parent 7f1dffb commit 879ad78

File tree

1 file changed

+29
-0
lines changed
  • base/cvd/cuttlefish/host/commands/powerbtn_cvd

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
load("//:build_variables.bzl", "COPTS")
2+
load("//tools/lint:linters.bzl", "clang_tidy_test")
3+
4+
package(
5+
default_visibility = ["//:android_cuttlefish"],
6+
)
7+
8+
cc_binary(
9+
name = "powerbtn_cvd",
10+
srcs = [
11+
"powerbtn_cvd.cc",
12+
],
13+
copts = COPTS,
14+
deps = [
15+
"//cuttlefish/common/libs/fs",
16+
"//cuttlefish/common/libs/utils",
17+
"//cuttlefish/common/libs/utils:result",
18+
"//cuttlefish/host/libs/command_util",
19+
"//cuttlefish/host/libs/config",
20+
"//libbase",
21+
"@gflags",
22+
],
23+
)
24+
25+
clang_tidy_test(
26+
name = "powerbtn_cvd_clang_tidy",
27+
srcs = [":powerbtn_cvd"],
28+
tags = ["clang_tidy", "clang-tidy"],
29+
)

0 commit comments

Comments
 (0)