1// Copyright 2015 The Android Open Source Project 2 3cc_library { 4 name: "liblzma", 5 host_supported: true, 6 vendor_available: true, 7 sdk_version: "9", 8 stl: "none", 9 10 cflags: ["-D_7ZIP_ST", "-Wno-empty-body"], 11 clang_cflags: ["-Wno-self-assign", "-Werror"], 12 13 export_include_dirs: ["."], 14 15 srcs: [ 16 "7zAlloc.c", 17 "7zArcIn.c", 18 "7zBuf2.c", 19 "7zBuf.c", 20 "7zCrc.c", 21 "7zCrcOpt.c", 22 "7zDec.c", 23 "7zFile.c", 24 "7zStream.c", 25 "Aes.c", 26 "AesOpt.c", 27 "Alloc.c", 28 "Bcj2.c", 29 "Bra86.c", 30 "Bra.c", 31 "BraIA64.c", 32 "CpuArch.c", 33 "Delta.c", 34 "LzFind.c", 35 "Lzma2Dec.c", 36 "Lzma2Enc.c", 37 "Lzma86Dec.c", 38 "Lzma86Enc.c", 39 "LzmaDec.c", 40 "LzmaEnc.c", 41 "LzmaLib.c", 42 "Ppmd7.c", 43 "Ppmd7Dec.c", 44 "Ppmd7Enc.c", 45 "Sha256.c", 46 "Sort.c", 47 "Xz.c", 48 "XzCrc64.c", 49 "XzCrc64Opt.c", 50 "XzDec.c", 51 "XzEnc.c", 52 "XzIn.c", 53 ], 54 55 target: { 56 linux_bionic: { 57 enabled: true, 58 }, 59 windows: { 60 enabled: true, 61 }, 62 }, 63} 64