2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-30 16:42:07 +00:00
rules_foreign_cc/examples/third_party/zlib/BUILD.bazel
UebelAndre e285764b78
Restructed examples and enabled more testing (#515)
* Reorganized examples

* Documentation

* Third party
2021-02-26 20:21:13 +00:00

22 lines
381 B
Python

load("@rules_cc//cc:defs.bzl", "cc_binary")
exports_files(
[
"BUILD.zlib.bazel",
],
visibility = ["//visibility:public"],
)
cc_binary(
name = "zlib_usage_example",
srcs = ["zlib-example.cpp"],
deps = ["@zlib"],
)
sh_test(
name = "test_zlib",
srcs = ["test_zlib.sh"],
data = [":zlib_usage_example"],
visibility = ["//:__pkg__"],
)