summaryrefslogtreecommitdiffstats
path: root/third_party/libpng/using_libpng.scons
blob: 68b9c3fe5bad567d4e57a7527fc5f188a87f6327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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',
    ],
)