[WTF] Add environment variable helpers
[WebKit-https.git] / Source / WTF / wtf / PlatformWPE.cmake
1 list(APPEND WTF_PUBLIC_HEADERS
2     glib/GLibUtilities.h
3     glib/GMutexLocker.h
4     glib/GRefPtr.h
5     glib/GTypedefs.h
6     glib/GUniquePtr.h
7     glib/RunLoopSourcePriority.h
8     glib/WTFGType.h
9
10     linux/CurrentProcessMemoryStatus.h
11 )
12
13 list(APPEND WTF_SOURCES
14     UniStdExtras.cpp
15
16     generic/MainThreadGeneric.cpp
17     generic/WorkQueueGeneric.cpp
18
19     glib/FileSystemGlib.cpp
20     glib/GLibUtilities.cpp
21     glib/GRefPtr.cpp
22     glib/RunLoopGLib.cpp
23     glib/URLGLib.cpp
24
25     linux/CurrentProcessMemoryStatus.cpp
26     linux/MemoryFootprintLinux.cpp
27     linux/MemoryPressureHandlerLinux.cpp
28
29     posix/EnvironmentPOSIX.cpp
30     posix/OSAllocatorPOSIX.cpp
31     posix/ThreadingPOSIX.cpp
32
33     text/unix/TextBreakIteratorInternalICUUnix.cpp
34
35     unix/CPUTimeUnix.cpp
36     unix/LanguageUnix.cpp
37 )
38
39 list(APPEND WTF_LIBRARIES
40     ${CMAKE_THREAD_LIBS_INIT}
41     ${GLIB_GIO_LIBRARIES}
42     ${GLIB_GOBJECT_LIBRARIES}
43     ${GLIB_LIBRARIES}
44     ${ZLIB_LIBRARIES}
45 )
46
47 list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
48     ${GIO_UNIX_INCLUDE_DIRS}
49     ${GLIB_INCLUDE_DIRS}
50 )