forked from envoyproxy/envoy-filter-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
51 lines (45 loc) · 1.14 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
51
load(
"@envoy//bazel:envoy_build_system.bzl",
"envoy_cc_binary",
"envoy_cc_library",
"envoy_cc_test",
)
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
package(default_visibility = ["//visibility:public"])
envoy_cc_binary(
name = "envoy",
repository = "@envoy",
deps = [
":http_filter_config",
"@envoy//source/exe:envoy_main_entry_lib",
],
)
api_proto_package()
envoy_cc_library(
name = "http_filter_lib",
srcs = ["http_filter.cc"],
hdrs = ["http_filter.h"],
repository = "@envoy",
deps = [
":pkg_cc_proto",
"@envoy//source/extensions/filters/http/common:pass_through_filter_lib",
],
)
envoy_cc_library(
name = "http_filter_config",
srcs = ["http_filter_config.cc"],
repository = "@envoy",
deps = [
":http_filter_lib",
"@envoy//envoy/server:filter_config_interface",
],
)
envoy_cc_test(
name = "http_filter_integration_test",
srcs = ["http_filter_integration_test.cc"],
repository = "@envoy",
deps = [
":http_filter_config",
"@envoy//test/integration:http_integration_lib",
],
)