rudimentary support for bazel builds

pull/234/head
Makarand Dharmapurikar 8 years ago
parent cacf7f1d4e
commit 4522e4856d
  1. 37
      BUILD
  2. 1
      WORKSPACE

37
BUILD

@ -0,0 +1,37 @@
# barebone build file for bazel (http://bazel.io)
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 = [
"include",
],
linkstatic = 1,
visibility = [
"//visibility:public",
],
)

@ -0,0 +1 @@
# empty WORKSPACE file to get bazel build (http://bazel.io) working
Loading…
Cancel
Save