blob: fb6c18905402005a6e859ff7f657cff66fe52f8f [file] [log] [blame]
load("@rules_license//rules:license.bzl", "license")
package(default_applicable_licenses = [":license"])
licenses(["notice"]) # BSD/MIT-like license
license(
name = "license",
package_name = "zlib",
copyright_notice = "(C) 1995-2022 Jean-loup Gailly and Mark Adler",
license_kinds = [
"@rules_license//licenses/spdx:0BSD",
],
license_text = "LICENSE",
package_version = "1.2.12",
)
cc_library(
name = "zlib",
srcs = glob(["*.c"]),
hdrs = glob(["*.h"]),
# Use -Dverbose=-1 to turn off zlib's trace logging. (#3280)
copts = [
"-w",
"-Dverbose=-1",
],
includes = ["."],
visibility = ["//visibility:public"],
)