mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-02 22:43:48 +08:00
f4f701db32
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Bug: 112062612 Test: $ m SANITIZE_HOST=address $OUT_DIR/host/linux-x86/bin/e2fsck $OUT_DIR/host/linux-x86/bin/llvm-symbolizer $ $OUT_DIR/host/linux-x86/bin/e2fsck Change-Id: I3f1a18d6d72116d864a79f0acef37625124f4c1a From AOSP commit: 3271c69c97f486914fea833a36eaf5d86938c76d
68 lines
1.2 KiB
Plaintext
68 lines
1.2 KiB
Plaintext
// Copyright 2017 The Android Open Source Project
|
|
|
|
//########################
|
|
// Build the e2fsck binary
|
|
|
|
cc_defaults {
|
|
name: "e2fsck-defaults",
|
|
defaults: ["e2fsprogs-defaults"],
|
|
srcs: [
|
|
"e2fsck.c",
|
|
"super.c",
|
|
"pass1.c",
|
|
"pass1b.c",
|
|
"pass2.c",
|
|
"pass3.c",
|
|
"pass4.c",
|
|
"pass5.c",
|
|
"logfile.c",
|
|
"journal.c",
|
|
"recovery.c",
|
|
"revoke.c",
|
|
"badblocks.c",
|
|
"util.c",
|
|
"unix.c",
|
|
"dirinfo.c",
|
|
"dx_dirinfo.c",
|
|
"ehandler.c",
|
|
"problem.c",
|
|
"message.c",
|
|
"ea_refcount.c",
|
|
"quota.c",
|
|
"rehash.c",
|
|
"region.c",
|
|
"sigcatcher.c",
|
|
"readahead.c",
|
|
"extents.c",
|
|
],
|
|
cflags: [
|
|
"-Wno-sign-compare",
|
|
"-fno-strict-aliasing",
|
|
],
|
|
}
|
|
|
|
e2fsck_libs = [
|
|
"libext2fs",
|
|
"libext2_blkid",
|
|
"libext2_uuid",
|
|
"libext2_quota",
|
|
"libext2_e2p",
|
|
]
|
|
|
|
cc_binary {
|
|
name: "e2fsck",
|
|
host_supported: true,
|
|
defaults: ["e2fsck-defaults"],
|
|
|
|
shared_libs: e2fsck_libs,
|
|
system_shared_libs: ["libc", "libdl"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "e2fsck_static",
|
|
static_executable: true,
|
|
defaults: ["e2fsck-defaults"],
|
|
|
|
static_libs: e2fsck_libs,
|
|
}
|