Skip to content

Commit c3cc5e4

Browse files
committed
Add some copts to simplify the internal import configuration
Bug: b/409394333
1 parent b373510 commit c3cc5e4

File tree

14 files changed

+27
-6
lines changed

14 files changed

+27
-6
lines changed

base/cvd/cuttlefish/host/commands/assemble_cvd/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ cc_library(
8383
"touchpad.cpp",
8484
"vendor_dlkm_utils.cc",
8585
],
86-
copts = COPTS,
86+
copts = COPTS + [
87+
"-Wno-ambiguous-macro",
88+
"-Wno-ctad-maybe-unsupported",
89+
],
8790
deps = [
8891
":launch_cvd_cc_proto",
8992
":libassemble_cvd",

base/cvd/cuttlefish/host/commands/cvd/BUILD.bazel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ clang_tidy_test(
3434
cc_binary(
3535
name = "cvd",
3636
srcs = ["main.cc" ],
37-
copts = COPTS,
37+
copts = COPTS + [
38+
"-Wno-ctad-maybe-unsupported",
39+
],
3840
deps = [
3941
":libcvd",
4042
"//cuttlefish/common/libs/utils",

base/cvd/cuttlefish/host/commands/cvd/cli/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ cc_library(
4545
name = "interruptible_terminal",
4646
srcs = ["interruptible_terminal.cpp"],
4747
hdrs = ["interruptible_terminal.h"],
48+
copts = ["-Wno-ctad-maybe-unsupported"],
4849
deps = [
4950
"//cuttlefish/common/libs/fs",
5051
"//cuttlefish/common/libs/utils:result",

base/cvd/cuttlefish/host/commands/extract_ikconfig/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ package(
22
default_visibility = ["//:android_cuttlefish"],
33
)
44

5+
exports_files(["extract-ikconfig.sh"])
6+
57
sh_binary(
68
name = "extract-ikconfig",
79
srcs = ["extract-ikconfig.sh"],

base/cvd/cuttlefish/host/commands/extract_vmlinux/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ package(
22
default_visibility = ["//:android_cuttlefish"],
33
)
44

5+
exports_files(["extract-vmlinux.sh"])
6+
57
sh_binary(
68
name = "extract-vmlinux",
79
srcs = ["extract-vmlinux.sh"],

base/cvd/cuttlefish/host/commands/modem_simulator/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ cc_library(
4949
copts = [
5050
"-Wall",
5151
"-Werror",
52-
"-fexceptions",
52+
"-Wno-unused-const-variable",
5353
],
5454
strip_include_prefix = "//cuttlefish",
5555
deps = [

base/cvd/cuttlefish/host/commands/openwrt_control_server/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ cc_binary(
4343
"@grpc//:grpc",
4444
"@grpc//:grpc++",
4545
"@grpc//:grpc++_reflection",
46+
"@protobuf//:empty_cc_proto",
4647
],
4748
)
4849

base/cvd/cuttlefish/host/commands/run_cvd/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ cc_binary(
9191
"//libbase",
9292
"@fruit",
9393
"@gflags",
94+
"@googleapis//google/rpc:status_cc_proto",
9495
"@grpc//:grpc",
9596
"@grpc//:grpc++",
9697
],

base/cvd/cuttlefish/host/commands/run_cvd/launch/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ cc_library(
709709
"//libbase",
710710
"@fruit",
711711
"@googleapis//google/rpc:code_cc_proto",
712+
"@googleapis//google/rpc:status_cc_proto",
712713
],
713714
)
714715

base/cvd/cuttlefish/host/commands/screen_recording_server/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ cc_binary(
4545
"@grpc//:grpc",
4646
"@grpc//:grpc++",
4747
"@grpc//:grpc++_reflection",
48+
"@protobuf//:empty_cc_proto",
4849
],
4950
)
5051

0 commit comments

Comments
 (0)