• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2017 The Android Open Source Project
2
3cc_library {
4    name: "libext2_e2p",
5    host_supported: true,
6    unique_host_soname: true,
7    srcs: [
8        "feature.c",
9        "fgetflags.c",
10        "fsetflags.c",
11        "fgetproject.c",
12        "fsetproject.c",
13        "fgetversion.c",
14        "fsetversion.c",
15        "getflags.c",
16        "getversion.c",
17        "hashstr.c",
18        "iod.c",
19        "ls.c",
20        "mntopts.c",
21        "parse_num.c",
22        "pe.c",
23        "pf.c",
24        "ps.c",
25        "setflags.c",
26        "setversion.c",
27        "uuid.c",
28        "ostype.c",
29        "percent.c",
30    ],
31
32    cflags: [
33        "-W",
34        "-Wall",
35        "-Wno-macro-redefined",
36    ],
37
38    target: {
39        windows: {
40            include_dirs: [ "external/e2fsprogs/include/mingw" ],
41            enabled: true
42        },
43    },
44
45    header_libs: ["libext2-headers"],
46    export_include_dirs: ["."],
47    export_header_lib_headers: ["libext2-headers"],
48}
49