1 // Copyright 2017 The Android Open Source Project
3 // Library used to export files from this directory to other programs in this
6 // See: http://go/android-license-faq
7 // A large-scale-change added 'default_applicable_licenses' to import
8 // all of the 'license_kinds' from "external_e2fsprogs_license"
9 // to get the below license kinds:
10 // SPDX-license-identifier-GPL
11 // SPDX-license-identifier-LGPL
12 // SPDX-license-identifier-LGPL-2.1
13 // SPDX-license-identifier-LGPL-3.0
14 default_applicable_licenses: ["external_e2fsprogs_license"],
20 recovery_available: true,
21 vendor_available: true,
22 defaults: ["e2fsprogs-defaults"],
38 export_include_dirs: ["."],
41 //########################################################################
45 name: "mke2fs_defaults",
46 recovery_available: true,
47 defaults: ["e2fsprogs-defaults"],
56 include_dirs: ["external/e2fsprogs/e2fsck"],
62 vendor_available: true,
63 defaults: ["mke2fs_defaults"],
111 name: "mke2fs.microdroid",
112 defaults: ["mke2fs_defaults"],
128 symlinks: ["mkfs.ext4.microdroid"],
131 no_full_install: true,
133 visibility: ["//packages/modules/Virtualization/microdroid"],
136 //##########################################################################
140 name: "tune2fs-defaults",
141 defaults: ["e2fsprogs-defaults"],
146 cflags: ["-DNO_RECOVERY"],
147 include_dirs: ["external/e2fsprogs/e2fsck"],
161 host_supported: true,
162 vendor_ramdisk_available: true,
163 defaults: ["tune2fs-defaults"],
165 shared_libs: tune2fs_libs,
169 name: "tune2fs_static",
170 static_executable: true,
171 defaults: ["tune2fs-defaults"],
173 static_libs: tune2fs_libs,
177 name: "tune2fs_ramdisk",
179 static_executable: true,
181 defaults: ["tune2fs-defaults"],
182 static_libs: tune2fs_libs,
187 defaults: ["tune2fs-defaults"],
189 cflags: ["-DBUILD_AS_LIB"],
190 static_libs: tune2fs_libs,
193 //########################################################################
198 defaults: ["e2fsprogs-defaults"],
200 srcs: ["badblocks.c"],
210 //########################################################################
214 name: "chattr-e2fsprogs",
215 host_supported: true,
216 defaults: ["e2fsprogs-defaults"],
225 //########################################################################
229 name: "lsattr-defaults",
231 defaults: ["e2fsprogs-defaults"],
240 name: "lsattr-e2fsprogs",
241 host_supported: true,
242 defaults: ["lsattr-defaults"],
244 shared_libs: lsattr_libs,
248 name: "lsattr_static",
249 static_executable: true,
250 defaults: ["lsattr-defaults"],
252 static_libs: lsattr_libs,
255 //########################################################################
260 host_supported: true,
261 defaults: ["e2fsprogs-defaults"],
273 name: "blkid_static",
274 host_supported: true,
275 static_executable: true,
276 defaults: ["e2fsprogs-defaults"],
288 //########################################################################
293 host_supported: true,
294 defaults: ["e2fsprogs-defaults"],
309 //##########################################################################
314 host_supported: true,
315 defaults: ["e2fsprogs-defaults"],
326 //##########################################################################
331 host_supported: true,
332 defaults: ["e2fsprogs-defaults"],
334 srcs: ["filefrag.c"],
340 //##########################################################################
345 host_supported: true,
346 defaults: ["e2fsprogs-defaults"],
351 header_libs: ["libext2-headers"],