| 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 'sources': [ | 23 'sources': [ |
| 23 '../third_party/externals/zlib/adler32.c', | 24 '../third_party/externals/zlib/adler32.c', |
| 24 '../third_party/externals/zlib/compress.c', | 25 '../third_party/externals/zlib/compress.c', |
| 25 '../third_party/externals/zlib/crc32.c', | 26 '../third_party/externals/zlib/crc32.c', |
| 26 '../third_party/externals/zlib/deflate.c', | 27 '../third_party/externals/zlib/deflate.c', |
| 27 '../third_party/externals/zlib/gzclose.c', | 28 '../third_party/externals/zlib/gzclose.c', |
| 28 '../third_party/externals/zlib/gzlib.c', | 29 '../third_party/externals/zlib/gzlib.c', |
| 29 '../third_party/externals/zlib/gzread.c', | 30 '../third_party/externals/zlib/gzread.c', |
| 30 '../third_party/externals/zlib/gzwrite.c', | 31 '../third_party/externals/zlib/gzwrite.c', |
| 31 '../third_party/externals/zlib/infback.c', | 32 '../third_party/externals/zlib/infback.c', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 45 '../third_party/externals/zlib', | 46 '../third_party/externals/zlib', |
| 46 ], | 47 ], |
| 47 }, | 48 }, |
| 48 'defines': [ | 49 'defines': [ |
| 49 '_CRT_NONSTDC_NO_DEPRECATE', | 50 '_CRT_NONSTDC_NO_DEPRECATE', |
| 50 ], | 51 ], |
| 51 }], | 52 }], |
| 52 ], | 53 ], |
| 53 }], | 54 }], |
| 54 } | 55 } |
| OLD | NEW |