1 // Copyright 2017 The Android Open Source Project
3 // Library used to export files from this directory to other programs in this
8 defaults: ["e2fsprogs-defaults"],
12 include_dirs: [ "external/e2fsprogs/include/mingw" ],
14 cflags: ["-Wno-unused-variable"],
21 cflags: ["-Wno-error=format-extra-args"],
26 system_shared_libs: ["libc", "libdl"],
27 export_include_dirs: ["."],
30 //########################################################################
36 defaults: ["e2fsprogs-defaults"],
46 "-Wno-error=type-limits",
47 "-Wno-format-extra-args",
70 include_dirs: [ "external/e2fsprogs/include/mingw" ],
73 "-D__USE_MINGW_ALARM",
74 // mke2fs.c has a warning from gcc which cannot be suppressed:
75 // passing argument 3 of 'ext2fs_get_device_size' from
76 // incompatible pointer type
80 host_ldlibs: ["-lws2_32"],
96 symlinks: ["mkfs.ext2", "mkfs.ext3", "mkfs.ext4"],
100 include_dirs: ["external/e2fsprogs/e2fsck"],
103 //##########################################################################
107 name: "tune2fs-defaults",
108 defaults: ["e2fsprogs-defaults"],
113 cflags: ["-DNO_RECOVERY"],
114 include_dirs: ["external/e2fsprogs/e2fsck"],
128 host_supported: true,
129 defaults: ["tune2fs-defaults"],
131 shared_libs: tune2fs_libs,
132 system_shared_libs: ["libc", "libdl"],
136 name: "tune2fs_static",
137 static_executable: true,
138 defaults: ["tune2fs-defaults"],
140 static_libs: tune2fs_libs,
145 defaults: ["tune2fs-defaults"],
147 cflags: ["-DBUILD_AS_LIB"],
148 static_libs: tune2fs_libs,
151 //########################################################################
156 host_supported: true,
157 defaults: ["e2fsprogs-defaults"],
159 srcs: ["badblocks.c"],
167 system_shared_libs: ["libc", "libdl"],
170 //########################################################################
175 host_supported: true,
176 defaults: ["e2fsprogs-defaults"],
183 system_shared_libs: ["libc", "libdl"],
186 //########################################################################
190 name: "lsattr-defaults",
192 defaults: ["e2fsprogs-defaults"],
202 host_supported: true,
203 defaults: ["lsattr-defaults"],
205 shared_libs: lsattr_libs,
206 system_shared_libs: ["libc", "libdl"],
210 name: "lsattr_static",
211 static_executable: true,
212 defaults: ["lsattr-defaults"],
214 static_libs: lsattr_libs,
217 //########################################################################
222 defaults: ["e2fsprogs-defaults"],
231 system_shared_libs: ["libc", "libdl"],
234 //########################################################################
239 host_supported: true,
240 defaults: ["e2fsprogs-defaults"],
247 system_shared_libs: ["libc", "libdl"],
256 //##########################################################################
261 host_supported: true,
262 defaults: ["e2fsprogs-defaults"],
271 system_shared_libs: ["libc", "libdl"],