1 set(WTF_LIBRARY_TYPE SHARED)
   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 )
  11 
  12 list(APPEND WTF_SOURCES
  13     AutodrainedPoolMac.mm
  14     RunLoopTimerCF.cpp
  15     SchedulePairCF.cpp
  16     SchedulePairMac.mm
  17 
  18     cf/RunLoopCF.cpp
  19 
  20     cocoa/WorkQueueCocoa.cpp
  21 
  22     mac/DeprecatedSymbolsUsedBySafari.mm
  23     mac/MainThreadMac.mm
  24 
  25     text/cf/AtomicStringImplCF.cpp
  26     text/cf/StringCF.cpp
  27     text/cf/StringImplCF.cpp
  28     text/cf/StringViewCF.cpp
  29 
  30     text/mac/StringImplMac.mm
  31     text/mac/StringMac.mm
  32     text/mac/StringViewObjC.mm
  33 )
  34 
  35 list(APPEND WTF_INCLUDE_DIRECTORIES
  36     "${WTF_DIR}/icu"
  37     "${WTF_DIR}/wtf/spi/darwin"
  38 )