To match what the autotools-based build system does now, always add
include/mingw/ to the include path on Windows. I don't think this makes
a real difference anywhere, but this is much simpler.
Change-Id: I92fdaf3e58029dfca3187af928d943270b2a2109
From AOSP commit:
c9aa74eac41f8feeabb2321383161c7cf92cb49b
bionic: {
system_shared_libs: ["libc", "libdl"],
},
+ windows: {
+ include_dirs: ["external/e2fsprogs/include/mingw"],
+ },
},
}
target: {
windows: {
- include_dirs: ["external/e2fsprogs/include/mingw"],
cflags: [
"-Wno-pointer-to-int-cast",
"-Wno-error=typedef-redefinition",
target: {
windows: {
- include_dirs: ["external/e2fsprogs/include/mingw"],
enabled: true,
cflags: [
"-Wno-unused-variable",
enabled: true,
srcs: ["windows_io.c"],
exclude_srcs: ["unix_io.c"],
- include_dirs: ["external/e2fsprogs/include/mingw"],
cflags: [
"-Wno-format",
"-Wno-unused-variable",
],
target: {
windows: {
- include_dirs: [ "external/e2fsprogs/include/mingw" ],
enabled: true
},
},
target: {
windows: {
- include_dirs: [ "external/e2fsprogs/include/mingw" ],
enabled: true,
cflags: ["-Wno-unused-variable"],
},
],
},
windows: {
- include_dirs: [ "external/e2fsprogs/include/mingw" ],
ldflags: ["-static"],
enabled: true
},