-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathBUILD
34 lines (31 loc) · 830 Bytes
/
BUILD
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
32
33
34
load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
load("@envoy_api//bazel:api_build_system.bzl", "api_cc_py_proto_library")
licenses(["notice"]) # Apache 2
api_cc_py_proto_library(
name = "base",
srcs = [
"options.proto",
"output.proto",
"service.proto",
],
visibility = ["//visibility:public"],
deps = [
"@envoy_api//envoy/config/core/v3:pkg",
"@envoy_api//envoy/config/metrics/v3:pkg",
"@envoy_api//envoy/extensions/transport_sockets/tls/v3:pkg",
],
)
cc_grpc_library(
name = "grpc_service_lib",
srcs = [
":base",
],
generate_mocks = True,
grpc_only = True,
proto_only = False,
use_external = False,
visibility = ["//visibility:public"],
deps = [
":base_cc_proto",
],
)