From d6a741af6cc6a4862deb0807cbb3914f3ff1315f Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Thu, 22 Sep 2022 07:43:43 -0600 Subject: [PATCH] Meta: Don't build Core::LocalServer on Android We won't be able to use local servers on Android without some serious Android work to create background tasks, so just disable this for now, as it currently relies on Core::Account to take over from SystemServer. --- Meta/Lagom/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 0fa1b4e62f..66d76f1b59 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -263,6 +263,7 @@ file(GLOB AK_SOURCES CONFIGURE_DEPENDS "../../AK/*.cpp") file(GLOB LIBCORE_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibCore/*.cpp") if (ANDROID) list(REMOVE_ITEM LIBCORE_SOURCES "${CMAKE_CURRENT_LIST_DIR}/../../Userland/Libraries/LibCore/Account.cpp") + list(REMOVE_ITEM LIBCORE_SOURCES "${CMAKE_CURRENT_LIST_DIR}/../../Userland/Libraries/LibCore/LocalServer.cpp") endif() lagom_lib(Core core SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES}