mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
aa70c7f64e
* Add buildifier targets. The tool allows to check and format BUILD files in the repo. To check if files are well formatted, run: bazel run //:buildifier To fix badly-formatted files run: bazel run //:buildifier-fix * Cleanup dade-copyright-headers formatting. * Fix dade-copyright-headers on files with just the copyright. * Run buildifier automatically on CI via 'fmt.sh'. * Reformat all BUILD files with buildifier. Excludes autogenerated Bazel files.
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
package(default_visibility = ["//visibility:public"])
|
|
|
|
cc_library(
|
|
name = "z",
|
|
srcs = [
|
|
"adler32.c",
|
|
"compress.c",
|
|
"crc32.c",
|
|
"deflate.c",
|
|
"infback.c",
|
|
"inffast.c",
|
|
"inflate.c",
|
|
"inftrees.c",
|
|
"trees.c",
|
|
"uncompr.c",
|
|
"zutil.c",
|
|
],
|
|
hdrs = [
|
|
"crc32.h",
|
|
"deflate.h",
|
|
"gzguts.h",
|
|
"inffast.h",
|
|
"inffixed.h",
|
|
"inflate.h",
|
|
"inftrees.h",
|
|
"trees.h",
|
|
"zconf.h",
|
|
"zlib.h",
|
|
"zutil.h",
|
|
],
|
|
includes = [
|
|
".",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|
|
|
|
# filegroups for library and headers, to
|
|
# be passed to hazel_repositories.
|
|
|
|
filegroup(
|
|
name = "lib",
|
|
srcs = [":z"],
|
|
output_group = "dynamic_library",
|
|
)
|
|
|
|
filegroup(
|
|
name = "headers",
|
|
srcs = [
|
|
"crc32.h",
|
|
"deflate.h",
|
|
"gzguts.h",
|
|
"inffast.h",
|
|
"inffixed.h",
|
|
"inflate.h",
|
|
"inftrees.h",
|
|
"trees.h",
|
|
"zconf.h",
|
|
"zlib.h",
|
|
"zutil.h",
|
|
],
|
|
)
|