+2018-01-30 Don Olmstead <don.olmstead@sony.com>
+
+ [CMake] Make WTF headers copies
+ https://bugs.webkit.org/show_bug.cgi?id=182274
+
+ Reviewed by Alex Christensen.
+
+ * gtest/CMakeLists.txt:
+
2018-01-27 Dan Bernstein <mitz@apple.com>
HaveInternalSDK includes should be "#include?"
"${GTEST_DIR}/include"
"${JAVASCRIPTCORE_DIR}"
"${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"
+ "${FORWARDING_HEADERS_DIR}"
)
set(GTEST_SOURCES
+2018-01-30 Don Olmstead <don.olmstead@sony.com>
+
+ [CMake] Make WTF headers copies
+ https://bugs.webkit.org/show_bug.cgi?id=182274
+
+ Reviewed by Alex Christensen.
+
+ * wtf/CMakeLists.txt:
+ * wtf/PlatformGTK.cmake:
+ * wtf/PlatformJSCOnly.cmake:
+ * wtf/PlatformMac.cmake:
+ * wtf/PlatformWPE.cmake:
+ * wtf/PlatformWin.cmake:
+
2018-01-30 Mark Lam <mark.lam@apple.com>
Move ENABLE_POISON to Platform.h.
set(WTF_HEADERS
ASCIICType.h
+ Algorithms.h
Assertions.h
Atomics.h
+ AutodrainedPool.h
AutomaticThread.h
BackwardsGraph.h
Bag.h
BagToHashMap.h
BitVector.h
Bitmap.h
+ BlockObjCExceptions.h
+ BlockPtr.h
+ BlockStack.h
+ BloomFilter.h
+ Box.h
Brigand.h
BubbleSort.h
BumpPointerAllocator.h
CPUTime.h
CagedPtr.h
CagedUniquePtr.h
+ CallbackAggregator.h
+ CheckedArithmetic.h
+ CheckedBoolean.h
ClockType.h
+ CommaPrinter.h
CompilationThread.h
Compiler.h
+ CompletionHandler.h
ConcurrentBuffer.h
ConcurrentPtrHashSet.h
ConcurrentVector.h
Condition.h
CountingLock.h
CrossThreadCopier.h
+ CrossThreadQueue.h
CrossThreadTask.h
CrossThreadTaskHandler.h
CryptographicUtilities.h
CurrentTime.h
DataLog.h
DateMath.h
- Dominators.h
+ DebugUtilities.h
DecimalNumber.h
DeferrableRefCounted.h
+ DeprecatedOptional.h
Deque.h
DisallowCType.h
+ DispatchPtr.h
+ Dominators.h
DoublyLinkedList.h
DumbPtrTraits.h
+ DumbValueTraits.h
+ EnumTraits.h
+ Expected.h
+ ExportMacros.h
+ FastBitVector.h
FastMalloc.h
FastTLS.h
FeatureDefines.h
FilePrintStream.h
FlipBytes.h
+ ForbidHeapAllocation.h
Forward.h
+ Function.h
FunctionDispatcher.h
GetPtr.h
Gigacage.h
GraphNodeWorklist.h
GregorianDateTime.h
HashCountedSet.h
- Hasher.h
HashFunctions.h
HashIterators.h
HashMap.h
HashSet.h
HashTable.h
HashTraits.h
+ Hasher.h
HexNumber.h
+ Identified.h
+ Indenter.h
+ IndexKeyType.h
IndexMap.h
IndexSet.h
IndexSparseSet.h
IndexedContainerIterator.h
+ InlineASM.h
+ Insertion.h
+ InstanceCounted.h
+ IsoMalloc.h
+ IsoMallocInlines.h
IteratorAdaptors.h
IteratorRange.h
JSONValues.h
+ JSValueMalloc.h
+ KeyValuePair.h
+ LEBDecoder.h
Language.h
+ ListDump.h
ListHashSet.h
Liveness.h
Lock.h
- LockAlgorithmInlines.h
LockAlgorithm.h
+ LockAlgorithmInlines.h
LockedPrintStream.h
Locker.h
LocklessBag.h
+ Logger.h
+ LoggerHelper.h
+ LoggingAccumulator.h
LoggingHashID.h
LoggingHashMap.h
LoggingHashSet.h
MessageQueue.h
MetaAllocator.h
MetaAllocatorHandle.h
- NaturalLoops.h
MonotonicTime.h
+ NakedPtr.h
+ NaturalLoops.h
+ NeverDestroyed.h
+ NoLock.h
+ NoTailCalls.h
Noncopyable.h
+ NotFound.h
NumberOfCores.h
OSAllocator.h
+ OSObjectPtr.h
OSRandomSource.h
+ ObjcRuntimeExtras.h
+ ObjectIdentifier.h
OptionSet.h
+ Optional.h
OrderMaker.h
+ PackedIntVector.h
PageAllocation.h
PageBlock.h
PageReservation.h
ParkingLot.h
Platform.h
PlatformRegisters.h
+ PointerComparison.h
PointerPreparations.h
Poisoned.h
PoisonedUniquePtr.h
PrintStream.h
+ PriorityQueue.h
ProcessID.h
RAMSize.h
RandomDevice.h
RangeSet.h
RawPointer.h
ReadWriteLock.h
+ RecursableLambda.h
RecursiveLockAdapter.h
RedBlackTree.h
Ref.h
RefCounted.h
+ RefCountedArray.h
RefCountedLeakCounter.h
RefCounter.h
RefPtr.h
RetainPtr.h
RunLoop.h
+ RunLoopTimer.h
SHA1.h
- SharedTask.h
SaturatedArithmetic.h
+ SchedulePair.h
+ Scope.h
ScopedLambda.h
Seconds.h
SegmentedVector.h
+ SentinelLinkedList.h
+ SetForScope.h
+ SharedTask.h
+ SimpleStats.h
+ SingleRootGraph.h
+ SinglyLinkedList.h
+ SinglyLinkedListWithTail.h
+ SixCharacterHash.h
SmallPtrSet.h
+ SoftLinking.h
+ Spectrum.h
StackBounds.h
StackShot.h
StackShotProfiler.h
StackTrace.h
StdLibExtras.h
Stopwatch.h
+ StreamBuffer.h
StringExtras.h
+ StringHashDumpContext.h
StringPrintStream.h
+ SynchronizedFixedQueue.h
SystemFree.h
SystemTracing.h
ThreadGroup.h
ThreadingPrimitives.h
TimeWithDynamicClockType.h
TimingScope.h
+ TinyLRUCache.h
TinyPtrSet.h
+ TriState.h
+ TypeCasts.h
UUID.h
+ Unexpected.h
+ UniStdExtras.h
+ UnionFind.h
UniqueRef.h
+ UnsafePointer.h
VMTags.h
ValueCheck.h
Variant.h
VectorTraits.h
WallTime.h
WeakPtr.h
+ WeakRandom.h
+ WindowsExtras.h
WordLock.h
WorkQueue.h
dtoa.h
dtoa/strtod.h
dtoa/utils.h
+ persistence/PersistentCoder.h
+ persistence/PersistentCoders.h
+ persistence/PersistentDecoder.h
+ persistence/PersistentEncoder.h
+
+ text/ASCIIFastPath.h
text/AtomicString.h
+ text/AtomicStringHash.h
text/AtomicStringImpl.h
text/AtomicStringTable.h
text/Base64.h
text/CString.h
+ text/ConversionMode.h
text/IntegerToStringConversion.h
text/LChar.h
- text/LineEnding.h
text/LineBreakIteratorPoolICU.h
+ text/LineEnding.h
+ text/NullTextBreakIterator.h
+ text/OrdinalNumber.h
text/StringBuffer.h
+ text/StringBuilder.h
text/StringCommon.h
+ text/StringConcatenate.h
+ text/StringConcatenateNumbers.h
text/StringHash.h
text/StringHasher.h
text/StringImpl.h
text/StringMalloc.h
+ text/StringOperators.h
text/StringVector.h
text/StringView.h
text/SymbolImpl.h
text/SymbolRegistry.h
text/TextBreakIterator.h
text/TextBreakIteratorInternalICU.h
+ text/TextPosition.h
text/TextStream.h
text/UniquedStringImpl.h
text/ValueToString.h
text/WTFString.h
+ text/icu/TextBreakIteratorICU.h
text/icu/UTextProvider.h
text/icu/UTextProviderLatin1.h
text/icu/UTextProviderUTF16.h
set(WTF_INCLUDE_DIRECTORIES
"${BMALLOC_DIR}"
- "${WTF_DIR}"
"${CMAKE_BINARY_DIR}"
"${DERIVED_SOURCES_DIR}"
"${THIRDPARTY_DIR}"
)
set(WTF_PRIVATE_INCLUDE_DIRECTORIES
+ "${WTF_DIR}"
"${WTF_DIR}/wtf"
"${WTF_DIR}/wtf/dtoa"
"${WTF_DIR}/wtf/persistence"
${CMAKE_DL_LIBS}
)
-if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
- list(APPEND WTF_HEADERS
- spi/darwin/CommonCryptoSPI.h
- )
- list(APPEND WTF_INCLUDE_DIRECTORIES
- "${WTF_DIR}/wtf/spi/darwin"
- )
-endif ()
-
if (NOT USE_SYSTEM_MALLOC)
list(APPEND WTF_LIBRARIES bmalloc)
endif ()
WEBKIT_WRAP_SOURCELIST(${WTF_SOURCES})
WEBKIT_FRAMEWORK(WTF)
+WEBKIT_MAKE_FORWARDING_HEADERS(WTF
+ DESTINATION ${FORWARDING_HEADERS_DIR}/wtf
+ FILES ${WTF_HEADERS}
+)
+
if (MSVC)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /SUBSYSTEM:WINDOWS")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS")
set(WTF_OUTPUT_NAME WTFGTK)
+list(APPEND WTF_HEADERS
+ glib/GLibUtilities.h
+ glib/GMutexLocker.h
+ glib/GRefPtr.h
+ glib/GTypedefs.h
+ glib/GUniquePtr.h
+ glib/RunLoopSourcePriority.h
+ glib/WTFGType.h
+
+ linux/CurrentProcessMemoryStatus.h
+)
+
list(APPEND WTF_SOURCES
+ UniStdExtras.cpp
+
generic/MainThreadGeneric.cpp
generic/WorkQueueGeneric.cpp
+
glib/GLibUtilities.cpp
glib/GRefPtr.cpp
glib/RunLoopGLib.cpp
linux/MemoryFootprintLinux.cpp
linux/MemoryPressureHandlerLinux.cpp
+ text/unix/TextBreakIteratorInternalICUUnix.cpp
+
unix/CPUTimeUnix.cpp
unix/LanguageUnix.cpp
-
- UniStdExtras.cpp
-
- text/unix/TextBreakIteratorInternalICUUnix.cpp
)
list(APPEND WTF_LIBRARIES
list(APPEND WTF_SOURCES
-
generic/MainThreadGeneric.cpp
generic/WorkQueueGeneric.cpp
)
if (WIN32)
list(APPEND WTF_SOURCES
+ text/win/TextBreakIteratorInternalICUWin.cpp
+
win/CPUTimeWin.cpp
win/LanguageWin.cpp
- text/win/TextBreakIteratorInternalICUWin.cpp
)
else ()
list(APPEND WTF_SOURCES
+ text/unix/TextBreakIteratorInternalICUUnix.cpp
+
unix/CPUTimeUnix.cpp
unix/LanguageUnix.cpp
- text/unix/TextBreakIteratorInternalICUUnix.cpp
+ unix/UniStdExtras.cpp
)
endif ()
${READLINE_LIBRARY}
)
+list(APPEND WTF_HEADERS
+ cf/TypeCastsCF.h
+
+ cocoa/SoftLinking.h
+
+ darwin/WeakLinking.h
+
+ mac/AppKitCompatibilityDeclarations.h
+
+ spi/cf/CFBundleSPI.h
+ spi/cf/CFStringSPI.h
+
+ spi/cocoa/NSMapTableSPI.h
+ spi/cocoa/SecuritySPI.h
+
+ spi/darwin/CommonCryptoSPI.h
+ spi/darwin/SandboxSPI.h
+ spi/darwin/XPCSPI.h
+ spi/darwin/dyldSPI.h
+
+ text/cf/TextBreakIteratorCF.h
+)
+
list(APPEND WTF_SOURCES
AutodrainedPoolMac.mm
BlockObjCExceptions.mm
text/mac/StringViewObjC.mm
)
-list(APPEND WTF_INCLUDE_DIRECTORIES
+list(APPEND WTF_PRIVATE_INCLUDE_DIRECTORIES
"${WTF_DIR}/icu"
"${WTF_DIR}/wtf/spi/darwin"
${DERIVED_SOURCES_WTF_DIR}
+list(APPEND WTF_HEADERS
+ glib/GLibUtilities.h
+ glib/GMutexLocker.h
+ glib/GRefPtr.h
+ glib/GTypedefs.h
+ glib/GUniquePtr.h
+ glib/RunLoopSourcePriority.h
+ glib/WTFGType.h
+
+ linux/CurrentProcessMemoryStatus.h
+)
+
list(APPEND WTF_SOURCES
UniStdExtras.cpp
list(APPEND WTF_HEADERS
- cf/TypeCastsCF.h
text/win/WCharStringExtras.h
+
+ win/GDIObject.h
+ win/SoftLinking.h
+ win/Win32Handle.h
+ win/WorkItemContext.h
)
list(APPEND WTF_SOURCES
)
if (USE_CF)
+ list(APPEND WTF_HEADERS
+ cf/TypeCastsCF.h
+
+ text/cf/TextBreakIteratorCF.h
+ )
list(APPEND WTF_SOURCES
text/cf/AtomicStringImplCF.cpp
text/cf/StringCF.cpp
list(APPEND WTF_LIBRARIES ${COREFOUNDATION_LIBRARY})
endif ()
-set(WTF_FORWARDING_HEADERS_DIRECTORIES
- .
- cf
- dtoa
- generic
- persistence
- spi
- text
- text/cf
- text/icu
- text/win
- threads
- unicode
- win
-)
-WEBKIT_MAKE_FORWARDING_HEADERS(WTF
- DESTINATION ${FORWARDING_HEADERS_DIR}/wtf
- DIRECTORIES ${WTF_FORWARDING_HEADERS_DIRECTORIES})
-
set(WTF_OUTPUT_NAME WTF${DEBUG_SUFFIX})
set(WebDriver_INCLUDE_DIRECTORIES
"${WEBDRIVER_DIR}"
"${DERIVED_SOURCES_WEBDRIVER_DIR}"
+ "${FORWARDING_HEADERS_DIR}"
)
set(WebDriver_SOURCES
+2018-01-30 Don Olmstead <don.olmstead@sony.com>
+
+ [CMake] Make WTF headers copies
+ https://bugs.webkit.org/show_bug.cgi?id=182274
+
+ Reviewed by Alex Christensen.
+
+ * CMakeLists.txt:
+
2018-01-29 Carlos Garcia Campos <cgarcia@igalia.com>
WebDriver: evaluateJavaScriptFunction should return null when return value is undefined