[Win] Implement memoryFootprint for Windows
[WebKit-https.git] / Source / WTF / wtf / PlatformMac.cmake
1 set(WTF_LIBRARY_TYPE STATIC)
2
3 find_library(COCOA_LIBRARY Cocoa)
4 find_library(COREFOUNDATION_LIBRARY CoreFoundation)
5 find_library(READLINE_LIBRARY Readline)
6 list(APPEND WTF_LIBRARIES
7     ${COREFOUNDATION_LIBRARY}
8     ${COCOA_LIBRARY}
9     ${READLINE_LIBRARY}
10     libicucore.dylib
11 )
12
13 list(APPEND WTF_SOURCES
14     AutodrainedPoolMac.mm
15     BlockObjCExceptions.mm
16     PlatformUserPreferredLanguagesMac.mm
17     RunLoopTimerCF.cpp
18     SchedulePairCF.cpp
19     SchedulePairMac.mm
20
21     text/mac/TextBreakIteratorInternalICUMac.mm
22
23     cf/RunLoopCF.cpp
24
25     cocoa/CPUTimeCocoa.mm
26     cocoa/MemoryFootprintCocoa.cpp
27     cocoa/MemoryPressureHandlerCocoa.mm
28     cocoa/WorkQueueCocoa.cpp
29
30     mac/DeprecatedSymbolsUsedBySafari.mm
31     mac/MainThreadMac.mm
32
33     text/cf/AtomicStringImplCF.cpp
34     text/cf/StringCF.cpp
35     text/cf/StringImplCF.cpp
36     text/cf/StringViewCF.cpp
37
38     text/mac/StringImplMac.mm
39     text/mac/StringMac.mm
40     text/mac/StringViewObjC.mm
41 )
42
43 list(APPEND WTF_INCLUDE_DIRECTORIES
44     "${WTF_DIR}/icu"
45     "${WTF_DIR}/wtf/spi/darwin"
46 )