aboutsummaryrefslogtreecommitdiff
path: root/lib/support/Android.bp
blob: 4a89b8f32bc41002a4bdf560f00c6da0799f3ab8 (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
// Copyright 2017 The Android Open Source Project

cc_library {
    name: "libext2_quota",
    host_supported: true,
    unique_host_soname: true,
    srcs: [
        "dict.c",
        "mkquota.c",
        "parse_qtype.c",
        "plausible.c",
        "profile.c",
        "profile_helpers.c",
        "prof_err.c",
        "quotaio.c",
        "quotaio_tree.c",
        "quotaio_v2.c",
    ],
    shared_libs: [
        "libext2fs",
        "libext2_blkid",
    ],

    target: {
        windows: {
            enabled: true
        },
    },

    cflags: [
        "-W",
        "-Wall",
        "-Wno-macro-redefined",
    ],

    header_libs: ["libext2-headers"],
    export_include_dirs: ["."],
    export_header_lib_headers: ["libext2-headers"],
}

cc_library_shared {
    name: "libext2_profile",
    host_supported: true,
    unique_host_soname: true,

    srcs: [
        "prof_err.c",
        "profile.c",
    ],
    cflags = [
        "-W",
        "-Wall",
    ],
    shared_libs: ["libext2_com_err"],

    header_libs: ["libext2-headers"],
    export_include_dirs: ["."],
    export_header_lib_headers: ["libext2-headers"],
}