diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
commit | 5dced3d1b3deca80e01415a2e35dc7972dcbfae7 (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /lib/support/Android.bp | |
parent | Initial commit. (diff) | |
download | e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.tar.xz e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.zip |
Adding upstream version 1.47.0.upstream/1.47.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/support/Android.bp')
-rw-r--r-- | lib/support/Android.bp | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/lib/support/Android.bp b/lib/support/Android.bp new file mode 100644 index 0000000..af9b28d --- /dev/null +++ b/lib/support/Android.bp @@ -0,0 +1,78 @@ +// Copyright 2017 The Android Open Source 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-MIT + default_applicable_licenses: ["external_e2fsprogs_license"], +} + +cc_library { + name: "libext2_quota", + host_supported: true, + ramdisk_available: true, + vendor_ramdisk_available: true, + recovery_available: true, + unique_host_soname: true, + defaults: ["e2fsprogs-defaults"], + srcs: [ + "devname.c", + "dict.c", + "mkquota.c", + "parse_qtype.c", + "plausible.c", + "profile.c", + "profile_helpers.c", + "prof_err.c", + "quotaio.c", + "quotaio_tree.c", + "quotaio_v2.c", + ], + shared_libs: [ + "libext2fs", + "libext2_blkid", + "libext2_com_err", + ], + + target: { + windows: { + enabled: true, + }, + }, + + header_libs: ["libext2-headers"], + export_include_dirs: ["."], + export_header_lib_headers: ["libext2-headers"], +} + +cc_library_shared { + name: "libext2_profile", + host_supported: true, + unique_host_soname: true, + defaults: ["e2fsprogs-defaults"], + + srcs: [ + "prof_err.c", + "profile.c", + ], + shared_libs: ["libext2_com_err"], + + header_libs: ["libext2-headers"], + export_include_dirs: ["."], + export_header_lib_headers: ["libext2-headers"], +} + +cc_library { + name: "libext2_support", + host_supported: true, + defaults: ["e2fsprogs-defaults"], + + srcs: [ + "cstring.c", + ], + header_libs: ["libext2-headers"], + export_include_dirs: ["."], +} |