1 // Copyright 2017 The Android Open Source Project
3 // Library used to export files from this directory to other programs in this
11 include_dirs: [ "external/e2fsprogs/include/mingw" ],
13 cflags: ["-Wno-unused-variable"],
20 cflags: ["-W", "-Wall"],
25 system_shared_libs: ["libc", "libdl"],
26 export_include_dirs: ["."],
29 //########################################################################
45 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
62 include_dirs: [ "external/e2fsprogs/include/mingw" ],
63 cflags: ["-D_POSIX", "-D__USE_MINGW_ALARM"],
65 host_ldlibs: ["-lws2_32"],
78 symlinks: ["mkfs.ext2", "mkfs.ext3", "mkfs.ext4"],
82 include_dirs: ["external/e2fsprogs/e2fsck"],
85 //##########################################################################
89 name: "tune2fs-defaults",
98 "-Wno-macro-redefined",
100 include_dirs: ["external/e2fsprogs/e2fsck"],
114 host_supported: true,
115 defaults: ["tune2fs-defaults"],
117 shared_libs: tune2fs_libs,
118 system_shared_libs: ["libc", "libdl"],
122 name: "tune2fs_static",
123 static_executable: true,
124 defaults: ["tune2fs-defaults"],
126 static_libs: tune2fs_libs + ["libc"],
131 defaults: ["tune2fs-defaults"],
133 cflags: ["-DBUILD_AS_LIB"],
134 static_libs: tune2fs_libs,
137 //########################################################################
142 host_supported: true,
144 srcs: ["badblocks.c"],
145 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
153 system_shared_libs: ["libc", "libdl"],
156 //########################################################################
161 host_supported: true,
164 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
169 system_shared_libs: ["libc", "libdl"],
172 //########################################################################
176 name: "lsattr-defaults",
178 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
188 host_supported: true,
189 defaults: ["lsattr-defaults"],
191 shared_libs: lsattr_libs,
192 system_shared_libs: ["libc", "libdl"],
196 name: "lsattr_static",
197 static_executable: true,
198 defaults: ["lsattr-defaults"],
200 static_libs: lsattr_libs + ["libc"],
203 //########################################################################
210 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
217 system_shared_libs: ["libc", "libdl"],
220 //########################################################################
225 host_supported: true,
228 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
233 system_shared_libs: ["libc", "libdl"],
242 //##########################################################################
247 host_supported: true,
250 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
257 system_shared_libs: ["libc", "libdl"],