1cc_library {
2    name: "libdiskconfig",
3    vendor_available: true,
4    srcs: [
5        "diskconfig.c",
6        "diskutils.c",
7        "write_lst.c",
8        "config_mbr.c",
9    ],
10
11    shared_libs: [
12        "libcutils",
13        "liblog",
14    ],
15    cflags: ["-Werror"],
16    export_include_dirs: ["include"],
17    local_include_dirs: ["include"],
18
19    target: {
20        darwin: {
21            enabled: false,
22        },
23        linux: {
24            cflags: [
25                "-O2",
26                "-g",
27                "-W",
28                "-Wall",
29                "-D_LARGEFILE64_SOURCE",
30            ],
31        },
32    },
33}
34