Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/shim_headers.gni") | |
| 6 | |
| 7 shim_headers("zlib_shim") { | |
| 8 root_path = "." | |
| 9 headers = [ "zlib.h" ] | |
| 10 } | |
| 11 | |
| 12 static_library("zlib") { | |
|
brettw
2016/04/14 20:20:07
This should be a source_set.
| |
| 13 deps = [ | |
| 14 ":zlib_shim", | |
| 15 ] | |
| 16 libs = [ "z" ] | |
| 17 } | |
| 18 | |
| 19 shim_headers("minizip_shim") { | |
| 20 root_path = "contrib" | |
| 21 headers = [ | |
| 22 "minizip/crypt.h", | |
| 23 "minizip/ioapi.h", | |
| 24 "minizip/iowin32.h", | |
| 25 "minizip/mztools.h", | |
| 26 "minizip/unzip.h", | |
| 27 "minizip/zip.h", | |
| 28 ] | |
| 29 } | |
| 30 | |
| 31 static_library("minizip") { | |
|
brettw
2016/04/14 20:20:07
This should be a source_set.
| |
| 32 deps = [ | |
| 33 ":minizip_shim", | |
| 34 ] | |
| 35 libs = [ "minizip" ] | |
| 36 } | |
| 37 | |
| 38 static_library("zip") { | |
| 39 sources = [ | |
| 40 "google/zip.cc", | |
| 41 "google/zip.h", | |
| 42 "google/zip_internal.cc", | |
| 43 "google/zip_internal.h", | |
| 44 "google/zip_reader.cc", | |
| 45 "google/zip_reader.h", | |
| 46 ] | |
| 47 deps = [ | |
| 48 ":minizip", | |
| 49 "//base", | |
| 50 ] | |
| 51 } | |
| 52 | |
| 53 static_library("compression_utils") { | |
| 54 sources = [ | |
| 55 "google/compression_utils.cc", | |
| 56 "google/compression_utils.h", | |
| 57 ] | |
| 58 deps = [ | |
| 59 ":zlib", | |
| 60 ] | |
| 61 } | |
| OLD | NEW |