-
Notifications
You must be signed in to change notification settings - Fork 31
/
BUILD
50 lines (46 loc) · 1.15 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
load(
"@envoy//bazel:envoy_build_system.bzl",
"envoy_cc_library",
)
# compile proto
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
api_proto_package(
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"],
)
envoy_cc_library(
name = "config",
repository = "@envoy",
visibility = ["//visibility:public"],
srcs = ["config.cc"],
hdrs = ["config.h"],
deps = [
":pkg_cc_proto",
":codec_lib",
"@envoy//envoy/registry",
"//src/meta_protocol_proxy/codec:factory_lib",
],
)
envoy_cc_library(
name = "codec_lib",
repository = "@envoy",
srcs = ["thrift_codec.cc"],
hdrs = [
"thrift_codec.h",
"conn_state.h",
"decoder_events.h",
"metadata.h",
"protocol.h",
"thrift.h",
"thrift_object.h",
"tracing.h",
"transport.h",
],
deps = [
"@envoy//envoy/registry",
"@envoy//envoy/buffer:buffer_interface",
"@envoy//source/common/config:utility_lib",
"@envoy//source/common/common:logger_lib",
"@envoy//source/common/buffer:buffer_lib",
"//src/meta_protocol_proxy/codec:codec_interface",
],
)