blob: 7595a27708441357daebf95ae6f17a803d651e68 [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
posix/OSAllocatorPOSIX.cpp
posix/ThreadingPOSIX.cpp
text/unix/TextBreakIteratorInternalICUUnix.cpp
unix/CPUTimeUnix.cpp
unix/LanguageUnix.cpp
unix/MemoryPressureHandlerUnix.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}
)