You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.0 KiB
47 lines
1.0 KiB
# Copyright 2017 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build_overrides/build.gni")
|
|
|
|
if (build_with_chromium) {
|
|
static_library("zip") {
|
|
sources = [
|
|
"zip.cc",
|
|
"zip.h",
|
|
"zip_internal.cc",
|
|
"zip_internal.h",
|
|
"zip_reader.cc",
|
|
"zip_reader.h",
|
|
"zip_writer.cc",
|
|
"zip_writer.h",
|
|
]
|
|
deps = [
|
|
"//base",
|
|
"//third_party/zlib:minizip",
|
|
]
|
|
}
|
|
|
|
static_library("compression_utils") {
|
|
sources = [
|
|
"compression_utils.cc",
|
|
"compression_utils.h",
|
|
]
|
|
deps = [
|
|
"//base",
|
|
"//third_party/zlib",
|
|
]
|
|
public_deps = [ ":compression_utils_portable" ]
|
|
}
|
|
}
|
|
|
|
# This allows other users of Chromium's zlib library, but don't use Chromium's
|
|
# //base, to reuse some boilerplate code.
|
|
static_library("compression_utils_portable") {
|
|
sources = [
|
|
"compression_utils_portable.cc",
|
|
"compression_utils_portable.h",
|
|
]
|
|
public_deps = [ "//third_party/zlib" ]
|
|
}
|