Skip to content

Commit f2a8160

Browse files
pulkomandyAhmad Saleem
authored andcommitted
Add PlatformHaiku.cmake for WTF
Reviewed by Adrian Perez de Castro. Introduce PlatformHaiku.cmake file for building on Haiku platform. For now only the cpp files shared with other platforms are listed. Later commits will add more Haiku specific files. * Source/WTF/wtf/PlatformHaiku.cmake: Added. Canonical link: https://commits.webkit.org/296033@main
1 parent 1ce3455 commit f2a8160

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Source/WTF/wtf/PlatformHaiku.cmake

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
list(APPEND WTF_SOURCES
2+
generic/MainThreadGeneric.cpp
3+
generic/WorkQueueGeneric.cpp
4+
5+
posix/CPUTimePOSIX.cpp
6+
posix/FileHandlePOSIX.cpp
7+
posix/FileSystemPOSIX.cpp
8+
posix/MappedFileDataPOSIX.cpp
9+
posix/OSAllocatorPOSIX.cpp
10+
posix/ThreadingPOSIX.cpp
11+
12+
text/unix/TextBreakIteratorInternalICUUnix.cpp
13+
14+
unicode/icu/CollatorICU.cpp
15+
16+
unix/LoggingUnix.cpp
17+
unix/MemoryPressureHandlerUnix.cpp
18+
unix/UniStdExtrasUnix.cpp
19+
)
20+
21+
list(APPEND WTF_PUBLIC_HEADERS
22+
unix/UnixFileDescriptor.h
23+
)
24+
25+
list(APPEND WTF_LIBRARIES
26+
${ZLIB_LIBRARIES}
27+
be execinfo
28+
)
29+
30+
list(APPEND WTF_INCLUDE_DIRECTORIES
31+
/system/develop/headers/private/system/arch/$ENV{BE_HOST_CPU}/
32+
/system/develop/headers/private/system
33+
)
34+
35+
add_definitions(-D_DEFAULT_SOURCE)
36+

0 commit comments

Comments
 (0)