Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 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 | } |