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