mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:02:44 +00:00 
			
		
		
		
	 d84fc60f96
			
		
	
	
		d84fc60f96
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			45 lines
		
	
	
	
		
			846 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			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)
 |