]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - e2fsck/Android.bp
e2fsck: mark device inodes with EXT4_EXTENTS_FL bad
[thirdparty/e2fsprogs.git] / e2fsck / Android.bp
CommitLineData
a95c632b
AD
1// Copyright 2017 The Android Open Source Project
2
3//########################
4// Build the e2fsck binary
5
6cc_defaults {
7 name: "e2fsck-defaults",
c19b18f8 8 defaults: ["e2fsprogs-defaults"],
a95c632b
AD
9 srcs: [
10 "e2fsck.c",
11 "super.c",
12 "pass1.c",
13 "pass1b.c",
14 "pass2.c",
15 "pass3.c",
16 "pass4.c",
17 "pass5.c",
18 "logfile.c",
19 "journal.c",
20 "recovery.c",
21 "revoke.c",
22 "badblocks.c",
23 "util.c",
24 "unix.c",
25 "dirinfo.c",
26 "dx_dirinfo.c",
27 "ehandler.c",
28 "problem.c",
29 "message.c",
30 "ea_refcount.c",
31 "quota.c",
32 "rehash.c",
33 "region.c",
34 "sigcatcher.c",
35 "readahead.c",
36 "extents.c",
37 ],
c19b18f8
TT
38 cflags: [
39 "-Wno-sign-compare",
40 "-fno-strict-aliasing"
41 ],
a95c632b
AD
42}
43
44e2fsck_libs = [
45 "libext2fs",
46 "libext2_blkid",
47 "libext2_uuid",
48 "libext2_quota",
49 "libext2_com_err",
50 "libext2_e2p",
51]
52
53cc_binary {
54 name: "e2fsck",
55 host_supported: true,
56 defaults: ["e2fsck-defaults"],
57
58 shared_libs: e2fsck_libs,
88ca49f9 59 system_shared_libs: ["libc", "libdl"],
a95c632b
AD
60}
61
62cc_binary {
63 name: "e2fsck_static",
64 static_executable: true,
65 defaults: ["e2fsck-defaults"],
66
33b80078 67 static_libs: e2fsck_libs,
a95c632b 68}