OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'lzma_sdk_sources': [ | 7 'lzma_sdk_sources': [ |
8 '7z.h', | 8 '7z.h', |
9 '7zAlloc.c', | 9 '7zAlloc.c', |
10 '7zAlloc.h', | 10 '7zAlloc.h', |
| 11 '7zArcIn.c', |
11 '7zBuf.c', | 12 '7zBuf.c', |
12 '7zBuf.h', | 13 '7zBuf.h', |
13 '7zCrc.c', | 14 '7zCrc.c', |
14 '7zCrc.h', | 15 '7zCrc.h', |
15 '7zCrcOpt.c', | 16 '7zCrcOpt.c', |
16 '7zDec.c', | 17 '7zDec.c', |
17 '7zFile.c', | 18 '7zFile.c', |
18 '7zFile.h', | 19 '7zFile.h', |
19 '7zIn.c', | |
20 '7zStream.c', | 20 '7zStream.c', |
| 21 '7zTypes.h', |
21 'Alloc.c', | 22 'Alloc.c', |
22 'Alloc.h', | 23 'Alloc.h', |
23 'Bcj2.c', | 24 'Bcj2.c', |
24 'Bcj2.h', | 25 'Bcj2.h', |
25 'Bra.c', | 26 'Bra.c', |
26 'Bra.h', | 27 'Bra.h', |
27 'Bra86.c', | 28 'Bra86.c', |
| 29 'Compiler.h', |
28 'CpuArch.c', | 30 'CpuArch.c', |
29 'CpuArch.h', | 31 'CpuArch.h', |
| 32 'Delta.c', |
| 33 'Delta.h', |
30 'LzFind.c', | 34 'LzFind.c', |
31 'LzFind.h', | 35 'LzFind.h', |
32 'LzHash.h', | 36 'LzHash.h', |
33 'Lzma2Dec.c', | 37 'Lzma2Dec.c', |
34 'Lzma2Dec.h', | 38 'Lzma2Dec.h', |
35 'LzmaEnc.c', | 39 'LzmaEnc.c', |
36 'LzmaEnc.h', | 40 'LzmaEnc.h', |
37 'LzmaDec.c', | 41 'LzmaDec.c', |
38 'LzmaDec.h', | 42 'LzmaDec.h', |
39 'LzmaLib.c', | 43 'LzmaLib.c', |
40 'LzmaLib.h', | 44 'LzmaLib.h', |
41 'Types.h', | 45 'Precomp.h', |
42 ], | 46 ], |
43 }, | 47 }, |
44 'targets': [ | 48 'targets': [ |
45 { | 49 { |
46 'target_name': 'lzma_sdk', | 50 'target_name': 'lzma_sdk', |
47 'type': 'static_library', | 51 'type': 'static_library', |
48 'defines': [ | 52 'defines': [ |
49 '_7ZIP_ST', | 53 '_7ZIP_ST', |
| 54 '_7Z_NO_METHODS_FILTERS', |
50 '_LZMA_PROB32', | 55 '_LZMA_PROB32', |
51 ], | 56 ], |
52 'variables': { | 57 'variables': { |
53 # Upstream uses self-assignment to avoid warnings. | 58 # Upstream uses self-assignment to avoid warnings. |
54 'clang_warning_flags': [ '-Wno-self-assign' ] | 59 'clang_warning_flags': [ '-Wno-self-assign' ] |
55 }, | 60 }, |
56 'sources': [ | 61 'sources': [ |
57 '<@(lzma_sdk_sources)', | 62 '<@(lzma_sdk_sources)', |
58 ], | 63 ], |
59 'include_dirs': [ | 64 'include_dirs': [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 'direct_dependent_settings': { | 99 'direct_dependent_settings': { |
95 'include_dirs': [ | 100 'include_dirs': [ |
96 '.', | 101 '.', |
97 ], | 102 ], |
98 }, | 103 }, |
99 }, | 104 }, |
100 ], | 105 ], |
101 }], | 106 }], |
102 ], | 107 ], |
103 } | 108 } |
OLD | NEW |