forked from GoogleCloudPlatform/service-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
39 lines (34 loc) · 801 Bytes
/
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
load("//:plugins.bzl", "proxy_wasm_plugin_cpp", "proxy_wasm_plugin_rust", "proxy_wasm_tests")
licenses(["notice"]) # Apache 2
proxy_wasm_plugin_rust(
name = "plugin_rust.wasm",
srcs = ["plugin.rs"],
deps = [
"@crate_index//:log",
"@crate_index//:proxy-wasm",
],
)
proxy_wasm_plugin_cpp(
name = "plugin_cpp.wasm",
srcs = ["plugin.cc"],
deps = [
"@proxy_wasm_cpp_sdk//contrib:contrib_lib",
],
)
proxy_wasm_tests(
name = "tests",
config = ":tests.config",
plugins = [
":plugin_cpp.wasm",
":plugin_rust.wasm",
],
tests = ":tests.textpb",
)
proxy_wasm_tests(
name = "noconfig_tests",
plugins = [
":plugin_cpp.wasm",
":plugin_rust.wasm",
],
tests = ":tests_noconfig.textpb",
)