[XCBuild] Build via the workspace with USE_WORKSPACE=YES
[WebKit-https.git] / Source / WTF / wtf / PlatformWPE.cmake
1 list(APPEND WTF_PUBLIC_HEADERS
2     glib/ChassisType.h
3     glib/GMutexLocker.h
4     glib/GRefPtr.h
5     glib/GSocketMonitor.h
6     glib/GTypedefs.h
7     glib/GUniquePtr.h
8     glib/RunLoopSourcePriority.h
9     glib/Sandbox.h
10     glib/SocketConnection.h
11     glib/WTFGType.h
12
13     linux/ProcessMemoryFootprint.h
14     linux/CurrentProcessMemoryStatus.h
15     linux/RealTimeThreads.h
16 )
17
18 list(APPEND WTF_SOURCES
19     generic/MainThreadGeneric.cpp
20     generic/MemoryFootprintGeneric.cpp
21     generic/WorkQueueGeneric.cpp
22
23     glib/ChassisType.cpp
24     glib/FileSystemGlib.cpp
25     glib/GRefPtr.cpp
26     glib/GSocketMonitor.cpp
27     glib/RunLoopGLib.cpp
28     glib/Sandbox.cpp
29     glib/SocketConnection.cpp
30     glib/URLGLib.cpp
31
32     linux/CurrentProcessMemoryStatus.cpp
33     linux/RealTimeThreads.cpp
34
35     posix/CPUTimePOSIX.cpp
36     posix/OSAllocatorPOSIX.cpp
37     posix/ThreadingPOSIX.cpp
38
39     text/unix/TextBreakIteratorInternalICUUnix.cpp
40
41     unix/LanguageUnix.cpp
42     unix/LoggingUnix.cpp
43     unix/MemoryPressureHandlerUnix.cpp
44     unix/UniStdExtrasUnix.cpp
45 )
46
47 list(APPEND WTF_LIBRARIES
48     ${GLIB_GIO_LIBRARIES}
49     ${GLIB_GOBJECT_LIBRARIES}
50     ${GLIB_LIBRARIES}
51     Threads::Threads
52     ZLIB::ZLIB
53 )
54
55 if (Journald_FOUND)
56     list(APPEND WTF_LIBRARIES Journald::Journald)
57 endif ()
58
59 list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
60     ${GIO_UNIX_INCLUDE_DIRS}
61     ${GLIB_INCLUDE_DIRS}
62 )