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 defaults: ["e2fsprogs-defaults"],
37 export_include_dirs: ["."],
40 //########################################################################
44 name: "mke2fs_defaults",
45 recovery_available: true,
46 defaults: ["e2fsprogs-defaults"],
55 include_dirs: ["external/e2fsprogs/e2fsck"],
61 defaults: ["mke2fs_defaults"],
109 name: "mke2fs.microdroid",
110 defaults: ["mke2fs_defaults"],
126 symlinks: ["mkfs.ext4.microdroid"],
131 visibility: ["//packages/modules/Virtualization/microdroid"],
134 //##########################################################################
138 name: "tune2fs-defaults",
139 defaults: ["e2fsprogs-defaults"],
144 cflags: ["-DNO_RECOVERY"],
145 include_dirs: ["external/e2fsprogs/e2fsck"],
159 host_supported: true,
160 vendor_ramdisk_available: true,
161 defaults: ["tune2fs-defaults"],
163 shared_libs: tune2fs_libs,
167 name: "tune2fs_static",
168 static_executable: true,
169 defaults: ["tune2fs-defaults"],
171 static_libs: tune2fs_libs,
175 name: "tune2fs_ramdisk",
177 static_executable: true,
179 defaults: ["tune2fs-defaults"],
180 static_libs: tune2fs_libs,
185 defaults: ["tune2fs-defaults"],
187 cflags: ["-DBUILD_AS_LIB"],
188 static_libs: tune2fs_libs,
191 //########################################################################
196 host_supported: true,
197 defaults: ["e2fsprogs-defaults"],
199 srcs: ["badblocks.c"],
209 //########################################################################
213 name: "chattr-e2fsprogs",
214 host_supported: true,
215 defaults: ["e2fsprogs-defaults"],
224 //########################################################################
228 name: "lsattr-defaults",
230 defaults: ["e2fsprogs-defaults"],
239 name: "lsattr-e2fsprogs",
240 host_supported: true,
241 defaults: ["lsattr-defaults"],
243 shared_libs: lsattr_libs,
247 name: "lsattr_static",
248 static_executable: true,
249 defaults: ["lsattr-defaults"],
251 static_libs: lsattr_libs,
254 //########################################################################
259 host_supported: true,
260 defaults: ["e2fsprogs-defaults"],
272 name: "blkid_static",
273 host_supported: true,
274 static_executable: true,
275 defaults: ["e2fsprogs-defaults"],
287 //########################################################################
292 host_supported: true,
293 defaults: ["e2fsprogs-defaults"],
308 //##########################################################################
313 host_supported: true,
314 defaults: ["e2fsprogs-defaults"],
325 //##########################################################################
330 host_supported: true,
331 defaults: ["e2fsprogs-defaults"],
333 srcs: ["filefrag.c"],
339 //##########################################################################
344 host_supported: true,
345 defaults: ["e2fsprogs-defaults"],
350 header_libs: ["libext2-headers"],