-
Notifications
You must be signed in to change notification settings - Fork 9
/
BUILD.bazel
48 lines (41 loc) · 1.02 KB
/
BUILD.bazel
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
package(default_visibility = ["//visibility:public"])
load(
"@envoy//bazel:envoy_build_system.bzl",
"envoy_cc_binary",
"envoy_cc_library",
"envoy_cc_test",
)
envoy_cc_binary(
name = "envoy",
repository = "@envoy",
linkopts = select({
"@bazel_tools//src/conditions:darwin": ["-framework Security"],
"//conditions:default": [],
}),
deps = [
"//egofilters:ego_filter_protos",
"//ego/src/cc/filter/http:factory",
"//ego/src/cc/goc:goc",
"@envoy//source/exe:envoy_main_entry_lib",
],
)
sh_test(
name = "ego-demo",
srcs = [
"ego-demo.sh",
],
data = [
"//:envoy.yaml",
"//:envoy",
"//services/echo:echo",
"//services/hmac:hmac",
],
)
load("@bazel_gazelle//:def.bzl", "gazelle")
# Exclude vscode history plugin folder ;-)
# gazelle:exclude .history
# gazelle:exclude envoy
# gazelle:exclude tools
# gazelle:prefix github.com/grab/ego
# run gazelle to udate bazel build files
gazelle(name = "gazelle")