Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: build/linux/unbundle/zlib.gn

Issue 1881263003: unbundle: add shim_headers.gni and unbundled GN file for zlib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/linux/unbundle/replace_gn_files.py ('k') | build/shim_headers.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 source_set("zlib") {
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 source_set("minizip") {
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 }
OLDNEW
« no previous file with comments | « build/linux/unbundle/replace_gn_files.py ('k') | build/shim_headers.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698