skflate.gyp 537 Bytes
Newer Older
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
# Target for including SkFlate.
{
  'targets': [
    {
      'target_name': 'skflate',
      'type': 'static_library',
      'dependencies': [
        'skia_lib.gyp:skia_lib',
      ],
      'conditions': [
        # When zlib is not availible on a system,
        # SkFlate::HaveFlate will just return false.
        [ 'skia_os != "win"',
          {
            'dependencies': [
              'zlib.gyp:zlib',
            ],
          }
        ],
      ],
      'sources': [
        '../src/core/SkFlate.cpp',
      ],
    },
  ],
}