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 vendor_ramdisk_available: true,
133 defaults: ["tune2fs-defaults"],
135 shared_libs: tune2fs_libs,
136 system_shared_libs: ["libc", "libdl"],
140 name: "tune2fs_static",
141 static_executable: true,
142 defaults: ["tune2fs-defaults"],
144 static_libs: tune2fs_libs,
148 name: "tune2fs_ramdisk",
150 static_executable: true,
152 defaults: ["tune2fs-defaults"],
153 system_shared_libs: [],
154 static_libs: tune2fs_libs,
159 defaults: ["tune2fs-defaults"],
161 cflags: ["-DBUILD_AS_LIB"],
162 static_libs: tune2fs_libs,
165 //########################################################################
170 host_supported: true,
171 defaults: ["e2fsprogs-defaults"],
173 srcs: ["badblocks.c"],
181 system_shared_libs: ["libc", "libdl"],
184 //########################################################################
188 name: "chattr-e2fsprogs",
189 host_supported: true,
190 defaults: ["e2fsprogs-defaults"],
197 system_shared_libs: ["libc", "libdl"],
200 //########################################################################
204 name: "lsattr-defaults",
206 defaults: ["e2fsprogs-defaults"],
215 name: "lsattr-e2fsprogs",
216 host_supported: true,
217 defaults: ["lsattr-defaults"],
219 shared_libs: lsattr_libs,
220 system_shared_libs: ["libc", "libdl"],
224 name: "lsattr_static",
225 static_executable: true,
226 defaults: ["lsattr-defaults"],
228 static_libs: lsattr_libs,
231 //########################################################################
236 defaults: ["e2fsprogs-defaults"],
245 system_shared_libs: ["libc", "libdl"],
248 //########################################################################
253 host_supported: true,
254 defaults: ["e2fsprogs-defaults"],
261 system_shared_libs: ["libc", "libdl"],
270 //##########################################################################
275 host_supported: true,
276 defaults: ["e2fsprogs-defaults"],
285 system_shared_libs: ["libc", "libdl"],
288 //##########################################################################
293 host_supported: true,
294 defaults: ["e2fsprogs-defaults"],
296 srcs: ["filefrag.c"],
300 system_shared_libs: ["libc", "libdl"],
303 //##########################################################################
308 host_supported: true,
309 defaults: ["e2fsprogs-defaults"],
314 header_libs: ["libext2-headers"],
319 system_shared_libs: ["libc", "libdl"],