• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2017 The Android Open Source Project
2
3package {
4    // See: http://go/android-license-faq
5    // A large-scale-change added 'default_applicable_licenses' to import
6    // all of the 'license_kinds' from "external_e2fsprogs_license"
7    // to get the below license kinds:
8    //   SPDX-license-identifier-GPL
9    //   SPDX-license-identifier-MIT
10    default_applicable_licenses: ["external_e2fsprogs_license"],
11}
12
13cc_library {
14    name: "libext2_quota",
15    host_supported: true,
16    ramdisk_available: true,
17    vendor_ramdisk_available: true,
18    recovery_available: true,
19    unique_host_soname: true,
20    defaults: ["e2fsprogs-defaults"],
21    srcs: [
22        "dict.c",
23        "mkquota.c",
24        "parse_qtype.c",
25        "plausible.c",
26        "profile.c",
27        "profile_helpers.c",
28        "prof_err.c",
29        "quotaio.c",
30        "quotaio_tree.c",
31        "quotaio_v2.c",
32    ],
33    shared_libs: [
34        "libext2fs",
35        "libext2_blkid",
36        "libext2_com_err",
37    ],
38
39    target: {
40        windows: {
41            enabled: true
42        },
43    },
44
45    header_libs: ["libext2-headers"],
46    export_include_dirs: ["."],
47    export_header_lib_headers: ["libext2-headers"],
48}
49
50cc_library_shared {
51    name: "libext2_profile",
52    host_supported: true,
53    unique_host_soname: true,
54    defaults: ["e2fsprogs-defaults"],
55
56    srcs: [
57        "prof_err.c",
58        "profile.c",
59    ],
60    shared_libs: ["libext2_com_err"],
61
62    header_libs: ["libext2-headers"],
63    export_include_dirs: ["."],
64    export_header_lib_headers: ["libext2-headers"],
65}
66
67cc_library {
68    name: "libext2_support",
69    host_supported: true,
70    defaults: ["e2fsprogs-defaults"],
71
72    srcs: [
73        "cstring.c",
74    ],
75    header_libs: ["libext2-headers"],
76    export_include_dirs: ["."],
77}
78