Second attempt to update lzma_sdk to 9.20
commitc2a4e52708caf2c92e8f783ffb79e7212ad3f853
authorbashi@chromium.org <bashi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 22 Apr 2012 23:01:02 +0000 (22 23:01 +0000)
committerbashi@chromium.org <bashi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 22 Apr 2012 23:01:02 +0000 (22 23:01 +0000)
treebf761d0b82ad8c5a456240edf38fbb11623964ec
parent4a4e3477010dceec7df3313ec20c6d0915ef4fca
Second attempt to update lzma_sdk to 9.20

The first attempt (r132887) was reverted because the CL
caused build failure on Linux. This is second attempt.

Copied only C code required to open 7z archive files and
uncompress LZMA compression.
CpuArch.c was modified to fix an compile error on 32bit Linux.
Updated chrome/installer/util/lzma_util.cc to follow API
changes.

BUG=None
TEST=installer_util_unittests --gtest_filter='LzmaUtilTest.*'

Review URL: http://codereview.chromium.org/10152012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133393 0039d316-1c4b-4281-b951-d872f2087c98
60 files changed:
chrome/installer/util/lzma_util.cc
third_party/lzma_sdk/7z.h [new file with mode: 0644]
third_party/lzma_sdk/7zAlloc.c [moved from third_party/lzma_sdk/Archive/7z/7zAlloc.c with 80% similarity]
third_party/lzma_sdk/7zAlloc.h [new file with mode: 0644]
third_party/lzma_sdk/7zBuf.c [new file with mode: 0644]
third_party/lzma_sdk/7zBuf.h [new file with mode: 0644]
third_party/lzma_sdk/7zCrc.c
third_party/lzma_sdk/7zCrc.h
third_party/lzma_sdk/7zCrcOpt.c [new file with mode: 0644]
third_party/lzma_sdk/7zDec.c [new file with mode: 0644]
third_party/lzma_sdk/7zFile.c [new file with mode: 0644]
third_party/lzma_sdk/7zFile.h [new file with mode: 0644]
third_party/lzma_sdk/7zIn.c [new file with mode: 0644]
third_party/lzma_sdk/7zStream.c [new file with mode: 0644]
third_party/lzma_sdk/7z_C.vcproj [deleted file]
third_party/lzma_sdk/Alloc.c
third_party/lzma_sdk/Alloc.h
third_party/lzma_sdk/Archive/7z/7zAlloc.h [deleted file]
third_party/lzma_sdk/Archive/7z/7zBuffer.c [deleted file]
third_party/lzma_sdk/Archive/7z/7zBuffer.h [deleted file]
third_party/lzma_sdk/Archive/7z/7zDecode.c [deleted file]
third_party/lzma_sdk/Archive/7z/7zDecode.h [deleted file]
third_party/lzma_sdk/Archive/7z/7zExtract.c [deleted file]
third_party/lzma_sdk/Archive/7z/7zExtract.h [deleted file]
third_party/lzma_sdk/Archive/7z/7zHeader.c [deleted file]
third_party/lzma_sdk/Archive/7z/7zHeader.h [deleted file]
third_party/lzma_sdk/Archive/7z/7zIn.c [deleted file]
third_party/lzma_sdk/Archive/7z/7zIn.h [deleted file]
third_party/lzma_sdk/Archive/7z/7zItem.c [deleted file]
third_party/lzma_sdk/Archive/7z/7zItem.h [deleted file]
third_party/lzma_sdk/Archive/7z/7zMethodID.c [deleted file]
third_party/lzma_sdk/Archive/7z/7zMethodID.h [deleted file]
third_party/lzma_sdk/Bcj2.c [moved from third_party/lzma_sdk/Compress/Branch/BranchX86_2.c with 53% similarity]
third_party/lzma_sdk/Bcj2.h [new file with mode: 0644]
third_party/lzma_sdk/Bra.c [new file with mode: 0644]
third_party/lzma_sdk/Bra.h [new file with mode: 0644]
third_party/lzma_sdk/Bra86.c [moved from third_party/lzma_sdk/Compress/Branch/BranchX86.c with 75% similarity]
third_party/lzma_sdk/Compress/Branch/BranchTypes.h [deleted file]
third_party/lzma_sdk/Compress/Branch/BranchX86.h [deleted file]
third_party/lzma_sdk/Compress/Branch/BranchX86_2.h [deleted file]
third_party/lzma_sdk/Compress/Lzma/LzmaDecode.c [deleted file]
third_party/lzma_sdk/Compress/Lzma/LzmaDecode.h [deleted file]
third_party/lzma_sdk/Compress/Lzma/LzmaTypes.h [deleted file]
third_party/lzma_sdk/CpuArch.c [new file with mode: 0644]
third_party/lzma_sdk/CpuArch.h [new file with mode: 0644]
third_party/lzma_sdk/LzFind.c [new file with mode: 0644]
third_party/lzma_sdk/LzFind.h [new file with mode: 0644]
third_party/lzma_sdk/LzHash.h [new file with mode: 0644]
third_party/lzma_sdk/Lzma2Dec.c [new file with mode: 0644]
third_party/lzma_sdk/Lzma2Dec.h [new file with mode: 0644]
third_party/lzma_sdk/LzmaDec.c [new file with mode: 0644]
third_party/lzma_sdk/LzmaDec.h [new file with mode: 0644]
third_party/lzma_sdk/LzmaEnc.c [new file with mode: 0644]
third_party/lzma_sdk/LzmaEnc.h [new file with mode: 0644]
third_party/lzma_sdk/LzmaLib.c [new file with mode: 0644]
third_party/lzma_sdk/LzmaLib.h [new file with mode: 0644]
third_party/lzma_sdk/README.chromium
third_party/lzma_sdk/Types.h
third_party/lzma_sdk/chromium.patch [new file with mode: 0644]
third_party/lzma_sdk/lzma_sdk.gyp