Some checks failed
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Failing after 29s
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Failing after 16s
sm-rpc / build (Debug, host.gcc) (push) Failing after 11s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Failing after 12s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Failing after 11s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Failing after 11s
sm-rpc / build (Release, host.gcc) (push) Failing after 12s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Failing after 16s
23 lines
598 B
Plaintext
23 lines
598 B
Plaintext
# copied from: https://github.com/bazelbuild/bazel/blob/master/third_party/zlib/BUILD
|
|
|
|
licenses(["notice"]) # BSD/MIT-like license (for zlib)
|
|
|
|
cc_library(
|
|
name = "zlib",
|
|
srcs = glob(["*.c"]),
|
|
hdrs = glob(["*.h"]),
|
|
# Use -Dverbose=-1 to turn off zlib's trace logging. (bazelbuild/bazel#3280)
|
|
copts = [
|
|
"-w",
|
|
"-Dverbose=-1",
|
|
],
|
|
includes = ["."],
|
|
local_defines = select({
|
|
"@bazel_tools//src/conditions:windows": [],
|
|
"//conditions:default": [
|
|
"Z_HAVE_UNISTD_H",
|
|
],
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|