aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/libpng.gyp
blob: 2998baaab6d1868301e2c14a57f3b33090479b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Gyp config to build libpng as needed for Skia.
{
  'targets': [
    {
      'target_name': 'libpng',
      'type': 'static_library',
      'dependencies': [
        'zlib.gyp:zlib',
      ],
      'include_dirs': [
        '../third_party/libpng',
      ],
      'sources': [
        '../third_party/libpng/png.h',
        '../third_party/libpng/pngconf.h',
        '../third_party/libpng/pngdebug.h',
        '../third_party/libpng/pnginfo.h',
        '../third_party/libpng/pnglibconf.h',
        '../third_party/libpng/pngpriv.h',
        '../third_party/libpng/pngstruct.h',

        '../third_party/libpng/png.c',
        '../third_party/libpng/pngerror.c',
        '../third_party/libpng/pngget.c',
        '../third_party/libpng/pngmem.c',
        '../third_party/libpng/pngpread.c',
        '../third_party/libpng/pngread.c',
        '../third_party/libpng/pngrio.c',
        '../third_party/libpng/pngrtran.c',
        '../third_party/libpng/pngrutil.c',
        '../third_party/libpng/pngset.c',
        '../third_party/libpng/pngtrans.c',
        '../third_party/libpng/pngwio.c',
        '../third_party/libpng/pngwrite.c',
        '../third_party/libpng/pngwtran.c',
        '../third_party/libpng/pngwutil.c',
      ],
      'all_dependent_settings': {
        'include_dirs': [
          '../third_party/libpng',
        ],
      },
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: