// Library used to export files from this directory to other programs in this
// project.
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_e2fsprogs_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-GPL
+ // SPDX-license-identifier-LGPL
+ // SPDX-license-identifier-LGPL-2.1
+ // SPDX-license-identifier-LGPL-3.0
+ default_applicable_licenses: ["external_e2fsprogs_license"],
+}
+
cc_library {
name: "libext2_misc",
host_supported: true,
"libext2_com_err",
"libext2_quota",
],
- system_shared_libs: ["libc", "libdl"],
export_include_dirs: ["."],
}
cc_binary {
name: "tune2fs",
host_supported: true,
+ vendor_ramdisk_available: true,
defaults: ["tune2fs-defaults"],
shared_libs: tune2fs_libs,
- system_shared_libs: ["libc", "libdl"],
}
cc_binary {
static_libs: tune2fs_libs,
}
+cc_binary {
+ name: "tune2fs_ramdisk",
+ stem: "tune2fs",
+ static_executable: true,
+ ramdisk: true,
+ defaults: ["tune2fs-defaults"],
+ static_libs: tune2fs_libs,
+}
+
cc_library_static {
name: "libtune2fs",
defaults: ["tune2fs-defaults"],
"libext2_blkid",
"libext2_e2p",
],
- system_shared_libs: ["libc", "libdl"],
}
//########################################################################
"libext2_com_err",
"libext2_e2p",
],
- system_shared_libs: ["libc", "libdl"],
}
//########################################################################
defaults: ["lsattr-defaults"],
shared_libs: lsattr_libs,
- system_shared_libs: ["libc", "libdl"],
}
cc_binary {
"libext2_com_err",
"libext2_e2p",
],
- system_shared_libs: ["libc", "libdl"],
}
//########################################################################
"libext2fs",
"libext2_uuid",
],
- system_shared_libs: ["libc", "libdl"],
target: {
darwin: {
"libext2_com_err",
"libext2_quota",
],
- system_shared_libs: ["libc", "libdl"],
}
//##########################################################################
shared_libs: [
"libext2fs",
],
- system_shared_libs: ["libc", "libdl"],
+}
+
+//##########################################################################
+// Build e2freefrag
+
+cc_binary {
+ name: "e2freefrag",
+ host_supported: true,
+ defaults: ["e2fsprogs-defaults"],
+
+ srcs: [
+ "e2freefrag.c",
+ ],
+ header_libs: ["libext2-headers"],
+ shared_libs: [
+ "libext2fs",
+ "libext2_com_err",
+ ],
}