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

cc_library {
    name: "libext2_com_err",
    host_supported: true,
    ramdisk_available: true,
    recovery_available: true,
    unique_host_soname: true,
    defaults: ["e2fsprogs-defaults"],
    srcs: [
        "error_message.c",
        "et_name.c",
        "init_et.c",
        "com_err.c",
        "com_right.c",
    ],

    target: {
        windows: {
            enabled: true,
            cflags: [
                "-Wno-unused-variable",
            ],
        },
    },

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