rabbitmq-server/deps/rabbitmq_amqp1_0/BUILD.bazel

97 lines
1.7 KiB
Python
Raw Normal View History

load("@bazel-erlang//:xref.bzl", "xref")
2021-05-31 16:17:49 +08:00
load("@bazel-erlang//:dialyze.bzl", "dialyze")
load(
"//:rabbitmq.bzl",
2021-05-11 16:44:28 +08:00
"broker_for_integration_suites",
"rabbitmq_integration_suite",
"rabbitmq_lib",
2021-05-11 16:44:28 +08:00
"rabbitmq_suite",
)
APP_ENV = """[
{default_user, "guest"},
{default_vhost, <<"/">>},
{protocol_strict_mode, false}
]"""
APP_NAME = "rabbitmq_amqp1_0"
APP_DESCRIPTION = "AMQP 1.0 support for RabbitMQ"
BUILD_DEPS = [
"//deps/rabbitmq_cli:rabbitmqctl",
]
DEPS = [
"//deps/rabbit_common:bazel_erlang_lib",
"//deps/amqp_client:bazel_erlang_lib",
"//deps/amqp10_common:bazel_erlang_lib",
]
RUNTIME_DEPS = [
"//deps/rabbit:bazel_erlang_lib",
]
rabbitmq_lib(
app_description = APP_DESCRIPTION,
app_env = APP_ENV,
app_name = APP_NAME,
build_deps = BUILD_DEPS,
runtime_deps = RUNTIME_DEPS,
deps = DEPS,
)
xref(tags = ["xref"])
2021-05-31 16:17:49 +08:00
dialyze(
plt = "//:base_plt",
tags = ["dialyze"],
)
2021-05-11 16:44:28 +08:00
broker_for_integration_suites()
PACKAGE = "deps/rabbitmq_amqp1_0"
rabbitmq_integration_suite(
PACKAGE,
name = "amqp10_client_SUITE",
runtime_deps = [
"//deps/amqp10_client:bazel_erlang_lib",
],
)
rabbitmq_integration_suite(
PACKAGE,
name = "command_SUITE",
deps = [
"//deps/amqp10_common:bazel_erlang_lib",
],
)
rabbitmq_integration_suite(
PACKAGE,
name = "proxy_protocol_SUITE",
)
rabbitmq_integration_suite(
PACKAGE,
name = "system_SUITE",
groups = [
"dotnet",
"java",
],
tags = [
"dotnet",
],
test_env = {
"TMPDIR": "$TEST_TMPDIR",
},
)
2021-05-11 16:44:28 +08:00
rabbitmq_suite(
name = "unit_SUITE",
deps = [
"//deps/amqp10_common:bazel_erlang_lib",
],
)