• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2017 The Android Open Source Project
2
3cc_library {
4    name: "libext2_quota",
5    host_supported: true,
6    recovery_available: true,
7    unique_host_soname: true,
8    defaults: ["e2fsprogs-defaults"],
9    srcs: [
10        "dict.c",
11        "mkquota.c",
12        "parse_qtype.c",
13        "plausible.c",
14        "profile.c",
15        "profile_helpers.c",
16        "prof_err.c",
17        "quotaio.c",
18        "quotaio_tree.c",
19        "quotaio_v2.c",
20    ],
21    shared_libs: [
22        "libext2fs",
23        "libext2_blkid",
24        "libext2_com_err",
25    ],
26
27    target: {
28        windows: {
29            enabled: true
30        },
31    },
32
33    header_libs: ["libext2-headers"],
34    export_include_dirs: ["."],
35    export_header_lib_headers: ["libext2-headers"],
36}
37
38cc_library_shared {
39    name: "libext2_profile",
40    host_supported: true,
41    unique_host_soname: true,
42    defaults: ["e2fsprogs-defaults"],
43
44    srcs: [
45        "prof_err.c",
46        "profile.c",
47    ],
48    shared_libs: ["libext2_com_err"],
49
50    header_libs: ["libext2-headers"],
51    export_include_dirs: ["."],
52    export_header_lib_headers: ["libext2-headers"],
53}
54
55cc_library {
56    name: "libext2_support",
57    host_supported: true,
58    defaults: ["e2fsprogs-defaults"],
59
60    srcs: [
61        "cstring.c",
62    ],
63    header_libs: ["libext2-headers"],
64    export_include_dirs: ["."],
65}
66