b6f01045ad
Change-Id: Ic4266909eef21398377372a18b004e2ba37567e1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3810192 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michael Achenbach <machenbach@chromium.org> Auto-Submit: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/main@{#82194}
71 lines
1.6 KiB
Plaintext
71 lines
1.6 KiB
Plaintext
# Copyright 2021 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
cc_library(
|
|
name = "zlib",
|
|
srcs = [
|
|
"adler32.c",
|
|
"chromeconf.h",
|
|
"compress.c",
|
|
"contrib/optimizations/insert_string.h",
|
|
"cpu_features.c",
|
|
"cpu_features.h",
|
|
"crc32.c",
|
|
"crc32.h",
|
|
"deflate.c",
|
|
"deflate.h",
|
|
"gzclose.c",
|
|
"gzguts.h",
|
|
"gzlib.c",
|
|
"gzread.c",
|
|
"gzwrite.c",
|
|
"infback.c",
|
|
"inffast.c",
|
|
"inffast.h",
|
|
"inffixed.h",
|
|
"inflate.c",
|
|
"inflate.h",
|
|
"inftrees.c",
|
|
"inftrees.h",
|
|
"slide_hash_simd.h",
|
|
"trees.c",
|
|
"trees.h",
|
|
"uncompr.c",
|
|
"zconf.h",
|
|
"zlib.h",
|
|
"zutil.c",
|
|
"zutil.h",
|
|
],
|
|
hdrs = [
|
|
"zlib.h",
|
|
],
|
|
defines = [
|
|
"CHROMIUM_ZLIB_NO_CHROMECONF",
|
|
"CPU_NO_SIMD",
|
|
] + select({
|
|
"@platforms//os:windows": [],
|
|
"//conditions:default": [
|
|
"HAVE_HIDDEN",
|
|
],
|
|
}),
|
|
include_prefix = "third_party/zlib",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "zlib_compression_utils",
|
|
srcs = [
|
|
"google/compression_utils_portable.cc",
|
|
],
|
|
hdrs = [
|
|
"google/compression_utils_portable.h",
|
|
],
|
|
include_prefix = "third_party/zlib",
|
|
visibility = ["//visibility:public"],
|
|
copts = ["-Wnodeprecated-non-prototype"],
|
|
deps = [
|
|
"//external:zlib",
|
|
],
|
|
)
|