| OLD | NEW |
| (Empty) |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 'target_name': 'zlib', | |
| 9 'type': 'none', | |
| 10 'variables': { | |
| 11 'headers_root_path': '.', | |
| 12 'header_filenames': [ | |
| 13 'zlib.h', | |
| 14 ], | |
| 15 }, | |
| 16 'includes': [ | |
| 17 '../../build/shim_headers.gypi', | |
| 18 ], | |
| 19 'direct_dependent_settings': { | |
| 20 'defines': [ | |
| 21 'USE_SYSTEM_ZLIB', | |
| 22 ], | |
| 23 }, | |
| 24 'link_settings': { | |
| 25 'libraries': [ | |
| 26 '-lz', | |
| 27 ], | |
| 28 }, | |
| 29 }, | |
| 30 { | |
| 31 'target_name': 'minizip', | |
| 32 'type': 'static_library', | |
| 33 'all_dependent_settings': { | |
| 34 'defines': [ | |
| 35 'USE_SYSTEM_MINIZIP', | |
| 36 ], | |
| 37 }, | |
| 38 'defines': [ | |
| 39 'USE_SYSTEM_MINIZIP', | |
| 40 ], | |
| 41 'link_settings': { | |
| 42 'libraries': [ | |
| 43 '-lminizip', | |
| 44 ], | |
| 45 }, | |
| 46 }, | |
| 47 { | |
| 48 'target_name': 'zip', | |
| 49 'type': 'static_library', | |
| 50 'dependencies': [ | |
| 51 'minizip', | |
| 52 '../../base/base.gyp:base', | |
| 53 ], | |
| 54 'include_dirs': [ | |
| 55 '../..', | |
| 56 ], | |
| 57 'sources': [ | |
| 58 'google/zip.cc', | |
| 59 'google/zip.h', | |
| 60 'google/zip_internal.cc', | |
| 61 'google/zip_internal.h', | |
| 62 'google/zip_reader.cc', | |
| 63 'google/zip_reader.h', | |
| 64 ], | |
| 65 }, | |
| 66 ], | |
| 67 } | |
| OLD | NEW |