Index: build/linux/unbundle/libpng.gyp |
diff --git a/build/linux/unbundle/libpng.gyp b/build/linux/unbundle/libpng.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d6933fc22ac291dc200b4f7148d45dadba49241f |
--- /dev/null |
+++ b/build/linux/unbundle/libpng.gyp |
@@ -0,0 +1,38 @@ |
+# Copyright 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'libpng', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '../zlib/zlib.gyp:zlib', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'cflags': [ |
+ '<!@(pkg-config --cflags libpng)', |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(pkg-config --libs-only-L --libs-only-other libpng)', |
+ ], |
+ 'libraries': [ |
+ '<!@(pkg-config --libs-only-l libpng)', |
+ ], |
+ }, |
+ 'variables': { |
+ 'headers_root_path': '.', |
+ 'header_filenames': [ |
+ 'png.h', |
+ 'pngconf.h', |
+ ], |
+ }, |
+ 'includes': [ |
+ '../../build/shim_headers.gypi', |
+ ], |
+ }, |
+ ], |
+} |