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" ],
19 cflags: ["-W", "-Wall"],
24 system_shared_libs: ["libc", "libdl"],
25 export_include_dirs: ["."],
28 //########################################################################
44 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
61 include_dirs: [ "external/e2fsprogs/include/mingw" ],
62 cflags: ["-D_POSIX", "-D__USE_MINGW_ALARM"],
64 host_ldlibs: ["-lws2_32"],
80 include_dirs: ["external/e2fsprogs/e2fsck"],
83 //##########################################################################
87 name: "tune2fs-defaults",
96 "-Wno-macro-redefined",
98 include_dirs: ["external/e2fsprogs/e2fsck"],
112 host_supported: true,
113 defaults: ["tune2fs-defaults"],
115 shared_libs: tune2fs_libs,
116 system_shared_libs: ["libc", "libdl"],
120 name: "tune2fs_static",
121 static_executable: true,
122 defaults: ["tune2fs-defaults"],
124 static_libs: tune2fs_libs + ["libc"],
129 defaults: ["tune2fs-defaults"],
131 cflags: ["-DBUILD_AS_LIB"],
132 static_libs: tune2fs_libs,
135 //########################################################################
140 host_supported: true,
142 srcs: ["badblocks.c"],
143 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
151 system_shared_libs: ["libc", "libdl"],
154 //########################################################################
159 host_supported: true,
162 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
167 system_shared_libs: ["libc", "libdl"],
170 //########################################################################
174 name: "lsattr-defaults",
176 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
186 host_supported: true,
187 defaults: ["lsattr-defaults"],
189 shared_libs: lsattr_libs,
190 system_shared_libs: ["libc", "libdl"],
194 name: "lsattr_static",
195 static_executable: true,
196 defaults: ["lsattr-defaults"],
198 static_libs: lsattr_libs + ["libc"],
201 //########################################################################
208 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
215 system_shared_libs: ["libc", "libdl"],
218 //########################################################################
223 host_supported: true,
226 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
231 system_shared_libs: ["libc", "libdl"],
240 //##########################################################################
245 host_supported: true,
248 cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
255 system_shared_libs: ["libc", "libdl"],