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

Side by Side Diff: third_party/zlib/BUILD.gn

Issue 2163653002: GN: refactor third_party/gni (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fmt Created 4 years, 5 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 | « third_party/third_party.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 declare_args() {
7 }
8
6 import("../third_party.gni") 9 import("../third_party.gni")
7 10
8 config("zlib_public") { 11 config("zlib_public") {
9 include_dirs = [ "../externals/zlib" ] 12 include_dirs = [ "../externals/zlib" ]
10 } 13 }
11 source_set("zlib") { 14 third_party("zlib") {
12 public_configs = [ ":zlib_public" ] 15 public_configs = [ ":zlib_public" ]
13 configs -= unwanted_configs
14
15 cflags = [ "-w" ]
16 16
17 sources = [ 17 sources = [
18 "../externals/zlib/adler32.c", 18 "../externals/zlib/adler32.c",
19 "../externals/zlib/compress.c", 19 "../externals/zlib/compress.c",
20 "../externals/zlib/crc32.c", 20 "../externals/zlib/crc32.c",
21 "../externals/zlib/deflate.c", 21 "../externals/zlib/deflate.c",
22 "../externals/zlib/gzclose.c", 22 "../externals/zlib/gzclose.c",
23 "../externals/zlib/gzlib.c", 23 "../externals/zlib/gzlib.c",
24 "../externals/zlib/gzread.c", 24 "../externals/zlib/gzread.c",
25 "../externals/zlib/gzwrite.c", 25 "../externals/zlib/gzwrite.c",
26 "../externals/zlib/infback.c", 26 "../externals/zlib/infback.c",
27 "../externals/zlib/inffast.c", 27 "../externals/zlib/inffast.c",
28 "../externals/zlib/inflate.c", 28 "../externals/zlib/inflate.c",
29 "../externals/zlib/inftrees.c", 29 "../externals/zlib/inftrees.c",
30 "../externals/zlib/simd_stub.c", 30 "../externals/zlib/simd_stub.c",
31 "../externals/zlib/trees.c", 31 "../externals/zlib/trees.c",
32 "../externals/zlib/uncompr.c", 32 "../externals/zlib/uncompr.c",
33 "../externals/zlib/zutil.c", 33 "../externals/zlib/zutil.c",
34 ] 34 ]
35 } 35 }
OLDNEW
« no previous file with comments | « third_party/third_party.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698