blob: de4741010f1581f729836b7f2ec119ff0de4a2b5 [file] [log] [blame]
list(APPEND WTF_PUBLIC_HEADERS
glib/GLibUtilities.h
glib/GMutexLocker.h
glib/GRefPtr.h
glib/GSocketMonitor.h
glib/GTypedefs.h
glib/GUniquePtr.h
glib/RunLoopSourcePriority.h
glib/SocketConnection.h
glib/WTFGType.h
linux/ProcessMemoryFootprint.h
linux/CurrentProcessMemoryStatus.h
)
list(APPEND WTF_SOURCES
generic/MainThreadGeneric.cpp
generic/MemoryFootprintGeneric.cpp
generic/WorkQueueGeneric.cpp
glib/FileSystemGlib.cpp
glib/GLibUtilities.cpp
glib/GRefPtr.cpp
glib/GSocketMonitor.cpp
glib/RunLoopGLib.cpp
glib/SocketConnection.cpp
glib/URLGLib.cpp
linux/CurrentProcessMemoryStatus.cpp
linux/MemoryPressureHandlerLinux.cpp
posix/OSAllocatorPOSIX.cpp
posix/ThreadingPOSIX.cpp
text/unix/TextBreakIteratorInternalICUUnix.cpp
unix/CPUTimeUnix.cpp
unix/LanguageUnix.cpp
unix/UniStdExtrasUnix.cpp
)
list(APPEND WTF_LIBRARIES
${GLIB_GIO_LIBRARIES}
${GLIB_GOBJECT_LIBRARIES}
${GLIB_LIBRARIES}
Threads::Threads
ZLIB::ZLIB
)
if (Systemd_FOUND)
list(APPEND WTF_LIBRARIES Systemd::Systemd)
endif ()
list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
${GIO_UNIX_INCLUDE_DIRS}
${GLIB_INCLUDE_DIRS}
)