mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 17:09:30 -05:00
a25c90e9bb
* chore: clean-up TODOs * cli: make OpenStack error explicit * cli: remove deprecated flags * config: require DeployCSIDriver field
46 lines
909 B
Python
46 lines
909 B
Python
load("@bazel_skylib//rules:build_test.bzl", "build_test")
|
|
load("@rules_cc//cc:defs.bzl", "cc_test")
|
|
|
|
exports_files(
|
|
[
|
|
"BUILD.openssl.bazel",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_test(
|
|
name = "openssl_test",
|
|
srcs = ["openssl_test.cc"],
|
|
linkopts = select({
|
|
"@org_openssl//:msvc_compiler": [
|
|
"advapi32.lib",
|
|
"user32.lib",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
target_compatible_with = [
|
|
"@platforms//os:linux",
|
|
],
|
|
deps = ["@org_openssl//:openssl"],
|
|
)
|
|
|
|
build_test(
|
|
name = "build_test",
|
|
target_compatible_with = [
|
|
"@platforms//os:linux",
|
|
],
|
|
targets = [
|
|
"@org_openssl//:openssl",
|
|
],
|
|
visibility = ["//:__pkg__"],
|
|
)
|
|
|
|
test_suite(
|
|
name = "openssl_test_suite",
|
|
tests = [
|
|
":build_test",
|
|
":openssl_test",
|
|
],
|
|
visibility = ["//:__pkg__"],
|
|
)
|