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"],
27 system_shared_libs: ["libc", "libdl"],
28 export_include_dirs: ["."],
31 //########################################################################
37 recovery_available: true,
38 defaults: ["e2fsprogs-defaults"],
48 "-Wno-error=type-limits",
49 "-Wno-format-extra-args",
72 include_dirs: [ "external/e2fsprogs/include/mingw" ],
75 "-D__USE_MINGW_ALARM",
76 // mke2fs.c has a warning from gcc which cannot be suppressed:
77 // passing argument 3 of 'ext2fs_get_device_size' from
78 // incompatible pointer type
82 host_ldlibs: ["-lws2_32"],
98 symlinks: ["mkfs.ext2", "mkfs.ext3", "mkfs.ext4"],
101 stl: "libc++_static",
102 include_dirs: ["external/e2fsprogs/e2fsck"],
105 //##########################################################################
109 name: "tune2fs-defaults",
110 defaults: ["e2fsprogs-defaults"],
115 cflags: ["-DNO_RECOVERY"],
116 include_dirs: ["external/e2fsprogs/e2fsck"],
129 host_supported: true,
130 defaults: ["tune2fs-defaults"],
132 shared_libs: tune2fs_libs,
133 system_shared_libs: ["libc", "libdl"],
137 name: "tune2fs_static",
138 static_executable: true,
139 defaults: ["tune2fs-defaults"],
141 static_libs: tune2fs_libs,
146 defaults: ["tune2fs-defaults"],
148 cflags: ["-DBUILD_AS_LIB"],
149 static_libs: tune2fs_libs,
152 //########################################################################
157 host_supported: true,
158 defaults: ["e2fsprogs-defaults"],
160 srcs: ["badblocks.c"],
168 system_shared_libs: ["libc", "libdl"],
171 //########################################################################
176 host_supported: true,
177 defaults: ["e2fsprogs-defaults"],
184 system_shared_libs: ["libc", "libdl"],
187 //########################################################################
191 name: "lsattr-defaults",
193 defaults: ["e2fsprogs-defaults"],
203 host_supported: true,
204 defaults: ["lsattr-defaults"],
206 shared_libs: lsattr_libs,
207 system_shared_libs: ["libc", "libdl"],
211 name: "lsattr_static",
212 static_executable: true,
213 defaults: ["lsattr-defaults"],
215 static_libs: lsattr_libs,
218 //########################################################################
223 defaults: ["e2fsprogs-defaults"],
232 system_shared_libs: ["libc", "libdl"],
235 //########################################################################
240 host_supported: true,
241 defaults: ["e2fsprogs-defaults"],
248 system_shared_libs: ["libc", "libdl"],
257 //##########################################################################
262 host_supported: true,
263 defaults: ["e2fsprogs-defaults"],
272 system_shared_libs: ["libc", "libdl"],
275 //##########################################################################
280 host_supported: true,
281 defaults: ["e2fsprogs-defaults"],
283 srcs: ["filefrag.c"],
287 system_shared_libs: ["libc", "libdl"],