From 2820630afa9c158291c2c6c310d41adec0a68b2e Mon Sep 17 00:00:00 2001 From: sunfei Date: Thu, 27 Jan 2022 11:13:36 +0800 Subject: [PATCH] support cross-platform build Signed-off-by: sunfei Change-Id: I831de91babee632749031951c5e7d6a590ecd787 --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index de0d29e..507a794 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -246,7 +246,7 @@ if (defined(ohos_lite)) { "src/win/winapi.c", "src/win/winsock.c", ] - } else if (is_ohos) { + } else if (is_ohos || (defined(is_android) && is_android)) { sources += nonwin_srcs + [ "src/unix/linux-core.c", "src/unix/linux-inotify.c", -- Gitee