diff options
author | Steve Block <steveblock@google.com> | 2011-05-25 19:08:45 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-06-08 13:51:31 +0100 |
commit | 2bde8e466a4451c7319e3a072d118917957d6554 (patch) | |
tree | 28f4a1b869a513e565c7760d0e6a06e7cf1fe95a /Source/WebCore/CMakeLists.txt | |
parent | 6939c99b71d9372d14a0c74a772108052e8c48c8 (diff) | |
download | external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.zip external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.gz external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.bz2 |
Merge WebKit at r82507: Initial merge by git
Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
Diffstat (limited to 'Source/WebCore/CMakeLists.txt')
-rw-r--r-- | Source/WebCore/CMakeLists.txt | 245 |
1 files changed, 49 insertions, 196 deletions
diff --git a/Source/WebCore/CMakeLists.txt b/Source/WebCore/CMakeLists.txt index ed95064..630f76e 100644 --- a/Source/WebCore/CMakeLists.txt +++ b/Source/WebCore/CMakeLists.txt @@ -3,12 +3,8 @@ SET(WebCore_INCLUDE_DIRECTORIES "${WEBCORE_DIR}/accessibility" "${WEBCORE_DIR}/bindings" "${WEBCORE_DIR}/bindings/generic" - "${WEBCORE_DIR}/bindings/js" - "${WEBCORE_DIR}/bindings/js/specialization" "${WEBCORE_DIR}/bridge" "${WEBCORE_DIR}/bridge/c" - "${WEBCORE_DIR}/bridge/jni/jsc" - "${WEBCORE_DIR}/bridge/jsc" "${WEBCORE_DIR}/css" "${WEBCORE_DIR}/dom" "${WEBCORE_DIR}/dom/default" @@ -86,7 +82,6 @@ SET(WebCore_INCLUDE_DIRECTORIES SET(WebCore_IDL_INCLUDES bindings/generic - bindings/js css dom fileapi @@ -140,6 +135,8 @@ SET(WebCore_IDL_FILES dom/Comment.idl dom/CompositionEvent.idl dom/CustomEvent.idl + dom/DataTransferItem.idl + dom/DataTransferItems.idl dom/DeviceMotionEvent.idl dom/DeviceOrientationEvent.idl dom/DocumentFragment.idl @@ -175,6 +172,7 @@ SET(WebCore_IDL_FILES dom/ProgressEvent.idl dom/RangeException.idl dom/Range.idl + dom/StringCallback.idl dom/TextEvent.idl dom/Text.idl dom/TouchEvent.idl @@ -340,6 +338,8 @@ SET(WebCore_IDL_FILES page/SpeechInputEvent.idl page/SpeechInputResult.idl page/SpeechInputResultList.idl + page/WebKitAnimation.idl + page/WebKitAnimationList.idl page/WebKitPoint.idl page/WorkerNavigator.idl @@ -453,168 +453,6 @@ SET(WebCore_SOURCES bindings/generic/ActiveDOMCallback.cpp bindings/generic/RuntimeEnabledFeatures.cpp - bindings/js/DOMObjectHashTableMap.cpp - bindings/js/DOMWrapperWorld.cpp - bindings/js/GCController.cpp - bindings/js/IDBBindingUtilities.cpp - bindings/js/JSAttrCustom.cpp - bindings/js/JSArrayBufferCustom.cpp - bindings/js/JSDataViewCustom.cpp - bindings/js/JSCDATASectionCustom.cpp - bindings/js/JSCSSFontFaceRuleCustom.cpp - bindings/js/JSCSSImportRuleCustom.cpp - bindings/js/JSCSSMediaRuleCustom.cpp - bindings/js/JSCSSPageRuleCustom.cpp - bindings/js/JSCSSRuleCustom.cpp - bindings/js/JSCSSRuleListCustom.cpp - bindings/js/JSCSSStyleDeclarationCustom.cpp - bindings/js/JSCSSStyleRuleCustom.cpp - bindings/js/JSCSSValueCustom.cpp - bindings/js/JSCallbackData.cpp - bindings/js/JSCanvasRenderingContext2DCustom.cpp - bindings/js/JSCanvasRenderingContextCustom.cpp - bindings/js/JSClipboardCustom.cpp - bindings/js/JSConsoleCustom.cpp - bindings/js/JSCoordinatesCustom.cpp - bindings/js/JSCustomPositionCallback.cpp - bindings/js/JSCustomPositionErrorCallback.cpp - bindings/js/JSCustomSQLStatementErrorCallback.cpp - bindings/js/JSCustomVoidCallback.cpp - bindings/js/JSCustomXPathNSResolver.cpp - bindings/js/JSDOMApplicationCacheCustom.cpp - bindings/js/JSDOMBinding.cpp - bindings/js/JSDOMFormDataCustom.cpp - bindings/js/JSDOMGlobalObject.cpp - bindings/js/JSDOMImplementationCustom.cpp - bindings/js/JSDOMMimeTypeArrayCustom.cpp - bindings/js/JSDOMPluginArrayCustom.cpp - bindings/js/JSDOMPluginCustom.cpp - bindings/js/JSDOMStringMapCustom.cpp - bindings/js/JSDOMWindowBase.cpp - bindings/js/JSDOMWindowCustom.cpp - bindings/js/JSDOMWindowShell.cpp - bindings/js/JSDOMWrapper.cpp - bindings/js/JSDataGridColumnListCustom.cpp - bindings/js/JSDataGridDataSource.cpp - bindings/js/JSDedicatedWorkerContextCustom.cpp - bindings/js/JSDeviceMotionEventCustom.cpp - bindings/js/JSDeviceOrientationEventCustom.cpp - bindings/js/JSDocumentCustom.cpp - bindings/js/JSElementCustom.cpp - bindings/js/JSErrorHandler.cpp - bindings/js/JSEventCustom.cpp - bindings/js/JSEventListener.cpp - bindings/js/JSEventSourceCustom.cpp - bindings/js/JSEventTarget.cpp - bindings/js/JSExceptionBase.cpp - bindings/js/JSFileReaderCustom.cpp - bindings/js/JSFloat32ArrayCustom.cpp - bindings/js/JSGeolocationCustom.cpp - bindings/js/JSHTMLAllCollectionCustom.cpp - bindings/js/JSHTMLAppletElementCustom.cpp - bindings/js/JSHTMLCanvasElementCustom.cpp - bindings/js/JSHTMLCollectionCustom.cpp - bindings/js/JSHTMLDataGridElementCustom.cpp - bindings/js/JSHTMLDocumentCustom.cpp - bindings/js/JSHTMLElementCustom.cpp - bindings/js/JSHTMLEmbedElementCustom.cpp - bindings/js/JSHTMLFormElementCustom.cpp - bindings/js/JSHTMLFrameElementCustom.cpp - bindings/js/JSHTMLFrameSetElementCustom.cpp - bindings/js/JSHTMLInputElementCustom.cpp - bindings/js/JSHTMLLinkElementCustom.cpp - bindings/js/JSHTMLObjectElementCustom.cpp - bindings/js/JSHTMLOptionsCollectionCustom.cpp - bindings/js/JSHTMLOutputElementCustom.cpp - bindings/js/JSHTMLSelectElementCustom.cpp - bindings/js/JSHTMLStyleElementCustom.cpp - bindings/js/JSHistoryCustom.cpp - bindings/js/JSIDBAnyCustom.cpp - bindings/js/JSIDBKeyCustom.cpp - bindings/js/JSImageConstructor.cpp - bindings/js/JSImageDataCustom.cpp - bindings/js/JSInt16ArrayCustom.cpp - bindings/js/JSInt32ArrayCustom.cpp - bindings/js/JSInt8ArrayCustom.cpp - bindings/js/JSInjectedScriptHostCustom.cpp - bindings/js/JSInspectorFrontendHostCustom.cpp - bindings/js/JSJavaScriptCallFrameCustom.cpp - bindings/js/JSLazyEventListener.cpp - bindings/js/JSLocationCustom.cpp - bindings/js/JSMainThreadExecState.cpp - bindings/js/JSMemoryInfoCustom.cpp - bindings/js/JSMessageChannelCustom.cpp - bindings/js/JSMessageEventCustom.cpp - bindings/js/JSMessagePortCustom.cpp - bindings/js/JSNamedNodeMapCustom.cpp - bindings/js/JSNavigatorCustom.cpp - bindings/js/JSNodeCustom.cpp - bindings/js/JSNodeFilterCondition.cpp - bindings/js/JSNodeFilterCustom.cpp - bindings/js/JSNodeIteratorCustom.cpp - bindings/js/JSNodeListCustom.cpp - bindings/js/JSOptionConstructor.cpp - bindings/js/JSPluginElementFunctions.cpp - bindings/js/JSProcessingInstructionCustom.cpp - bindings/js/JSSQLResultSetRowListCustom.cpp - bindings/js/JSSQLTransactionCustom.cpp - bindings/js/JSSQLTransactionSyncCustom.cpp - bindings/js/JSScriptProfileNodeCustom.cpp - bindings/js/JSSharedWorkerCustom.cpp - bindings/js/JSStorageCustom.cpp - bindings/js/JSStyleSheetCustom.cpp - bindings/js/JSStyleSheetListCustom.cpp - bindings/js/JSTextCustom.cpp - bindings/js/JSTouchCustom.cpp - bindings/js/JSTouchListCustom.cpp - bindings/js/JSTreeWalkerCustom.cpp - bindings/js/JSUint16ArrayCustom.cpp - bindings/js/JSUint32ArrayCustom.cpp - bindings/js/JSUint8ArrayCustom.cpp - bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp - bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp - bindings/js/JSWebKitCSSMatrixCustom.cpp - bindings/js/JSWebKitPointCustom.cpp - bindings/js/JSWebSocketCustom.cpp - bindings/js/JSWorkerContextBase.cpp - bindings/js/JSWorkerContextCustom.cpp - bindings/js/JSWorkerCustom.cpp - bindings/js/JSXMLHttpRequestCustom.cpp - bindings/js/JSXMLHttpRequestUploadCustom.cpp - bindings/js/JSXSLTProcessorCustom.cpp - bindings/js/JavaScriptCallFrame.cpp - bindings/js/ScheduledAction.cpp - bindings/js/ScriptCachedFrameData.cpp - bindings/js/ScriptCallStackFactory.cpp - bindings/js/ScriptController.cpp - bindings/js/ScriptDebugServer.cpp - bindings/js/ScriptEventListener.cpp - bindings/js/ScriptFunctionCall.cpp - bindings/js/ScriptGCEvent.cpp - bindings/js/ScriptObject.cpp - bindings/js/ScriptProfile.cpp - bindings/js/ScriptProfiler.cpp - bindings/js/ScriptState.cpp - bindings/js/ScriptValue.cpp - bindings/js/SerializedScriptValue.cpp - bindings/js/WorkerScriptController.cpp - - bridge/IdentifierRep.cpp - bridge/NP_jsobject.cpp - bridge/npruntime.cpp - bridge/runtime_array.cpp - bridge/runtime_method.cpp - bridge/runtime_object.cpp - bridge/runtime_root.cpp - - bridge/c/CRuntimeObject.cpp - bridge/c/c_class.cpp - bridge/c/c_instance.cpp - bridge/c/c_runtime.cpp - bridge/c/c_utility.cpp - - bridge/jsc/BridgeJSC.cpp - css/CSSBorderImageValue.cpp css/CSSCanvasValue.cpp css/CSSCharsetRule.cpp @@ -632,6 +470,7 @@ SET(WebCore_SOURCES css/CSSImportRule.cpp css/CSSInheritedValue.cpp css/CSSInitialValue.cpp + css/CSSLineBoxContainValue.cpp css/CSSMediaRule.cpp css/CSSMutableStyleDeclaration.cpp css/CSSOMUtils.cpp @@ -649,6 +488,7 @@ SET(WebCore_SOURCES css/CSSSegmentedFontFace.cpp css/CSSSelector.cpp css/CSSSelectorList.cpp + css/CSSStyleApplyProperty.cpp css/CSSStyleDeclaration.cpp css/CSSStyleRule.cpp css/CSSStyleSelector.cpp @@ -679,7 +519,6 @@ SET(WebCore_SOURCES css/WebKitCSSTransformValue.cpp dom/ActiveDOMObject.cpp - dom/AsyncScriptRunner.cpp dom/Attr.cpp dom/Attribute.cpp dom/BeforeTextInsertedEvent.cpp @@ -722,6 +561,7 @@ SET(WebCore_SOURCES dom/ErrorEvent.cpp dom/Event.cpp dom/EventContext.cpp + dom/EventDispatcher.cpp dom/EventNames.cpp dom/EventTarget.cpp dom/EventQueue.cpp @@ -760,6 +600,7 @@ SET(WebCore_SOURCES dom/ScriptableDocumentParser.cpp dom/ScriptElement.cpp dom/ScriptExecutionContext.cpp + dom/ScriptRunner.cpp dom/SelectElement.cpp dom/SelectorNodeList.cpp dom/SpaceSplitString.cpp @@ -1038,10 +879,13 @@ SET(WebCore_SOURCES html/shadow/TextControlInnerElements.cpp inspector/ConsoleMessage.cpp + inspector/DOMNodeHighlighter.cpp inspector/InjectedScript.cpp inspector/InjectedScriptHost.cpp + inspector/InjectedScriptManager.cpp inspector/InspectorAgent.cpp inspector/InspectorApplicationCacheAgent.cpp + inspector/InspectorPageAgent.cpp inspector/InspectorBrowserDebuggerAgent.cpp inspector/InspectorCSSAgent.cpp inspector/InspectorClient.cpp @@ -1063,10 +907,12 @@ SET(WebCore_SOURCES inspector/InspectorStyleSheet.cpp inspector/InspectorTimelineAgent.cpp inspector/InspectorValues.cpp + inspector/PageDebuggerAgent.cpp inspector/ScriptArguments.cpp inspector/ScriptCallFrame.cpp inspector/ScriptCallStack.cpp inspector/TimelineRecordFactory.cpp + inspector/WorkerDebuggerAgent.cpp loader/CrossOriginAccessControl.cpp loader/CrossOriginPreflightResultCache.cpp @@ -1124,6 +970,7 @@ SET(WebCore_SOURCES loader/cache/MemoryCache.cpp loader/icon/IconDatabase.cpp + loader/icon/IconDatabaseBase.cpp loader/icon/IconLoader.cpp loader/icon/IconRecord.cpp loader/icon/PageURLRecord.cpp @@ -1170,6 +1017,8 @@ SET(WebCore_SOURCES page/SpatialNavigation.cpp page/SuspendableTimer.cpp page/UserContentURLPattern.cpp + page/WebKitAnimation.cpp + page/WebKitAnimationList.cpp page/WindowFeatures.cpp page/WorkerNavigator.cpp @@ -1184,6 +1033,7 @@ SET(WebCore_SOURCES platform/ContextMenuItem.cpp platform/ContentType.cpp platform/CrossThreadCopier.cpp + platform/DefaultLocalizationStrategy.cpp platform/DragData.cpp platform/DragImage.cpp platform/FileChooser.cpp @@ -1479,6 +1329,7 @@ SET(WebCore_SOURCES storage/StorageNamespace.cpp storage/StorageNamespaceImpl.cpp storage/StorageSyncManager.cpp + storage/StorageTracker.cpp websockets/ThreadableWebSocketChannel.cpp websockets/WebSocket.cpp @@ -1545,7 +1396,7 @@ SET(WebCore_USER_AGENT_STYLE_SHEETS ${WEBCORE_DIR}/css/html.css ${WEBCORE_DIR}/css/mathml.css ${WEBCORE_DIR}/css/mediaControls.css - ${WEBCORE_DIR}/css/mediaControlsGtk.css + ${WEBCORE_DIR}/css/mediaControlsEfl.css ${WEBCORE_DIR}/css/quirks.css ${WEBCORE_DIR}/css/svg.css ${WEBCORE_DIR}/css/view-source.css @@ -1573,6 +1424,15 @@ IF (ENABLE_DATABASE) ) ENDIF () +IF (ENABLE_DATA_TRANSFER_ITEMS) + LIST(APPEND WebCore_IDL_FILES + ) + LIST(APPEND WebCore_SOURCES + dom/DataTransferItem.cpp + dom/StringCallback.cpp + ) +ENDIF () + IF (ENABLE_MATHML) LIST(APPEND WebCore_SOURCES mathml/MathMLElement.cpp @@ -2087,42 +1947,26 @@ ENDIF () # Modules that the bindings generator scripts may use SET(SCRIPTS_BINDINGS - ${WEBCORE_DIR}/bindings/scripts/CodeGenerator.pm ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm ${WEBCORE_DIR}/bindings/scripts/IDLStructure.pm ${WEBCORE_DIR}/bindings/scripts/InFilesParser.pm ) -SET(IDL_INCLUDES "") -FOREACH (_include ${WebCore_IDL_INCLUDES}) - LIST(APPEND IDL_INCLUDES --include=${WEBCORE_DIR}/${_include}) -ENDFOREACH () - -SET(FEATURE_DEFINES_JAVASCRIPT "LANGUAGE_JAVASCRIPT=1") -FOREACH (_feature ${FEATURE_DEFINES}) - SET(FEATURE_DEFINES_JAVASCRIPT "${FEATURE_DEFINES_JAVASCRIPT} ${_feature}") -ENDFOREACH () - - -# Create JavaScript C++ code given an IDL input -FOREACH (_file ${WebCore_IDL_FILES}) - GET_FILENAME_COMPONENT (_name ${_file} NAME_WE) - ADD_CUSTOM_COMMAND( - OUTPUT ${DERIVED_SOURCES_DIR}/JS${_name}.cpp ${DERIVED_SOURCES_DIR}/JS${_name}.h - MAIN_DEPENDENCY ${_file} - DEPENDS ${WEBCORE_DIR}/bindings/scripts/generate-bindings.pl ${SCRIPTS_BINDINGS} ${WEBCORE_DIR}/bindings/scripts/CodeGeneratorJS.pm ${_file} - COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts ${WEBCORE_DIR}/bindings/scripts/generate-bindings.pl --defines "${FEATURE_DEFINES_JAVASCRIPT}" --generator JS ${IDL_INCLUDES} --outputDir "${DERIVED_SOURCES_DIR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" ${WEBCORE_DIR}/${_file} - VERBATIM) - LIST(APPEND WebCore_SOURCES ${DERIVED_SOURCES_DIR}/JS${_name}.cpp) -ENDFOREACH () - +INCLUDE(${WEBCORE_DIR}/UseJSC.cmake) # All Web Inspector generated files are created with this one call to CodeGeneratorInspector.pm ADD_CUSTOM_COMMAND( + OUTPUT ${DERIVED_SOURCES_DIR}/Inspector.idl + MAIN_DEPENDENCY inspector/Inspector.json + DEPENDS ${WEBCORE_DIR}/inspector/generate-inspector-idl ${WEBCORE_DIR}/inspector/Inspector.json + COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/inspector/generate-inspector-idl -o ${DERIVED_SOURCES_DIR}/Inspector.idl ${WEBCORE_DIR}/inspector/Inspector.json + VERBATIM) + +ADD_CUSTOM_COMMAND( OUTPUT ${DERIVED_SOURCES_DIR}/InspectorBackendDispatcher.cpp ${DERIVED_SOURCES_DIR}/InspectorBackendDispatcher.h ${DERIVED_SOURCES_DIR}/InspectorFrontend.cpp ${DERIVED_SOURCES_DIR}/InspectorFrontend.h - MAIN_DEPENDENCY inspector/Inspector.idl - DEPENDS ${WEBCORE_DIR}/bindings/scripts/generate-bindings.pl ${SCRIPTS_BINDINGS} ${WEBCORE_DIR}/inspector/CodeGeneratorInspector.pm inspector/Inspector.idl - COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts -I${WEBCORE_DIR}/inspector ${WEBCORE_DIR}/bindings/scripts/generate-bindings.pl --defines "${FEATURE_DEFINES_JAVASCRIPT}" --generator Inspector ${IDL_INCLUDES} --outputDir "${DERIVED_SOURCES_DIR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" ${WEBCORE_DIR}/inspector/Inspector.idl + MAIN_DEPENDENCY ${DERIVED_SOURCES_DIR}/Inspector.idl + DEPENDS ${WEBCORE_DIR}/bindings/scripts/generate-bindings.pl ${SCRIPTS_BINDINGS} ${WEBCORE_DIR}/inspector/CodeGeneratorInspector.pm ${DERIVED_SOURCES_DIR}/Inspector.idl + COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts -I${WEBCORE_DIR}/inspector ${WEBCORE_DIR}/bindings/scripts/generate-bindings.pl --defines "${FEATURE_DEFINES_JAVASCRIPT}" --generator Inspector ${IDL_INCLUDES} --outputDir "${DERIVED_SOURCES_DIR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" ${DERIVED_SOURCES_DIR}/Inspector.idl VERBATIM) LIST(APPEND WebCore_SOURCES ${DERIVED_SOURCES_DIR}/InspectorBackendDispatcher.cpp ${DERIVED_SOURCES_DIR}/InspectorFrontend.cpp) @@ -2263,6 +2107,15 @@ GENERATE_DOM_NAMES(XML ${WEBCORE_DIR}/xml/xmlattrs.in) LIST(APPEND WebCore_SOURCES ${DERIVED_SOURCES_DIR}/XMLNames.cpp) +ADD_CUSTOM_COMMAND( + OUTPUT ${DERIVED_SOURCES_DIR}/WebKitVersion.h + MAIN_DEPENDENCY ${WEBKIT_DIR}/scripts/generate-webkitversion.pl + DEPENDS ${WEBKIT_DIR}/mac/Configurations/Version.xcconfig + COMMAND ${PERL_EXECUTABLE} ${WEBKIT_DIR}/scripts/generate-webkitversion.pl --config ${WEBKIT_DIR}/mac/Configurations/Version.xcconfig --outputDir ${DERIVED_SOURCES_DIR} + VERBATIM) +LIST(APPEND WebCore_SOURCES ${DERIVED_SOURCES_DIR}/WebKitVersion.h) + + SET(WebCore_LIBRARIES ${JavaScriptCore_LIBRARY_NAME} ) |