| 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 | 87 # TODO: original configuration had /wd4800, add if |
| 49 # necessary and delete if not. | 88 # necessary and delete if not. |
| 50 # '/wd4800', | 89 # '/wd4800', |
| 51 'msvs_guid': 'B84553C8-5676-427B-B3E4-23DDDC4DBC7B', | 90 'msvs_guid': 'B84553C8-5676-427B-B3E4-23DDDC4DBC7B', |
| 52 'sources': ['<@(lzma_sdk_sources)'], | 91 'sources': ['<@(lzma_sdk_sources)'], |
| 53 'direct_dependent_settings': { | 92 'direct_dependent_settings': { |
| 54 'defines': [ | 93 'defines': [ |
| 55 '_LZMA_IN_CB', | 94 '_LZMA_IN_CB', |
| 56 ], | 95 ], |
| 57 'include_dirs': [ | 96 'include_dirs': [ |
| 58 '.', | 97 'C', |
| 59 ], | 98 ], |
| 60 }, | 99 }, |
| 61 }, | 100 }, |
| 62 ], | 101 ], |
| 63 'conditions': [ | 102 'conditions': [ |
| 64 ['OS=="win"', { | 103 ['OS=="win"', { |
| 65 'targets': [ | 104 'targets': [ |
| 66 { | 105 { |
| 67 'target_name': 'lzma_sdk64', | 106 'target_name': 'lzma_sdk64', |
| 68 'type': '<(library)', | 107 'type': '<(library)', |
| 69 'defines': [ | 108 'defines': [ |
| 70 '_LZMA_PROB32', | 109 '_LZMA_PROB32', |
| 71 '_LZMA_IN_CB', | 110 '_LZMA_IN_CB', |
| 72 ], | 111 ], |
| 73 'include_dirs': [ | 112 'include_dirs': [ |
| 74 '.', | 113 'C', |
| 75 ], | 114 ], |
| 76 'sources': ['<@(lzma_sdk_sources)'], | 115 'sources': ['<@(lzma_sdk_sources)'], |
| 77 'configurations': { | 116 'configurations': { |
| 78 'Common_Base': { | 117 'Common_Base': { |
| 79 'msvs_target_platform': 'x64', | 118 'msvs_target_platform': 'x64', |
| 80 }, | 119 }, |
| 81 }, | 120 }, |
| 82 'direct_dependent_settings': { | 121 'direct_dependent_settings': { |
| 83 'defines': [ | 122 'defines': [ |
| 84 '_LZMA_IN_CB', | 123 '_LZMA_IN_CB', |
| 85 ], | 124 ], |
| 86 'include_dirs': [ | 125 'include_dirs': [ |
| 87 '.', | 126 'C', |
| 88 ], | 127 ], |
| 89 }, | 128 }, |
| 90 }, | 129 }, |
| 91 ], | 130 ], |
| 92 }], | 131 }], |
| 93 ], | 132 ], |
| 94 } | 133 } |
| 95 | 134 |
| 96 # Local Variables: | 135 # Local Variables: |
| 97 # tab-width:2 | 136 # tab-width:2 |
| 98 # indent-tabs-mode:nil | 137 # indent-tabs-mode:nil |
| 99 # End: | 138 # End: |
| 100 # vim: set expandtab tabstop=2 shiftwidth=2: | 139 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |