You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.4 KiB
74 lines
1.4 KiB
// Copyright 2015 The Android Open Source Project |
|
|
|
cc_library { |
|
name: "liblzma", |
|
host_supported: true, |
|
vendor_available: true, |
|
vndk: { |
|
enabled: true, |
|
support_system_process: true, |
|
}, |
|
sdk_version: "9", |
|
stl: "none", |
|
|
|
cflags: ["-D_7ZIP_ST", "-Wno-empty-body"], |
|
clang_cflags: ["-Wno-self-assign", "-Werror"], |
|
|
|
export_include_dirs: ["."], |
|
|
|
srcs: [ |
|
"7zAlloc.c", |
|
"7zArcIn.c", |
|
"7zBuf2.c", |
|
"7zBuf.c", |
|
"7zCrc.c", |
|
"7zCrcOpt.c", |
|
"7zDec.c", |
|
"7zFile.c", |
|
"7zStream.c", |
|
"Aes.c", |
|
"AesOpt.c", |
|
"Alloc.c", |
|
"Bcj2.c", |
|
"Bra86.c", |
|
"Bra.c", |
|
"BraIA64.c", |
|
"CpuArch.c", |
|
"Delta.c", |
|
"LzFind.c", |
|
"Lzma2Dec.c", |
|
"Lzma2Enc.c", |
|
"Lzma86Dec.c", |
|
"Lzma86Enc.c", |
|
"LzmaDec.c", |
|
"LzmaEnc.c", |
|
"LzmaLib.c", |
|
"Ppmd7.c", |
|
"Ppmd7Dec.c", |
|
"Ppmd7Enc.c", |
|
"Sha256.c", |
|
"Sort.c", |
|
"Xz.c", |
|
"XzCrc64.c", |
|
"XzCrc64Opt.c", |
|
"XzDec.c", |
|
"XzEnc.c", |
|
"XzIn.c", |
|
], |
|
|
|
target: { |
|
linux_bionic: { |
|
enabled: true, |
|
}, |
|
windows: { |
|
enabled: true, |
|
srcs: [ |
|
"Bcj2Enc.c", |
|
"DllSecur.c", |
|
"LzFindMt.c", |
|
"MtCoder.c", |
|
"Threads.c", |
|
], |
|
}, |
|
}, |
|
}
|
|
|