| load("@rules_license//rules:license.bzl", "license") |
| load("//tools/distributions:distribution_rules.bzl", "distrib_cc_library") |
| package(default_applicable_licenses = [":license"]) |
| licenses(["notice"]) # BSD/MIT-like license |
| copyright_notice = "(C) 1995-2022 Jean-loup Gailly and Mark Adler", |
| "@rules_license//licenses/spdx:0BSD", |
| license_text = "LICENSE", |
| package_version = "1.2.12", |
| visibility = ["//third_party:__pkg__"], |
| srcs = glob(["*.c"]) + glob(["*.h"]) + [":embedded_build_file"] + ["LICENSE"], |
| visibility = ["//visibility:public"], |
| name = "embedded_build_file", |
| # Rename BUILD.bazel instead of BUILD to not be conflict with the BUILD file in source. |
| # Use -Dverbose=-1 to turn off zlib's trace logging. (#3280) |
| enable_distributions = ["debian"], |
| visibility = ["//visibility:public"], |