summaryrefslogtreecommitdiffstats
path: root/third_party/libpng/using_libpng.scons
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libpng/using_libpng.scons')
-rw-r--r--third_party/libpng/using_libpng.scons22
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/libpng/using_libpng.scons b/third_party/libpng/using_libpng.scons
new file mode 100644
index 0000000..68b9c3f
--- /dev/null
+++ b/third_party/libpng/using_libpng.scons
@@ -0,0 +1,22 @@
+# Copyright (c) 2006-2008 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.
+
+__doc__ = """
+Settings for other components using the libpng library.
+"""
+
+Import("env")
+
+env.Append(
+ CPPPATH = [
+ '$LIBPNG_DIR',
+ ],
+ CPPDEFINES = [
+ 'PNG_USER_CONFIG',
+ 'CHROME_PNG_WRITE_SUPPORT',
+ ],
+ LIBS = [
+ 'libpng',
+ ],
+)