summaryrefslogtreecommitdiffstats
path: root/C/Android.bp
blob: 69cb5b6267969fa950232f2305938c1c7fd3bc59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Copyright 2015 The Android Open Source Project

cc_library {
    name: "liblzma",
    host_supported: true,
    vendor_available: 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",
            ],
        },
    },
}