• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'targets': [
7    {
8      'target_name': 'libpng',
9      'type': 'none',
10      'dependencies': [
11        '../zlib/zlib.gyp:zlib',
12      ],
13      'direct_dependent_settings': {
14        'cflags': [
15          '<!@(pkg-config --cflags libpng)',
16        ],
17      },
18      'link_settings': {
19        'ldflags': [
20          '<!@(pkg-config --libs-only-L --libs-only-other libpng)',
21        ],
22        'libraries': [
23          '<!@(pkg-config --libs-only-l libpng)',
24        ],
25      },
26      'variables': {
27        'headers_root_path': '.',
28        'header_filenames': [
29          'png.h',
30          'pngconf.h',
31        ],
32      },
33      'includes': [
34        '../../build/shim_headers.gypi',
35      ],
36    },
37  ],
38}
39