2016-07-15 22:15:15 +00:00
|
|
|
# Copyright 2016 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
2016-07-19 15:25:00 +00:00
|
|
|
declare_args() {
|
|
|
|
}
|
|
|
|
|
2016-07-15 22:15:15 +00:00
|
|
|
import("../third_party.gni")
|
|
|
|
|
|
|
|
config("zlib_public") {
|
|
|
|
include_dirs = [ "../externals/zlib" ]
|
|
|
|
}
|
2016-07-19 15:25:00 +00:00
|
|
|
third_party("zlib") {
|
2016-07-15 22:15:15 +00:00
|
|
|
public_configs = [ ":zlib_public" ]
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"../externals/zlib/adler32.c",
|
|
|
|
"../externals/zlib/compress.c",
|
|
|
|
"../externals/zlib/crc32.c",
|
|
|
|
"../externals/zlib/deflate.c",
|
|
|
|
"../externals/zlib/gzclose.c",
|
|
|
|
"../externals/zlib/gzlib.c",
|
|
|
|
"../externals/zlib/gzread.c",
|
|
|
|
"../externals/zlib/gzwrite.c",
|
|
|
|
"../externals/zlib/infback.c",
|
|
|
|
"../externals/zlib/inffast.c",
|
|
|
|
"../externals/zlib/inflate.c",
|
|
|
|
"../externals/zlib/inftrees.c",
|
|
|
|
"../externals/zlib/simd_stub.c",
|
|
|
|
"../externals/zlib/trees.c",
|
|
|
|
"../externals/zlib/uncompr.c",
|
|
|
|
"../externals/zlib/zutil.c",
|
|
|
|
]
|
|
|
|
}
|