• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2017 The Android Open Source Project
2
3cc_library {
4    name: "libext2_uuid",
5    host_supported: true,
6    recovery_available: true,
7    unique_host_soname: true,
8    defaults: ["e2fsprogs-defaults"],
9    srcs: [
10        "clear.c",
11        "compare.c",
12        "copy.c",
13        "gen_uuid.c",
14        "isnull.c",
15        "pack.c",
16        "parse.c",
17        "unpack.c",
18        "unparse.c",
19        "uuid_time.c",
20    ],
21    cflags: [
22        "-Wno-unused-function",
23        "-Wno-unused-parameter",
24    ],
25    target: {
26        windows: {
27            // Cannot suppress the _WIN32_WINNT redefined warning.
28            cflags: ["-Wno-error"],
29            include_dirs: [ "external/e2fsprogs/include/mingw" ],
30            enabled: true
31        },
32    },
33    header_libs: ["libext2-headers"],
34    export_include_dirs: ["."],
35    export_header_lib_headers: ["libext2-headers"],
36}
37