-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
57 lines (51 loc) · 1.31 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
52
53
54
55
56
57
package(default_visibility = ["//visibility:public"])
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")
envoy_cc_binary(
name = "envoy",
repository = "@envoy",
deps = [
":rot_cipher_config",
"@envoy//source/exe:envoy_main_entry_lib",
],
)
api_proto_package()
envoy_cc_library(
name = "rot_cipher_lib",
srcs = ["rot_cipher.cc"],
hdrs = ["rot_cipher.h"],
repository = "@envoy",
deps = [
"//:pkg_cc_proto",
"@envoy//include/envoy/http:filter_interface",
"@envoy//source/exe:envoy_common_lib",
],
)
envoy_cc_library(
name = "rot_cipher_config",
srcs = ["rot_cipher_config.cc"],
hdrs = ["rot_cipher_config.h"],
repository = "@envoy",
deps = [
"//:pkg_cc_proto",
":rot_cipher_lib",
"@envoy//include/envoy/server:factory_context_interface",
"@envoy//source/extensions/filters/http/common:factory_base_lib",
"@envoy//source/exe:envoy_common_lib",
],
)
envoy_cc_test(
name = "rot_cipher_test",
srcs = ["rot_cipher_test.cc"],
repository = "@envoy",
deps = [
"//:pkg_cc_proto",
":rot_cipher_config",
"@envoy//test/integration:http_integration_lib"
],
)