Changeset 227845 in webkit


Ignore:
Timestamp:
Jan 30, 2018 12:02:17 PM (6 years ago)
Author:
don.olmstead@sony.com
Message:

[CMake] Make WTF headers copies
https://bugs.webkit.org/show_bug.cgi?id=182274

Reviewed by Alex Christensen.

Source/ThirdParty:

  • gtest/CMakeLists.txt:

Source/WebDriver:

  • CMakeLists.txt:

Source/WTF:

  • wtf/CMakeLists.txt:
  • wtf/PlatformGTK.cmake:
  • wtf/PlatformJSCOnly.cmake:
  • wtf/PlatformMac.cmake:
  • wtf/PlatformWPE.cmake:
  • wtf/PlatformWin.cmake:
Location:
trunk/Source
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/ChangeLog

    r227715 r227845  
     12018-01-30  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [CMake] Make WTF headers copies
     4        https://bugs.webkit.org/show_bug.cgi?id=182274
     5
     6        Reviewed by Alex Christensen.
     7
     8        * gtest/CMakeLists.txt:
     9
    1102018-01-27  Dan Bernstein  <mitz@apple.com>
    211
  • trunk/Source/ThirdParty/gtest/CMakeLists.txt

    r220403 r227845  
    1111    "${JAVASCRIPTCORE_DIR}"
    1212    "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"
     13    "${FORWARDING_HEADERS_DIR}"
    1314)
    1415
  • trunk/Source/WTF/ChangeLog

    r227792 r227845  
     12018-01-30  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [CMake] Make WTF headers copies
     4        https://bugs.webkit.org/show_bug.cgi?id=182274
     5
     6        Reviewed by Alex Christensen.
     7
     8        * wtf/CMakeLists.txt:
     9        * wtf/PlatformGTK.cmake:
     10        * wtf/PlatformJSCOnly.cmake:
     11        * wtf/PlatformMac.cmake:
     12        * wtf/PlatformWPE.cmake:
     13        * wtf/PlatformWin.cmake:
     14
    1152018-01-30  Mark Lam  <mark.lam@apple.com>
    216
  • trunk/Source/WTF/wtf/CMakeLists.txt

    r227701 r227845  
    11set(WTF_HEADERS
    22    ASCIICType.h
     3    Algorithms.h
    34    Assertions.h
    45    Atomics.h
     6    AutodrainedPool.h
    57    AutomaticThread.h
    68    BackwardsGraph.h
     
    911    BitVector.h
    1012    Bitmap.h
     13    BlockObjCExceptions.h
     14    BlockPtr.h
     15    BlockStack.h
     16    BloomFilter.h
     17    Box.h
    1118    Brigand.h
    1219    BubbleSort.h
     
    1623    CagedPtr.h
    1724    CagedUniquePtr.h
     25    CallbackAggregator.h
     26    CheckedArithmetic.h
     27    CheckedBoolean.h
    1828    ClockType.h
     29    CommaPrinter.h
    1930    CompilationThread.h
    2031    Compiler.h
     32    CompletionHandler.h
    2133    ConcurrentBuffer.h
    2234    ConcurrentPtrHashSet.h
     
    2537    CountingLock.h
    2638    CrossThreadCopier.h
     39    CrossThreadQueue.h
    2740    CrossThreadTask.h
    2841    CrossThreadTaskHandler.h
     
    3245    DataLog.h
    3346    DateMath.h
    34     Dominators.h
     47    DebugUtilities.h
    3548    DecimalNumber.h
    3649    DeferrableRefCounted.h
     50    DeprecatedOptional.h
    3751    Deque.h
    3852    DisallowCType.h
     53    DispatchPtr.h
     54    Dominators.h
    3955    DoublyLinkedList.h
    4056    DumbPtrTraits.h
     57    DumbValueTraits.h
     58    EnumTraits.h
     59    Expected.h
     60    ExportMacros.h
     61    FastBitVector.h
    4162    FastMalloc.h
    4263    FastTLS.h
     
    4465    FilePrintStream.h
    4566    FlipBytes.h
     67    ForbidHeapAllocation.h
    4668    Forward.h
     69    Function.h
    4770    FunctionDispatcher.h
    4871    GetPtr.h
     
    5275    GregorianDateTime.h
    5376    HashCountedSet.h
    54     Hasher.h
    5577    HashFunctions.h
    5678    HashIterators.h
     
    6082    HashTable.h
    6183    HashTraits.h
     84    Hasher.h
    6285    HexNumber.h
     86    Identified.h
     87    Indenter.h
     88    IndexKeyType.h
    6389    IndexMap.h
    6490    IndexSet.h
    6591    IndexSparseSet.h
    6692    IndexedContainerIterator.h
     93    InlineASM.h
     94    Insertion.h
     95    InstanceCounted.h
     96    IsoMalloc.h
     97    IsoMallocInlines.h
    6798    IteratorAdaptors.h
    6899    IteratorRange.h
    69100    JSONValues.h
     101    JSValueMalloc.h
     102    KeyValuePair.h
     103    LEBDecoder.h
    70104    Language.h
     105    ListDump.h
    71106    ListHashSet.h
    72107    Liveness.h
    73108    Lock.h
     109    LockAlgorithm.h
    74110    LockAlgorithmInlines.h
    75     LockAlgorithm.h
    76111    LockedPrintStream.h
    77112    Locker.h
    78113    LocklessBag.h
     114    Logger.h
     115    LoggerHelper.h
     116    LoggingAccumulator.h
    79117    LoggingHashID.h
    80118    LoggingHashMap.h
     
    91129    MetaAllocator.h
    92130    MetaAllocatorHandle.h
     131    MonotonicTime.h
     132    NakedPtr.h
    93133    NaturalLoops.h
    94     MonotonicTime.h
     134    NeverDestroyed.h
     135    NoLock.h
     136    NoTailCalls.h
    95137    Noncopyable.h
     138    NotFound.h
    96139    NumberOfCores.h
    97140    OSAllocator.h
     141    OSObjectPtr.h
    98142    OSRandomSource.h
     143    ObjcRuntimeExtras.h
     144    ObjectIdentifier.h
    99145    OptionSet.h
     146    Optional.h
    100147    OrderMaker.h
     148    PackedIntVector.h
    101149    PageAllocation.h
    102150    PageBlock.h
     
    111159    Platform.h
    112160    PlatformRegisters.h
     161    PointerComparison.h
    113162    PointerPreparations.h
    114163    Poisoned.h
    115164    PoisonedUniquePtr.h
    116165    PrintStream.h
     166    PriorityQueue.h
    117167    ProcessID.h
    118168    RAMSize.h
     
    124174    RawPointer.h
    125175    ReadWriteLock.h
     176    RecursableLambda.h
    126177    RecursiveLockAdapter.h
    127178    RedBlackTree.h
    128179    Ref.h
    129180    RefCounted.h
     181    RefCountedArray.h
    130182    RefCountedLeakCounter.h
    131183    RefCounter.h
     
    133185    RetainPtr.h
    134186    RunLoop.h
     187    RunLoopTimer.h
    135188    SHA1.h
    136     SharedTask.h
    137189    SaturatedArithmetic.h
     190    SchedulePair.h
     191    Scope.h
    138192    ScopedLambda.h
    139193    Seconds.h
    140194    SegmentedVector.h
     195    SentinelLinkedList.h
     196    SetForScope.h
     197    SharedTask.h
     198    SimpleStats.h
     199    SingleRootGraph.h
     200    SinglyLinkedList.h
     201    SinglyLinkedListWithTail.h
     202    SixCharacterHash.h
    141203    SmallPtrSet.h
     204    SoftLinking.h
     205    Spectrum.h
    142206    StackBounds.h
    143207    StackShot.h
     
    147211    StdLibExtras.h
    148212    Stopwatch.h
     213    StreamBuffer.h
    149214    StringExtras.h
     215    StringHashDumpContext.h
    150216    StringPrintStream.h
     217    SynchronizedFixedQueue.h
    151218    SystemFree.h
    152219    SystemTracing.h
     
    159226    TimeWithDynamicClockType.h
    160227    TimingScope.h
     228    TinyLRUCache.h
    161229    TinyPtrSet.h
     230    TriState.h
     231    TypeCasts.h
    162232    UUID.h
     233    Unexpected.h
     234    UniStdExtras.h
     235    UnionFind.h
    163236    UniqueRef.h
     237    UnsafePointer.h
    164238    VMTags.h
    165239    ValueCheck.h
     
    169243    WallTime.h
    170244    WeakPtr.h
     245    WeakRandom.h
     246    WindowsExtras.h
    171247    WordLock.h
    172248    WorkQueue.h
     
    184260    dtoa/utils.h
    185261
     262    persistence/PersistentCoder.h
     263    persistence/PersistentCoders.h
     264    persistence/PersistentDecoder.h
     265    persistence/PersistentEncoder.h
     266
     267    text/ASCIIFastPath.h
    186268    text/AtomicString.h
     269    text/AtomicStringHash.h
    187270    text/AtomicStringImpl.h
    188271    text/AtomicStringTable.h
    189272    text/Base64.h
    190273    text/CString.h
     274    text/ConversionMode.h
    191275    text/IntegerToStringConversion.h
    192276    text/LChar.h
     277    text/LineBreakIteratorPoolICU.h
    193278    text/LineEnding.h
    194     text/LineBreakIteratorPoolICU.h
     279    text/NullTextBreakIterator.h
     280    text/OrdinalNumber.h
    195281    text/StringBuffer.h
     282    text/StringBuilder.h
    196283    text/StringCommon.h
     284    text/StringConcatenate.h
     285    text/StringConcatenateNumbers.h
    197286    text/StringHash.h
    198287    text/StringHasher.h
    199288    text/StringImpl.h
    200289    text/StringMalloc.h
     290    text/StringOperators.h
    201291    text/StringVector.h
    202292    text/StringView.h
     
    205295    text/TextBreakIterator.h
    206296    text/TextBreakIteratorInternalICU.h
     297    text/TextPosition.h
    207298    text/TextStream.h
    208299    text/UniquedStringImpl.h
     
    210301    text/WTFString.h
    211302
     303    text/icu/TextBreakIteratorICU.h
    212304    text/icu/UTextProvider.h
    213305    text/icu/UTextProviderLatin1.h
     
    334426set(WTF_INCLUDE_DIRECTORIES
    335427    "${BMALLOC_DIR}"
    336     "${WTF_DIR}"
    337428    "${CMAKE_BINARY_DIR}"
    338429    "${DERIVED_SOURCES_DIR}"
     
    341432
    342433set(WTF_PRIVATE_INCLUDE_DIRECTORIES
     434    "${WTF_DIR}"
    343435    "${WTF_DIR}/wtf"
    344436    "${WTF_DIR}/wtf/dtoa"
     
    353445    ${CMAKE_DL_LIBS}
    354446)
    355 
    356 if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
    357     list(APPEND WTF_HEADERS
    358         spi/darwin/CommonCryptoSPI.h
    359     )
    360     list(APPEND WTF_INCLUDE_DIRECTORIES
    361         "${WTF_DIR}/wtf/spi/darwin"
    362     )
    363 endif ()
    364447
    365448if (NOT USE_SYSTEM_MALLOC)
     
    401484WEBKIT_FRAMEWORK(WTF)
    402485
     486WEBKIT_MAKE_FORWARDING_HEADERS(WTF
     487    DESTINATION ${FORWARDING_HEADERS_DIR}/wtf
     488    FILES ${WTF_HEADERS}
     489)
     490
    403491if (MSVC)
    404492    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /SUBSYSTEM:WINDOWS")
  • trunk/Source/WTF/wtf/PlatformGTK.cmake

    r221768 r227845  
    11set(WTF_OUTPUT_NAME WTFGTK)
    22
     3list(APPEND WTF_HEADERS
     4    glib/GLibUtilities.h
     5    glib/GMutexLocker.h
     6    glib/GRefPtr.h
     7    glib/GTypedefs.h
     8    glib/GUniquePtr.h
     9    glib/RunLoopSourcePriority.h
     10    glib/WTFGType.h
     11
     12    linux/CurrentProcessMemoryStatus.h
     13)
     14
    315list(APPEND WTF_SOURCES
     16    UniStdExtras.cpp
     17
    418    generic/MainThreadGeneric.cpp
    519    generic/WorkQueueGeneric.cpp
     20
    621    glib/GLibUtilities.cpp
    722    glib/GRefPtr.cpp
     
    1227    linux/MemoryPressureHandlerLinux.cpp
    1328
     29    text/unix/TextBreakIteratorInternalICUUnix.cpp
     30
    1431    unix/CPUTimeUnix.cpp
    1532    unix/LanguageUnix.cpp
    16 
    17     UniStdExtras.cpp
    18 
    19     text/unix/TextBreakIteratorInternalICUUnix.cpp
    2033)
    2134
  • trunk/Source/WTF/wtf/PlatformJSCOnly.cmake

    r227230 r227845  
    11list(APPEND WTF_SOURCES
    2 
    32    generic/MainThreadGeneric.cpp
    43    generic/WorkQueueGeneric.cpp
     
    76if (WIN32)
    87    list(APPEND WTF_SOURCES
     8        text/win/TextBreakIteratorInternalICUWin.cpp
     9
    910        win/CPUTimeWin.cpp
    1011        win/LanguageWin.cpp
    11         text/win/TextBreakIteratorInternalICUWin.cpp
    1212    )
    1313else ()
    1414    list(APPEND WTF_SOURCES
     15        text/unix/TextBreakIteratorInternalICUUnix.cpp
     16
    1517        unix/CPUTimeUnix.cpp
    1618        unix/LanguageUnix.cpp
    17         text/unix/TextBreakIteratorInternalICUUnix.cpp
     19        unix/UniStdExtras.cpp
    1820    )
    1921endif ()
  • trunk/Source/WTF/wtf/PlatformMac.cmake

    r221768 r227845  
    66    ${COCOA_LIBRARY}
    77    ${READLINE_LIBRARY}
     8)
     9
     10list(APPEND WTF_HEADERS
     11    cf/TypeCastsCF.h
     12
     13    cocoa/SoftLinking.h
     14
     15    darwin/WeakLinking.h
     16
     17    mac/AppKitCompatibilityDeclarations.h
     18
     19    spi/cf/CFBundleSPI.h
     20    spi/cf/CFStringSPI.h
     21
     22    spi/cocoa/NSMapTableSPI.h
     23    spi/cocoa/SecuritySPI.h
     24
     25    spi/darwin/CommonCryptoSPI.h
     26    spi/darwin/SandboxSPI.h
     27    spi/darwin/XPCSPI.h
     28    spi/darwin/dyldSPI.h
     29
     30    text/cf/TextBreakIteratorCF.h
    831)
    932
     
    3861)
    3962
    40 list(APPEND WTF_INCLUDE_DIRECTORIES
     63list(APPEND WTF_PRIVATE_INCLUDE_DIRECTORIES
    4164    "${WTF_DIR}/icu"
    4265    "${WTF_DIR}/wtf/spi/darwin"
  • trunk/Source/WTF/wtf/PlatformWPE.cmake

    r224192 r227845  
     1list(APPEND WTF_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
    113list(APPEND WTF_SOURCES
    214    UniStdExtras.cpp
  • trunk/Source/WTF/wtf/PlatformWin.cmake

    r227071 r227845  
    11list(APPEND WTF_HEADERS
    2     cf/TypeCastsCF.h
    32    text/win/WCharStringExtras.h
     3
     4    win/GDIObject.h
     5    win/SoftLinking.h
     6    win/Win32Handle.h
     7    win/WorkItemContext.h
    48)
    59
     
    1822
    1923if (USE_CF)
     24    list(APPEND WTF_HEADERS
     25        cf/TypeCastsCF.h
     26
     27        text/cf/TextBreakIteratorCF.h
     28    )
    2029    list(APPEND WTF_SOURCES
    2130        text/cf/AtomicStringImplCF.cpp
     
    2837endif ()
    2938
    30 set(WTF_FORWARDING_HEADERS_DIRECTORIES
    31     .
    32     cf
    33     dtoa
    34     generic
    35     persistence
    36     spi
    37     text
    38     text/cf
    39     text/icu
    40     text/win
    41     threads
    42     unicode
    43     win
    44 )
    45 WEBKIT_MAKE_FORWARDING_HEADERS(WTF
    46     DESTINATION ${FORWARDING_HEADERS_DIR}/wtf
    47     DIRECTORIES ${WTF_FORWARDING_HEADERS_DIRECTORIES})
    48 
    4939set(WTF_OUTPUT_NAME WTF${DEBUG_SUFFIX})
  • trunk/Source/WebDriver/CMakeLists.txt

    r225231 r227845  
    44    "${WEBDRIVER_DIR}"
    55    "${DERIVED_SOURCES_WEBDRIVER_DIR}"
     6    "${FORWARDING_HEADERS_DIR}"
    67)
    78
  • trunk/Source/WebDriver/ChangeLog

    r227773 r227845  
     12018-01-30  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [CMake] Make WTF headers copies
     4        https://bugs.webkit.org/show_bug.cgi?id=182274
     5
     6        Reviewed by Alex Christensen.
     7
     8        * CMakeLists.txt:
     9
    1102018-01-29  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
Note: See TracChangeset for help on using the changeset viewer.