-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
31 lines (27 loc) · 725 Bytes
/
BUILD
File metadata and controls
31 lines (27 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake", "configure_make")
load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar")
load("@rules_cc//cc:defs.bzl", "cc_binary")
package(default_visibility = ["//visibility:public"])
cc_binary(
name = "testserver",
srcs = [
"main.cc",
],
deps = [
"//proto:testserver_cpp_grpc_lib",
],
)
cc_binary(
name = "client",
srcs = ["client.cc"],
linkopts = ["-ldl"],
deps = [
"//proto:testserver_cpp_grpc_lib",
"@com_github_grpc_grpc//:grpc++",
"@com_github_grpc_grpc//:grpc++_reflection",
],
)
buildifier(
name = "buildifier",
)