BUILD.bazel 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License in the LICENSE file at the
  6. # root of this repository, or online at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. load("@bazel_skylib//rules:build_test.bzl", "build_test")
  16. load("@rules_cc//cc:defs.bzl", "cc_test")
  17. exports_files(
  18. [
  19. "BUILD.bzip2.bazel",
  20. "BUILD.jemalloc.bazel",
  21. "BUILD.lz4.bazel",
  22. "BUILD.openssl.bazel",
  23. "BUILD.zlib.bazel",
  24. "BUILD.zstd.bazel",
  25. ],
  26. visibility = ["//visibility:public"],
  27. )
  28. build_test(
  29. name = "build_test",
  30. targets = [
  31. "@bzip2//:bzip2",
  32. "@jemalloc//:jemalloc",
  33. "@lz4//:lz4",
  34. "@openssl//:openssl",
  35. "@com_google_protobuf//:protoc",
  36. "@zlib//:zlib",
  37. "@zstd//:zstd",
  38. ],
  39. visibility = ["//visibility:public"],
  40. )
  41. cc_test(
  42. name = "openssl_test",
  43. srcs = ["openssl/test.cc"],
  44. deps = ["@openssl"],
  45. )