"...packages_providers_mediaprovider.git" did not exist on "d1f37448350890725736ababcc23c7deb0b2153f"
zlib.gyp 1.05 KB
Newer Older
1 2 3 4 5
{
  'targets': [
    {
      'target_name': 'zlib',
      'type': 'static_library',
bungeman@google.com's avatar
bungeman@google.com committed
6 7
      'dependencies': [
        'skia_lib.gyp:skia_lib',
8 9 10 11 12 13 14
      ],
      'sources': [
        '../include/core/SkFlate.h',

        '../src/core/SkFlate.cpp',
      ],
      'conditions': [
15
        [ 'skia_os == "mac"', {
16 17 18 19 20 21 22
          'link_settings': {
            'libraries': [
              '$(SDKROOT)/usr/lib/libz.dylib',
            ],
          },
          'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
        }],
23 24 25
        [ 'skia_os == "ios"', {
          'link_settings': {
            'libraries': [
26
              '$(SDKROOT)/usr/lib/libz.dylib',
27 28 29 30
            ],
          },
          'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
        }],
borenet@google.com's avatar
borenet@google.com committed
31
        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android", "nacl"]', {
32 33 34 35 36 37 38 39 40 41 42 43 44
          'link_settings': { 'libraries': [ '-lz', ], },
          'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
        }],
      ],
    },
  ],
}

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