Added new port JSCOnly.
[WebKit-https.git] / Source / WTF / wtf / PlatformJSCOnly.cmake
1 if (LOWERCASE_EVENTLOOP_TYPE STREQUAL "glib")
2     list(APPEND WTF_SOURCES
3         glib/GRefPtr.cpp
4         glib/MainThreadGLib.cpp
5         glib/RunLoopGLib.cpp
6         glib/WorkQueueGLib.cpp
7     )
8     list(APPEND WTF_SYSTEM_INCLUDE_DIRECTORIES
9         ${GLIB_INCLUDE_DIRS}
10     )
11     list(APPEND WTF_LIBRARIES
12         ${GLIB_GIO_LIBRARIES}
13         ${GLIB_GOBJECT_LIBRARIES}
14         ${GLIB_LIBRARIES}
15     )
16 else ()
17     list(APPEND WTF_SOURCES
18         none/MainThreadNone.cpp
19         none/RunLoopNone.cpp
20         none/WorkQueueNone.cpp
21     )
22 endif ()
23
24 list(APPEND WTF_LIBRARIES
25     ${CMAKE_THREAD_LIBS_INIT}
26 )