aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libpng')
-rw-r--r--third_party/libpng/BUILD.gn37
1 files changed, 37 insertions, 0 deletions
diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn
new file mode 100644
index 0000000000..fd80aad3b9
--- /dev/null
+++ b/third_party/libpng/BUILD.gn
@@ -0,0 +1,37 @@
+# Copyright 2016 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+declare_args() {
+}
+
+import("../third_party.gni")
+
+config("libpng_public") {
+ include_dirs = [ "." ]
+}
+third_party("libpng") {
+ public_configs = [ ":libpng_public" ]
+
+ deps = [
+ "//third_party/zlib",
+ ]
+ sources = [
+ "png.c",
+ "pngerror.c",
+ "pngget.c",
+ "pngmem.c",
+ "pngpread.c",
+ "pngread.c",
+ "pngrio.c",
+ "pngrtran.c",
+ "pngrutil.c",
+ "pngset.c",
+ "pngtrans.c",
+ "pngwio.c",
+ "pngwrite.c",
+ "pngwtran.c",
+ "pngwutil.c",
+ ]
+}