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

cc_library {
    name: "libext2_uuid",
    host_supported: true,
    ramdisk_available: true,
    recovery_available: true,
    vendor_available: true,
    unique_host_soname: true,
    defaults: ["e2fsprogs-defaults"],
    srcs: [
        "clear.c",
        "compare.c",
        "copy.c",
        "gen_uuid.c",
        "isnull.c",
        "pack.c",
        "parse.c",
        "unpack.c",
        "unparse.c",
        "uuid_time.c",
    ],
    cflags: [
        "-Wno-unused-function",
        "-Wno-unused-parameter",
    ],
    target: {
        windows: {
            // Cannot suppress the _WIN32_WINNT redefined warning.
            cflags: ["-Wno-error"],
            include_dirs: [ "external/e2fsprogs/include/mingw" ],
            enabled: true
        },
    },
    header_libs: ["libext2-headers"],
    export_include_dirs: ["."],
    export_header_lib_headers: ["libext2-headers"],
}