1 // Copyright 2017 The Android Open Source Project
3 // Library used to export files from this directory to other programs in this
8 recovery_available: true,
9 defaults: ["e2fsprogs-defaults"],
13 include_dirs: [ "external/e2fsprogs/include/mingw" ],
15 cflags: ["-Wno-unused-variable"],
22 cflags: ["-Wno-error=format-extra-args"],
28 system_shared_libs: ["libc", "libdl"],
29 export_include_dirs: ["."],
32 //########################################################################
38 recovery_available: true,
39 defaults: ["e2fsprogs-defaults"],
49 "-Wno-error=type-limits",
50 "-Wno-format-extra-args",
73 include_dirs: [ "external/e2fsprogs/include/mingw" ],
76 "-D__USE_MINGW_ALARM",
77 // mke2fs.c has a warning from gcc which cannot be suppressed:
78 // passing argument 3 of 'ext2fs_get_device_size' from
79 // incompatible pointer type
83 host_ldlibs: ["-lws2_32"],
99 symlinks: ["mkfs.ext2", "mkfs.ext3", "mkfs.ext4"],
102 stl: "libc++_static",
103 include_dirs: ["external/e2fsprogs/e2fsck"],
106 //##########################################################################
110 name: "tune2fs-defaults",
111 defaults: ["e2fsprogs-defaults"],
116 cflags: ["-DNO_RECOVERY"],
117 include_dirs: ["external/e2fsprogs/e2fsck"],
131 host_supported: true,
132 defaults: ["tune2fs-defaults"],
134 shared_libs: tune2fs_libs,
135 system_shared_libs: ["libc", "libdl"],
139 name: "tune2fs_static",
140 static_executable: true,
141 defaults: ["tune2fs-defaults"],
143 static_libs: tune2fs_libs,
148 defaults: ["tune2fs-defaults"],
150 cflags: ["-DBUILD_AS_LIB"],
151 static_libs: tune2fs_libs,
154 //########################################################################
159 host_supported: true,
160 defaults: ["e2fsprogs-defaults"],
162 srcs: ["badblocks.c"],
170 system_shared_libs: ["libc", "libdl"],
173 //########################################################################
178 host_supported: true,
179 defaults: ["e2fsprogs-defaults"],
186 system_shared_libs: ["libc", "libdl"],
189 //########################################################################
193 name: "lsattr-defaults",
195 defaults: ["e2fsprogs-defaults"],
205 host_supported: true,
206 defaults: ["lsattr-defaults"],
208 shared_libs: lsattr_libs,
209 system_shared_libs: ["libc", "libdl"],
213 name: "lsattr_static",
214 static_executable: true,
215 defaults: ["lsattr-defaults"],
217 static_libs: lsattr_libs,
220 //########################################################################
225 defaults: ["e2fsprogs-defaults"],
234 system_shared_libs: ["libc", "libdl"],
237 //########################################################################
242 host_supported: true,
243 defaults: ["e2fsprogs-defaults"],
250 system_shared_libs: ["libc", "libdl"],
259 //##########################################################################
264 host_supported: true,
265 defaults: ["e2fsprogs-defaults"],
274 system_shared_libs: ["libc", "libdl"],
277 //##########################################################################
282 host_supported: true,
283 defaults: ["e2fsprogs-defaults"],
285 srcs: ["filefrag.c"],
289 system_shared_libs: ["libc", "libdl"],