]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
AOSP: Update lib/ext2fs/Android.bp for upstream change
authorEric Biggers <ebiggers@google.com>
Wed, 4 Jan 2023 18:59:15 +0000 (18:59 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Feb 2023 04:51:44 +0000 (23:51 -0500)
Compile windows_io.c on Windows, and unix_io.c everywhere else.

Change-Id: Ieab0b9ad5a9f7c275153e0f90553761693967762
Signed-off-by: Eric Biggers <ebiggers@google.com>
From AOSP commit: 0c82cec0d1aa70c993b5231a2c2244eb5175e638

lib/ext2fs/Android.bp

index f5cbeec9f2e816928a4acb2ad1920f6e80ece6da..3dde692d464adf31ba56eb4d9780129ca012ce90 100644 (file)
@@ -119,6 +119,8 @@ cc_library {
         },
         windows: {
             enabled: true,
+            srcs: ["windows_io.c"],
+            exclude_srcs: ["unix_io.c"],
             include_dirs: ["external/e2fsprogs/include/mingw"],
             cflags: [
                 "-Wno-format",