• 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    ramdisk_available: true,
7    recovery_available: true,
8    unique_host_soname: true,
9    defaults: ["e2fsprogs-defaults"],
10    srcs: [
11        "dict.c",
12        "mkquota.c",
13        "parse_qtype.c",
14        "plausible.c",
15        "profile.c",
16        "profile_helpers.c",
17        "prof_err.c",
18        "quotaio.c",
19        "quotaio_tree.c",
20        "quotaio_v2.c",
21    ],
22    shared_libs: [
23        "libext2fs",
24        "libext2_blkid",
25        "libext2_com_err",
26    ],
27
28    target: {
29        windows: {
30            enabled: true
31        },
32    },
33
34    header_libs: ["libext2-headers"],
35    export_include_dirs: ["."],
36    export_header_lib_headers: ["libext2-headers"],
37}
38
39cc_library_shared {
40    name: "libext2_profile",
41    host_supported: true,
42    unique_host_soname: true,
43    defaults: ["e2fsprogs-defaults"],
44
45    srcs: [
46        "prof_err.c",
47        "profile.c",
48    ],
49    shared_libs: ["libext2_com_err"],
50
51    header_libs: ["libext2-headers"],
52    export_include_dirs: ["."],
53    export_header_lib_headers: ["libext2-headers"],
54}
55
56cc_library {
57    name: "libext2_support",
58    host_supported: true,
59    defaults: ["e2fsprogs-defaults"],
60
61    srcs: [
62        "cstring.c",
63    ],
64    header_libs: ["libext2-headers"],
65    export_include_dirs: ["."],
66}
67