OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 '7zCrc.c', | 8 'C/7z.h', |
9 '7zCrc.h', | 9 'C/7zAlloc.c', |
10 'Archive/7z/7zAlloc.c', | 10 'C/7zAlloc.h', |
11 'Archive/7z/7zAlloc.h', | 11 'C/7zBuf.c', |
12 'Archive/7z/7zBuffer.c', | 12 'C/7zBuf.h', |
13 'Archive/7z/7zBuffer.h', | 13 'C/7zBuf2.c', |
14 'Archive/7z/7zDecode.c', | 14 'C/7zCrc.c', |
15 'Archive/7z/7zDecode.h', | 15 'C/7zCrc.h', |
16 'Archive/7z/7zExtract.c', | 16 'C/7zCrcOpt.c', |
17 'Archive/7z/7zExtract.h', | 17 'C/7zDec.c', |
18 'Archive/7z/7zHeader.c', | 18 'C/7zFile.c', |
19 'Archive/7z/7zHeader.h', | 19 'C/7zFile.h', |
20 'Archive/7z/7zIn.c', | 20 'C/7zIn.c', |
21 'Archive/7z/7zIn.h', | 21 'C/7zStream.c', |
22 'Archive/7z/7zItem.c', | 22 'C/7zVersion.h', |
23 'Archive/7z/7zItem.h', | 23 'C/Alloc.c', |
24 'Archive/7z/7zMethodID.c', | 24 'C/Alloc.h', |
25 'Archive/7z/7zMethodID.h', | 25 'C/Bcj2.c', |
26 'Compress/Branch/BranchTypes.h', | 26 'C/Bcj2.h', |
27 'Compress/Branch/BranchX86.c', | 27 'C/Bra.c', |
28 'Compress/Branch/BranchX86.h', | 28 'C/Bra.h', |
29 'Compress/Branch/BranchX86_2.c', | 29 'C/Bra86.c', |
30 'Compress/Branch/BranchX86_2.h', | 30 'C/BraIA64.c', |
31 'Compress/Lzma/LzmaDecode.c', | 31 'C/CpuArch.c', |
32 'Compress/Lzma/LzmaDecode.h', | 32 'C/CpuArch.h', |
33 'Compress/Lzma/LzmaTypes.h', | 33 'C/Delta.c', |
34 'Types.h', | 34 'C/Delta.h', |
| 35 'C/LzFind.c', |
| 36 'C/LzFind.h', |
| 37 'C/LzFindMt.c', |
| 38 'C/LzFindMt.h', |
| 39 'C/LzHash.h', |
| 40 'C/Lzma2Dec.c', |
| 41 'C/Lzma2Dec.h', |
| 42 'C/Lzma2Enc.c', |
| 43 'C/Lzma2Enc.h', |
| 44 'C/Lzma86.h', |
| 45 'C/Lzma86Dec.c', |
| 46 'C/Lzma86Enc.c', |
| 47 'C/LzmaDec.c', |
| 48 'C/LzmaDec.h', |
| 49 'C/LzmaEnc.c', |
| 50 'C/LzmaEnc.h', |
| 51 'C/LzmaLib.c', |
| 52 'C/LzmaLib.h', |
| 53 'C/MtCoder.c', |
| 54 'C/MtCoder.h', |
| 55 'C/Ppmd.h', |
| 56 'C/Ppmd7.c', |
| 57 'C/Ppmd7.h', |
| 58 'C/Ppmd7Dec.c', |
| 59 'C/Ppmd7Enc.c', |
| 60 'C/RotateDefs.h', |
| 61 'C/Sha256.c', |
| 62 'C/Sha256.h', |
| 63 'C/Threads.c', |
| 64 'C/Threads.h', |
| 65 'C/Types.h', |
| 66 'C/Xz.c', |
| 67 'C/Xz.h', |
| 68 'C/XzCrc64.c', |
| 69 'C/XzCrc64.h', |
| 70 'C/XzDec.c', |
| 71 'C/XzEnc.c', |
| 72 'C/XzEnc.h', |
| 73 'C/XzIn.c', |
35 ], | 74 ], |
36 }, | 75 }, |
37 'targets': [ | 76 'targets': [ |
38 { | 77 { |
39 'target_name': 'lzma_sdk', | 78 'target_name': 'lzma_sdk', |
40 'type': '<(library)', | 79 'type': '<(library)', |
41 'defines': [ | 80 'defines': [ |
42 '_LZMA_PROB32', | 81 '_LZMA_PROB32', |
43 '_LZMA_IN_CB', | 82 '_LZMA_IN_CB', |
44 ], | 83 ], |
45 'include_dirs': [ | 84 'include_dirs': [ |
46 '.', | 85 'C', |
47 ], | 86 ], |
48 # TODO: original configuration had /wd4800, add if | |
49 # necessary and delete if not. | |
50 # '/wd4800', | |
51 'msvs_guid': 'B84553C8-5676-427B-B3E4-23DDDC4DBC7B', | 87 'msvs_guid': 'B84553C8-5676-427B-B3E4-23DDDC4DBC7B', |
52 'sources': ['<@(lzma_sdk_sources)'], | 88 'sources': ['<@(lzma_sdk_sources)'], |
53 'direct_dependent_settings': { | 89 'direct_dependent_settings': { |
54 'defines': [ | 90 'defines': [ |
55 '_LZMA_IN_CB', | 91 '_LZMA_IN_CB', |
56 ], | 92 ], |
57 'include_dirs': [ | 93 'include_dirs': [ |
58 '.', | 94 'C', |
59 ], | 95 ], |
60 }, | 96 }, |
61 }, | 97 }, |
62 ], | 98 ], |
63 'conditions': [ | 99 'conditions': [ |
64 ['OS=="win"', { | 100 ['OS=="win"', { |
65 'targets': [ | 101 'targets': [ |
66 { | 102 { |
67 'target_name': 'lzma_sdk64', | 103 'target_name': 'lzma_sdk64', |
68 'type': '<(library)', | 104 'type': '<(library)', |
69 'defines': [ | 105 'defines': [ |
70 '_LZMA_PROB32', | 106 '_LZMA_PROB32', |
71 '_LZMA_IN_CB', | 107 '_LZMA_IN_CB', |
72 ], | 108 ], |
73 'include_dirs': [ | 109 'include_dirs': [ |
74 '.', | 110 'C', |
75 ], | 111 ], |
76 'sources': ['<@(lzma_sdk_sources)'], | 112 'sources': ['<@(lzma_sdk_sources)'], |
77 'configurations': { | 113 'configurations': { |
78 'Common_Base': { | 114 'Common_Base': { |
79 'msvs_target_platform': 'x64', | 115 'msvs_target_platform': 'x64', |
80 }, | 116 }, |
81 }, | 117 }, |
82 'direct_dependent_settings': { | 118 'direct_dependent_settings': { |
83 'defines': [ | 119 'defines': [ |
84 '_LZMA_IN_CB', | 120 '_LZMA_IN_CB', |
85 ], | 121 ], |
86 'include_dirs': [ | 122 'include_dirs': [ |
87 '.', | 123 'C', |
88 ], | 124 ], |
89 }, | 125 }, |
90 }, | 126 }, |
91 ], | 127 ], |
92 }], | 128 }], |
93 ], | 129 ], |
94 } | 130 } |
95 | 131 |
96 # Local Variables: | 132 # Local Variables: |
97 # tab-width:2 | 133 # tab-width:2 |
98 # indent-tabs-mode:nil | 134 # indent-tabs-mode:nil |
99 # End: | 135 # End: |
100 # vim: set expandtab tabstop=2 shiftwidth=2: | 136 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |