1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 20:25:07 +00:00
serenity/Userland/Libraries/LibCore/CMakeLists.txt
Andrew Kaster d84fc60f96 LibCore: Add support for compiling for Android with API Version >= 30
Most changes are around user and group management, which are exposed in
the Android NDK differently than other Unices.

We require version 30 for memfd_create, version 28 for posix_spawn, and
so on. It's possible a shim for memfd_create could be used, but since
Google is mandating new apps use API level 30 as of Nov 2022, this seems
suitable.
2022-07-19 10:44:02 +01:00

45 lines
846 B
CMake

set(SOURCES
AnonymousBuffer.cpp
ArgsParser.cpp
ConfigFile.cpp
Command.cpp
DateTime.cpp
Directory.cpp
DirIterator.cpp
ElapsedTimer.cpp
Event.cpp
EventLoop.cpp
FileWatcher.cpp
File.cpp
FilePermissionsMask.cpp
GetPassword.cpp
Group.cpp
IODevice.cpp
LocalServer.cpp
LockFile.cpp
MappedFile.cpp
MimeData.cpp
NetworkJob.cpp
Notifier.cpp
Object.cpp
Process.cpp
ProcessStatisticsReader.cpp
Property.cpp
SecretString.cpp
SOCKSProxyClient.cpp
Stream.cpp
StandardPaths.cpp
System.cpp
SystemServerTakeover.cpp
TCPServer.cpp
TempFile.cpp
Timer.cpp
UDPServer.cpp
Version.cpp
)
if (NOT ANDROID)
list(APPEND SOURCES Account.cpp)
endif()
serenity_lib(LibCore core)
target_link_libraries(LibCore LibC LibCrypt)