You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
2.3 KiB
107 lines
2.3 KiB
4 months ago
|
cc_defaults {
|
||
|
name: "ntfs-3g_defaults",
|
||
|
|
||
|
cflags: [
|
||
|
"-Werror",
|
||
|
"-Wall",
|
||
|
"-DHAVE_CONFIG_H",
|
||
|
"-D_FILE_OFFSET_BITS=64",
|
||
|
"-Wno-address-of-packed-member",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
cc_library {
|
||
|
name: "libfuse-lite",
|
||
|
|
||
|
srcs: ["libfuse-lite/*.c"],
|
||
|
defaults: ["ntfs-3g_defaults"],
|
||
|
local_include_dirs: ["include/fuse-lite"],
|
||
|
export_include_dirs: ["include/fuse-lite"],
|
||
|
}
|
||
|
|
||
|
cc_library {
|
||
|
name: "libntfs-3g",
|
||
|
|
||
|
srcs: [
|
||
|
"libntfs-3g/acls.c",
|
||
|
"libntfs-3g/attrib.c",
|
||
|
"libntfs-3g/attrlist.c",
|
||
|
"libntfs-3g/bitmap.c",
|
||
|
"libntfs-3g/bootsect.c",
|
||
|
"libntfs-3g/cache.c",
|
||
|
"libntfs-3g/collate.c",
|
||
|
"libntfs-3g/compat.c",
|
||
|
"libntfs-3g/compress.c",
|
||
|
"libntfs-3g/debug.c",
|
||
|
"libntfs-3g/device.c",
|
||
|
"libntfs-3g/dir.c",
|
||
|
"libntfs-3g/ea.c",
|
||
|
"libntfs-3g/efs.c",
|
||
|
"libntfs-3g/index.c",
|
||
|
"libntfs-3g/inode.c",
|
||
|
"libntfs-3g/ioctl.c",
|
||
|
"libntfs-3g/lcnalloc.c",
|
||
|
"libntfs-3g/logfile.c",
|
||
|
"libntfs-3g/logging.c",
|
||
|
"libntfs-3g/mft.c",
|
||
|
"libntfs-3g/misc.c",
|
||
|
"libntfs-3g/mst.c",
|
||
|
"libntfs-3g/object_id.c",
|
||
|
"libntfs-3g/realpath.c",
|
||
|
"libntfs-3g/reparse.c",
|
||
|
"libntfs-3g/runlist.c",
|
||
|
"libntfs-3g/security.c",
|
||
|
"libntfs-3g/unistr.c",
|
||
|
"libntfs-3g/unix_io.c",
|
||
|
"libntfs-3g/volume.c",
|
||
|
"libntfs-3g/xattrs.c"
|
||
|
],
|
||
|
defaults: ["ntfs-3g_defaults"],
|
||
|
local_include_dirs: ["include/ntfs-3g"],
|
||
|
export_include_dirs: ["include/ntfs-3g"],
|
||
|
}
|
||
|
|
||
|
cc_binary {
|
||
|
name: "fsck.ntfs",
|
||
|
|
||
|
srcs: [
|
||
|
"ntfsprogs/ntfsfix.c",
|
||
|
"ntfsprogs/utils.c",
|
||
|
],
|
||
|
defaults: ["ntfs-3g_defaults"],
|
||
|
shared_libs: [
|
||
|
"libfuse-lite",
|
||
|
"libntfs-3g",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
cc_binary {
|
||
|
name: "mkntfs",
|
||
|
|
||
|
srcs: [
|
||
|
"ntfsprogs/attrdef.c",
|
||
|
"ntfsprogs/boot.c",
|
||
|
"ntfsprogs/mkntfs.c",
|
||
|
"ntfsprogs/sd.c",
|
||
|
"ntfsprogs/utils.c",
|
||
|
],
|
||
|
defaults: ["ntfs-3g_defaults"],
|
||
|
shared_libs: [
|
||
|
"libfuse-lite",
|
||
|
"libntfs-3g",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
cc_binary {
|
||
|
name: "ntfs-3g",
|
||
|
|
||
|
srcs: [
|
||
|
"src/ntfs-3g.c",
|
||
|
"src/ntfs-3g_common.c",
|
||
|
],
|
||
|
defaults: ["ntfs-3g_defaults"],
|
||
|
shared_libs: [
|
||
|
"libfuse-lite",
|
||
|
"libntfs-3g",
|
||
|
],
|
||
|
}
|