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 '7zCrc.c', |
9 '7zCrc.h', | 9 '7zCrc.h', |
10 'Archive/7z/7zAlloc.c', | 10 'Archive/7z/7zAlloc.c', |
(...skipping 19 matching lines...) Expand all Loading... |
30 'Compress/Branch/BranchX86_2.h', | 30 'Compress/Branch/BranchX86_2.h', |
31 'Compress/Lzma/LzmaDecode.c', | 31 'Compress/Lzma/LzmaDecode.c', |
32 'Compress/Lzma/LzmaDecode.h', | 32 'Compress/Lzma/LzmaDecode.h', |
33 'Compress/Lzma/LzmaTypes.h', | 33 'Compress/Lzma/LzmaTypes.h', |
34 'Types.h', | 34 'Types.h', |
35 ], | 35 ], |
36 }, | 36 }, |
37 'targets': [ | 37 'targets': [ |
38 { | 38 { |
39 'target_name': 'lzma_sdk', | 39 'target_name': 'lzma_sdk', |
40 'type': '<(library)', | 40 'type': 'static_library', |
41 'defines': [ | 41 'defines': [ |
42 '_LZMA_PROB32', | 42 '_LZMA_PROB32', |
43 '_LZMA_IN_CB', | 43 '_LZMA_IN_CB', |
44 ], | 44 ], |
45 'include_dirs': [ | 45 'include_dirs': [ |
46 '.', | 46 '.', |
47 ], | 47 ], |
48 # TODO: original configuration had /wd4800, add if | 48 # TODO: original configuration had /wd4800, add if |
49 # necessary and delete if not. | 49 # necessary and delete if not. |
50 # '/wd4800', | 50 # '/wd4800', |
51 'msvs_guid': 'B84553C8-5676-427B-B3E4-23DDDC4DBC7B', | 51 'msvs_guid': 'B84553C8-5676-427B-B3E4-23DDDC4DBC7B', |
52 'sources': ['<@(lzma_sdk_sources)'], | 52 'sources': ['<@(lzma_sdk_sources)'], |
53 'direct_dependent_settings': { | 53 'direct_dependent_settings': { |
54 'defines': [ | 54 'defines': [ |
55 '_LZMA_IN_CB', | 55 '_LZMA_IN_CB', |
56 ], | 56 ], |
57 'include_dirs': [ | 57 'include_dirs': [ |
58 '.', | 58 '.', |
59 ], | 59 ], |
60 }, | 60 }, |
61 }, | 61 }, |
62 ], | 62 ], |
63 'conditions': [ | 63 'conditions': [ |
64 ['OS=="win"', { | 64 ['OS=="win"', { |
65 'targets': [ | 65 'targets': [ |
66 { | 66 { |
67 'target_name': 'lzma_sdk64', | 67 'target_name': 'lzma_sdk64', |
68 'type': '<(library)', | 68 'type': 'static_library', |
69 'defines': [ | 69 'defines': [ |
70 '_LZMA_PROB32', | 70 '_LZMA_PROB32', |
71 '_LZMA_IN_CB', | 71 '_LZMA_IN_CB', |
72 ], | 72 ], |
73 'include_dirs': [ | 73 'include_dirs': [ |
74 '.', | 74 '.', |
75 ], | 75 ], |
76 'sources': ['<@(lzma_sdk_sources)'], | 76 'sources': ['<@(lzma_sdk_sources)'], |
77 'configurations': { | 77 'configurations': { |
78 'Common_Base': { | 78 'Common_Base': { |
(...skipping 12 matching lines...) Expand all Loading... |
91 ], | 91 ], |
92 }], | 92 }], |
93 ], | 93 ], |
94 } | 94 } |
95 | 95 |
96 # Local Variables: | 96 # Local Variables: |
97 # tab-width:2 | 97 # tab-width:2 |
98 # indent-tabs-mode:nil | 98 # indent-tabs-mode:nil |
99 # End: | 99 # End: |
100 # vim: set expandtab tabstop=2 shiftwidth=2: | 100 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |