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

Unified Diff: third_party/zlib/BUILD.gn

Issue 2152273002: Add support for Fuchsia (Closed) Base URL: https://fuchsia.googlesource.com/third_party/skia@master
Patch Set: Fix win build 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/third_party.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/BUILD.gn
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..0fff083a43e539ceed37b4b4883f9872db0e0f6b
--- /dev/null
+++ b/third_party/zlib/BUILD.gn
@@ -0,0 +1,35 @@
+# Copyright 2016 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("../third_party.gni")
+
+config("zlib_public") {
+ include_dirs = [ "../externals/zlib" ]
+}
+source_set("zlib") {
+ public_configs = [ ":zlib_public" ]
+ configs -= unwanted_configs
+
+ cflags = [ "-w" ]
+
+ 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",
+ ]
+}
« 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