-
Notifications
You must be signed in to change notification settings - Fork 3
/
WORKSPACE
46 lines (35 loc) · 1.12 KB
/
WORKSPACE
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
# Workspace to build Envoy AMQP-HTTP bridge.
workspace(name = "amqp_bridge")
local_repository(
name = "envoy",
path = "envoy",
)
new_local_repository(
name = "proton",
path = "proton",
build_file = "proton.BUILD",
)
# TODO aconway 2018-05-28: SASL dependency - not portable, requires locally-installed libsasl2
new_local_repository(
name = "system_libs",
path = "/usr/lib64",
build_file_content = """
cc_library(
name = "sasl2",
srcs = ["libsasl2.so"],
visibility = ["//visibility:public"],
)
""",
)
# Based on https://github.com/envoyproxy/envoy-filter-example/blob/master/WORKSPACE
load("@envoy//bazel:api_repositories.bzl", "envoy_api_dependencies")
envoy_api_dependencies()
load("@envoy//bazel:repositories.bzl", "envoy_dependencies")
load("@envoy//bazel:cc_configure.bzl", "cc_configure")
envoy_dependencies()
load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()
cc_configure()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()