Whamcloud - gitweb
po: update sr.po (from translationproject.org)
[tools/e2fsprogs.git] / e2fsck / Android.bp
1 // Copyright 2017 The Android Open Source Project
2
3 //########################
4 // Build the e2fsck binary
5
6 cc_defaults {
7     name: "e2fsck-defaults",
8     defaults: ["e2fsprogs-defaults"],
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         "encrypted_files.c",
38     ],
39     cflags: [
40         "-Wno-sign-compare",
41         "-fno-strict-aliasing",
42     ],
43 }
44
45 e2fsck_libs = [
46     "libext2fs",
47     "libext2_blkid",
48     "libext2_com_err",
49     "libext2_uuid",
50     "libext2_quota",
51     "libext2_e2p",
52 ]
53
54 cc_binary {
55     name: "e2fsck",
56     host_supported: true,
57     vendor_ramdisk_available: true,
58     defaults: ["e2fsck-defaults"],
59
60     shared_libs: e2fsck_libs,
61     system_shared_libs: ["libc", "libdl"],
62     required: ["badblocks"],
63 }
64
65 cc_binary {
66     name: "e2fsck_static",
67     static_executable: true,
68     defaults: ["e2fsck-defaults"],
69
70     static_libs: e2fsck_libs,
71 }
72
73 cc_binary {
74     name: "e2fsck_ramdisk",
75     stem: "e2fsck",
76     static_executable: true,
77     ramdisk: true,
78     defaults: ["e2fsck-defaults"],
79     system_shared_libs: [],
80     static_libs: e2fsck_libs,
81 }