// Copyright 2017 The Android Open Source Project

cc_library {
    name: "libext2_uuid",
    host_supported: true,
    unique_host_soname: true,
    srcs: [
        "clear.c",
        "compare.c",
        "copy.c",
        "gen_uuid.c",
        "isnull.c",
        "pack.c",
        "parse.c",
        "unpack.c",
        "unparse.c",
        "uuid_time.c",
    ],
    cflags: [
        "-W",
        "-Wall",
        "-Wno-unused-function",
        "-Wno-unused-parameter",
    ],
    target: {
        windows: {
            include_dirs: [ "external/e2fsprogs/include/mingw" ],
            enabled: true
        },
    },
    header_libs: ["libext2-headers"],
    export_include_dirs: ["."],
    export_header_lib_headers: ["libext2-headers"],
}
