Make LZMA SDK compatibility shims conditional on the version of the SDK.

Shims were previously introduced because Chromium's LZMA SDK is behind
Android's. In this CL, we revise the shims so that they are conditional
based on the LZMA SDK version in use. This should allow us to update
Chromium's LZMA SDK. Ideally, these shims can be removed after Chromium
is updated.

Bug: 1224596
Change-Id: I4a28edb0033be4c0f2db5b9c00dcb65f7694b9be
Reviewed-by: Mike Wittman <>
Bot-Commit: Mike Wittman <>
2 files changed