1 # Copyright 2014 Google Inc.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
8 'skia_warnings_as_errors': 0,
12 'target_name': 'zlib',
16 'type': 'static_library',
18 '../third_party/externals/zlib',
20 'direct_dependent_settings': {
22 'SK_ZLIB_INCLUDE="zlib.h"',
25 '../third_party/externals/zlib',
29 '../third_party/externals/zlib/src/adler32.c',
30 '../third_party/externals/zlib/src/compress.c',
31 '../third_party/externals/zlib/src/crc32.c',
32 '../third_party/externals/zlib/src/deflate.c',
33 '../third_party/externals/zlib/src/gzclose.c',
34 '../third_party/externals/zlib/src/gzlib.c',
35 '../third_party/externals/zlib/src/gzread.c',
36 '../third_party/externals/zlib/src/gzwrite.c',
37 '../third_party/externals/zlib/src/infback.c',
38 '../third_party/externals/zlib/src/inffast.c',
39 '../third_party/externals/zlib/src/inflate.c',
40 '../third_party/externals/zlib/src/inftrees.c',
41 '../third_party/externals/zlib/src/trees.c',
42 '../third_party/externals/zlib/src/uncompr.c',
43 '../third_party/externals/zlib/src/zutil.c',
45 }, { # not skia_zlib_static
47 'direct_dependent_settings': {
49 [ 'skia_android_framework', {
61 [ 'skia_os == "mac" or skia_os == "ios"', {
63 '$(SDKROOT)/usr/lib/libz.dylib',
65 }, { # skia_os != "mac" and skia_os != "ios"