OLD | NEW |
1 # Copyright 2014 Google Inc. | 1 # Copyright 2014 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'skia_warnings_as_errors': 0, | 8 'skia_warnings_as_errors': 0, |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'zlib', | 12 'target_name': 'zlib', |
13 'conditions': [ | 13 'conditions': [ |
14 [ 'skia_android_framework', { | 14 [ 'skia_android_framework', { |
15 'type': 'none', | 15 'type': 'none', |
16 'direct_dependent_settings': { | 16 'direct_dependent_settings': { |
17 'include_dirs': [ 'external/zlib' ], | 17 'include_dirs': [ 'external/zlib' ], |
18 'link_settings': { 'libraries': [ '-lz' ] }, | 18 'link_settings': { 'libraries': [ '-lz' ] }, |
19 }, | 19 }, |
20 }, { | 20 }, { |
21 'type': 'static_library', | 21 'type': 'static_library', |
22 'cflags': [ '-w' ], | 22 'cflags': [ '-Wno-unused-value' ], |
| 23 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-unused-value', ], }, |
23 'sources': [ | 24 'sources': [ |
24 '../third_party/externals/zlib/adler32.c', | 25 '../third_party/externals/zlib/adler32.c', |
25 '../third_party/externals/zlib/compress.c', | 26 '../third_party/externals/zlib/compress.c', |
26 '../third_party/externals/zlib/crc32.c', | 27 '../third_party/externals/zlib/crc32.c', |
27 '../third_party/externals/zlib/deflate.c', | 28 '../third_party/externals/zlib/deflate.c', |
28 '../third_party/externals/zlib/gzclose.c', | 29 '../third_party/externals/zlib/gzclose.c', |
29 '../third_party/externals/zlib/gzlib.c', | 30 '../third_party/externals/zlib/gzlib.c', |
30 '../third_party/externals/zlib/gzread.c', | 31 '../third_party/externals/zlib/gzread.c', |
31 '../third_party/externals/zlib/gzwrite.c', | 32 '../third_party/externals/zlib/gzwrite.c', |
32 '../third_party/externals/zlib/infback.c', | 33 '../third_party/externals/zlib/infback.c', |
(...skipping 13 matching lines...) Expand all Loading... |
46 '../third_party/externals/zlib', | 47 '../third_party/externals/zlib', |
47 ], | 48 ], |
48 }, | 49 }, |
49 'defines': [ | 50 'defines': [ |
50 '_CRT_NONSTDC_NO_DEPRECATE', | 51 '_CRT_NONSTDC_NO_DEPRECATE', |
51 ], | 52 ], |
52 }], | 53 }], |
53 ], | 54 ], |
54 }], | 55 }], |
55 } | 56 } |
OLD | NEW |