From 7bda04ec457e662c0abb3b55c0e5e5bc625b0fee Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 4 Jan 2023 18:59:15 +0000 Subject: [PATCH] AOSP: Update lib/ext2fs/Android.bp for upstream change Compile windows_io.c on Windows, and unix_io.c everywhere else. Change-Id: Ieab0b9ad5a9f7c275153e0f90553761693967762 Signed-off-by: Eric Biggers From AOSP commit: 0c82cec0d1aa70c993b5231a2c2244eb5175e638 --- lib/ext2fs/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ext2fs/Android.bp b/lib/ext2fs/Android.bp index f5cbeec..3dde692 100644 --- a/lib/ext2fs/Android.bp +++ b/lib/ext2fs/Android.bp @@ -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", -- 1.8.3.1