mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-30 16:42:07 +00:00
e285764b78
* Reorganized examples * Documentation * Third party
22 lines
381 B
Python
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__"],
|
|
)
|