bashi@chromium.org | c2a9375 | 2012-05-02 00:18:22 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 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 | # lzma_sdk for standalone build. |
| 6 | { |
| 7 | 'targets': [ |
| 8 | { |
| 9 | 'target_name': 'ots_lzma_sdk', |
| 10 | 'type': 'static_library', |
| 11 | 'defines': [ |
| 12 | '_7ZIP_ST', # Disable multi-thread support. |
| 13 | '_LZMA_PROB32', # This could increase the speed on 32bit platform. |
| 14 | ], |
| 15 | 'sources': [ |
| 16 | 'Alloc.c', |
| 17 | 'Alloc.h', |
| 18 | 'LzFind.c', |
| 19 | 'LzFind.h', |
| 20 | 'LzHash.h', |
| 21 | 'LzmaEnc.c', |
| 22 | 'LzmaEnc.h', |
| 23 | 'LzmaDec.c', |
| 24 | 'LzmaDec.h', |
| 25 | 'LzmaLib.c', |
| 26 | 'LzmaLib.h', |
| 27 | 'Types.h', |
| 28 | ], |
| 29 | 'include_dirs': [ |
| 30 | '.', |
| 31 | ], |
| 32 | 'direct_dependent_settings': { |
| 33 | 'include_dirs': [ |
| 34 | '../..', |
| 35 | ], |
| 36 | }, |
| 37 | }, |
| 38 | ], |
| 39 | } |