Title: [147783] trunk/Source/WebCore/UseV8.cmake
Revision
147783
Author
[email protected]
Date
2013-04-05 12:34:17 -0700 (Fri, 05 Apr 2013)

Log Message

Removed a chunk of the v8 bindings.  Reviewed by Sam 'Anders Carlsson' Weinig.  I'm using a direct http commit to reduce email traffic.

Removed Paths

Diff

Deleted: trunk/Source/WebCore/UseV8.cmake (147782 => 147783)


--- trunk/Source/WebCore/UseV8.cmake	2013-04-05 19:34:13 UTC (rev 147782)
+++ trunk/Source/WebCore/UseV8.cmake	2013-04-05 19:34:17 UTC (rev 147783)
@@ -1,281 +0,0 @@
-add_definitions(-DUSING_V8_SHARED)
-add_definitions(-DWTF_CHANGES=1)
-
-list(APPEND WebCore_INCLUDE_DIRECTORIES
-    "${WEBCORE_DIR}/bindings/v8"
-    "${WEBCORE_DIR}/bindings/v8/custom"
-    "${_javascript_CORE_DIR}/runtime"
-)
-
-list(APPEND WebCoreTestSupport_INCLUDE_DIRECTORIES
-    "${WEBCORE_DIR}/testing/v8"
-)
-
-list(APPEND WebCore_IDL_INCLUDES
-    bindings/v8
-)
-
-list(APPEND WebCore_SOURCES
-    bindings/generic/BindingSecurity.cpp
-
-    bindings/v8/BindingState.cpp
-    bindings/v8/DOMData.cpp
-    bindings/v8/DOMDataStore.cpp
-    bindings/v8/DOMWrapperWorld.cpp
-    bindings/v8/DateExtension.cpp
-    bindings/v8/IDBBindingUtilities.cpp
-    bindings/v8/Dictionary.cpp
-    bindings/v8/PageScriptDebugServer.cpp
-    bindings/v8/RetainedDOMInfo.cpp
-    bindings/v8/ScheduledAction.cpp
-    bindings/v8/ScopedDOMDataStore.cpp
-    bindings/v8/ScriptCachedFrameData.cpp
-    bindings/v8/ScriptCallStackFactory.cpp
-    bindings/v8/ScriptController.cpp
-    bindings/v8/ScriptEventListener.cpp
-    bindings/v8/ScriptFunctionCall.cpp
-    bindings/v8/ScriptGCEvent.cpp
-    bindings/v8/ScriptInstance.cpp
-    bindings/v8/ScriptObject.cpp
-    bindings/v8/ScriptRunner.cpp
-    bindings/v8/ScriptScope.cpp
-    bindings/v8/ScriptSourceCode.cpp
-    bindings/v8/ScriptState.cpp
-    bindings/v8/ScriptValue.cpp
-    bindings/v8/SerializedScriptValue.cpp
-    bindings/v8/StaticDOMDataStore.cpp
-    bindings/v8/V8AbstractEventListener.cpp
-    bindings/v8/V8Binding.cpp
-    bindings/v8/V8Collection.cpp
-    bindings/v8/V8DOMConfiguration.cpp,
-    bindings/v8/V8DOMWindowShell.cpp
-    bindings/v8/V8DOMWrapper.cpp
-    bindings/v8/V8EventListener.cpp
-    bindings/v8/V8EventListenerList.cpp
-    bindings/v8/V8GCController.cpp
-    bindings/v8/V8GCForContextDispose.cpp
-    bindings/v8/V8HiddenPropertyName.cpp
-    bindings/v8/V8Initializer.cpp
-    bindings/v8/V8LazyEventListener.cpp
-    bindings/v8/V8NodeFilterCondition.cpp
-    bindings/v8/V8ObjectConstructor.cpp
-    bindings/v8/V8PerContextData.cpp
-    bindings/v8/V8PerIsolateData.cpp
-    bindings/v8/V8RecursionScope.cpp
-    bindings/v8/V8ThrowException.cpp
-    bindings/v8/V8Utilities.cpp
-    bindings/v8/V8ValueCache.cpp
-    bindings/v8/V8WindowErrorHandler.cpp
-    bindings/v8/V8WorkerContextErrorHandler.cpp
-    bindings/v8/V8WorkerContextEventListener.cpp
-    bindings/v8/WorkerScriptController.cpp
-    bindings/v8/WorkerScriptDebugServer.cpp
-    bindings/v8/WorldContextHandle.cpp
-    bindings/v8/npruntime.cpp
-
-    bindings/v8/custom/V8ArrayBufferCustom.cpp
-    bindings/v8/custom/V8ArrayBufferViewCustom.cpp
-    bindings/v8/custom/V8AudioContextCustom.cpp
-    bindings/v8/custom/V8BiquadFilterNodeCustom.cpp
-    bindings/v8/custom/V8CSSRuleCustom.cpp
-    bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp
-    bindings/v8/custom/V8CSSValueCustom.cpp
-    bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp
-    bindings/v8/custom/V8CanvasRenderingContextCustom.cpp
-    bindings/v8/custom/V8ClipboardCustom.cpp
-    bindings/v8/custom/V8ConsoleCustom.cpp
-    bindings/v8/custom/V8CustomEventCustom.cpp
-    bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp
-    bindings/v8/custom/V8CustomXPathNSResolver.cpp
-    bindings/v8/custom/V8DOMFormDataCustom.cpp
-    bindings/v8/custom/V8DOMStringMapCustom.cpp
-    bindings/v8/custom/V8DOMWindowCustom.cpp
-    bindings/v8/custom/V8DataViewCustom.cpp
-    bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp
-    bindings/v8/custom/V8DeviceMotionEventCustom.cpp
-    bindings/v8/custom/V8DeviceOrientationEventCustom.cpp
-    bindings/v8/custom/V8DocumentCustom.cpp
-    bindings/v8/custom/V8DocumentLocationCustom.cpp
-    bindings/v8/custom/V8EntrySyncCustom.cpp
-    bindings/v8/custom/V8EventConstructors.cpp
-    bindings/v8/custom/V8EventCustom.cpp
-    bindings/v8/custom/V8FileReaderCustom.cpp
-    bindings/v8/custom/V8GeolocationCustom.cpp
-    bindings/v8/custom/V8HTMLAllCollectionCustom.cpp
-    bindings/v8/custom/V8HTMLCanvasElementCustom.cpp
-    bindings/v8/custom/V8HTMLCollectionCustom.cpp
-    bindings/v8/custom/V8HTMLDocumentCustom.cpp
-    bindings/v8/custom/V8HTMLElementCustom.cpp
-    bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
-    bindings/v8/custom/V8HTMLFormElementCustom.cpp
-    bindings/v8/custom/V8HTMLFrameElementCustom.cpp
-    bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp
-    bindings/v8/custom/V8HTMLImageElementConstructor.cpp
-    bindings/v8/custom/V8HTMLInputElementConstructor.cpp
-    bindings/v8/custom/V8HTMLLinkElementCustom.cpp
-    bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
-    bindings/v8/custom/V8HTMLPlugInElementCustom.cpp
-    bindings/v8/custom/V8HTMLSelectElementCustom.cpp
-    bindings/v8/custom/V8HistoryCustom.cpp
-    bindings/v8/custom/V8IDBAnyCustom.cpp
-    bindings/v8/custom/V8ImageDataCustom.cpp
-    bindings/v8/custom/V8InjectedScriptHostCustom.cpp
-    bindings/v8/custom/V8InjectedScriptManager.cpp
-    bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
-    bindings/v8/custom/V8LocationCustom.cpp
-    bindings/v8/custom/V8MessageChannelCustom.cpp
-    bindings/v8/custom/V8MessageEventCustom.cpp
-    bindings/v8/custom/V8MessagePortCustom.cpp
-    bindings/v8/custom/V8MicroDataItemValueCustom.cpp
-    bindings/v8/custom/V8MutationCallbackCustom.cpp
-    bindings/v8/custom/V8MutationObserverCustom.cpp
-    bindings/v8/custom/V8NamedNodeMapCustom.cpp
-    bindings/v8/custom/V8NamedNodesCollection.cpp
-    bindings/v8/custom/V8NodeCustom.cpp
-    bindings/v8/custom/V8NodeListCustom.cpp
-    bindings/v8/custom/V8OscillatorNodeCustom.cpp
-    bindings/v8/custom/V8PerformanceEntryCustom.cpp
-    bindings/v8/custom/V8PannerNodeCustom.cpp
-    bindings/v8/custom/V8PopStateEventCustom.cpp
-    bindings/v8/custom/V8SQLResultSetRowListCustom.cpp
-    bindings/v8/custom/V8SQLTransactionCustom.cpp
-    bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
-    bindings/v8/custom/V8StorageCustom.cpp
-    bindings/v8/custom/V8StringResource.cpp
-    bindings/v8/custom/V8StyleSheetCustom.cpp
-    bindings/v8/custom/V8StyleSheetListCustom.cpp
-    bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
-    bindings/v8/custom/V8WebKitPointCustom.cpp
-    bindings/v8/custom/V8WorkerContextCustom.cpp
-    bindings/v8/custom/V8WorkerCustom.cpp
-    bindings/v8/custom/V8XMLHttpRequestCustom.cpp
-    bindings/v8/custom/V8XSLTProcessorCustom.cpp
-)
-
-list(APPEND WebCoreTestSupport_SOURCES
-    testing/v8/WebCoreTestSupport.cpp
-)
-
-list(APPEND WebCore_SOURCES
-    ${_javascript_CORE_DIR}/yarr/YarrInterpreter.cpp
-    ${_javascript_CORE_DIR}/yarr/YarrJIT.cpp
-    ${_javascript_CORE_DIR}/yarr/YarrPattern.cpp
-    ${_javascript_CORE_DIR}/yarr/YarrSyntaxChecker.cpp
-)
-
-if (ENABLE_JAVASCRIPT_DEBUGGER)
-    list(APPEND WebCore_SOURCES
-        bindings/v8/_javascript_CallFrame.cpp
-        bindings/v8/ScriptDebugServer.cpp
-        bindings/v8/ScriptHeapSnapshot.cpp
-        bindings/v8/ScriptProfile.cpp
-        bindings/v8/ScriptProfileNode.cpp
-        bindings/v8/ScriptProfiler.cpp
-
-        bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp
-    )
-endif ()
-
-if (ENABLE_NETSCAPE_PLUGIN_API)
-    list(APPEND WebCore_SOURCES
-        bindings/v8/NPV8Object.cpp
-        bindings/v8/V8NPObject.cpp
-        bindings/v8/V8NPUtils.cpp
-    )
-endif ()
-
-if (ENABLE_VIDEO)
-    list(APPEND WebCore_SOURCES
-        bindings/v8/custom/V8HTMLAudioElementConstructor.cpp
-    )
-endif ()
-
-if (ENABLE_SVG)
-    list(APPEND WebCore_SOURCES
-        bindings/v8/custom/V8SVGDocumentCustom.cpp
-        bindings/v8/custom/V8SVGElementCustom.cpp
-        bindings/v8/custom/V8SVGLengthCustom.cpp
-        bindings/v8/custom/V8SVGPathSegCustom.cpp
-    )
-endif ()
-
-list(APPEND SCRIPTS_BINDINGS
-    ${WEBCORE_DIR}/bindings/scripts/CodeGenerator.pm
-    ${WEBCORE_DIR}/bindings/scripts/CodeGeneratorV8.pm
-)
-
-set(IDL_INCLUDES "")
-foreach (_include ${WebCore_IDL_INCLUDES})
-    list(APPEND IDL_INCLUDES --include=${WEBCORE_DIR}/${_include})
-endforeach ()
-
-foreach (_include ${WebCoreTestSupport_IDL_INCLUDES})
-    list(APPEND IDL_INCLUDES --include=${WEBCORE_DIR}/${_include})
-endforeach ()
-
-set(FEATURE_DEFINES_JAVASCRIPT "LANGUAGE_JAVASCRIPT=1 V8_BINDING=1 ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
-
-# Generate DebuggerScriptSource.h
-add_custom_command(
-    OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/DebuggerScriptSource.h
-    MAIN_DEPENDENCY ${WEBCORE_DIR}/bindings/v8/DebuggerScript.js
-    DEPENDS ${WEBCORE_DIR}/inspector/xxd.pl
-    COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/inspector/xxd.pl DebuggerScriptSource_js ${WEBCORE_DIR}/bindings/v8/DebuggerScript.js ${DERIVED_SOURCES_WEBCORE_DIR}/DebuggerScriptSource.h
-    VERBATIM)
-list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/DebuggerScriptSource.h)
-
-#GENERATOR: "RegExpJitTables.h": tables used by Yarr
-add_custom_command(
-    OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/RegExpJitTables.h
-    MAIN_DEPENDENCY ${_javascript_CORE_DIR}/create_regex_tables
-    COMMAND ${PYTHON_EXECUTABLE} ${_javascript_CORE_DIR}/create_regex_tables > ${DERIVED_SOURCES_WEBCORE_DIR}/RegExpJitTables.h
-    VERBATIM)
-ADD_SOURCE_DEPENDENCIES(${_javascript_CORE_DIR}/yarr/YarrPattern.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/RegExpJitTables.h)
-
-# Generate V8ArrayBufferViewCustomScript.h
-add_custom_command(
-    OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/V8ArrayBufferViewCustomScript.h
-    MAIN_DEPENDENCY ${WEBCORE_DIR}/bindings/v8/custom/V8ArrayBufferViewCustomScript.js
-    DEPENDS ${WEBCORE_DIR}/inspector/xxd.pl
-    COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/inspector/xxd.pl V8ArrayBufferViewCustomScript_js ${WEBCORE_DIR}/bindings/v8/custom/V8ArrayBufferViewCustomScript.js ${DERIVED_SOURCES_WEBCORE_DIR}/V8ArrayBufferViewCustomScript.h
-    VERBATIM)
-list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/V8ArrayBufferViewCustomScript.h)
-
-# Create _javascript_ C++ code given an IDL input
-foreach (_idl ${WebCore_IDL_FILES})
-    set(IDL_FILES_LIST "${IDL_FILES_LIST}${WEBCORE_DIR}/${_idl}\n")
-endforeach ()
-
-foreach (_idl ${WebCoreTestSupport_IDL_FILES})
-    set(IDL_FILES_LIST "${IDL_FILES_LIST}${WEBCORE_DIR}/${_idl}\n")
-endforeach ()
-
-set(IDL_FILES_LIST "${IDL_FILES_LIST}${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.idl\n")
-list(APPEND WebCoreTestSupport_IDL_FILES ${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.idl)
-list(APPEND IDL_INCLUDES --include=${DERIVED_SOURCES_WEBCORE_DIR})
-
-file(WRITE ${IDL_FILES_TMP} ${IDL_FILES_LIST})
-
-add_custom_command(
-    OUTPUT ${SUPPLEMENTAL_DEPENDENCY_FILE}
-    DEPENDS ${WEBCORE_DIR}/bindings/scripts/preprocess-idls.pl ${SCRIPTS_PREPROCESS_IDLS} ${WebCore_IDL_FILES} ${WebCoreTestSupport_IDL_FILES} ${IDL_ATTRIBUTES_FILE}
-    COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts ${WEBCORE_DIR}/bindings/scripts/preprocess-idls.pl --defines "${FEATURE_DEFINES_JAVASCRIPT}" --idlFilesList ${IDL_FILES_TMP} --supplementalDependencyFile ${SUPPLEMENTAL_DEPENDENCY_FILE}
-    VERBATIM)
-
-GENERATE_BINDINGS(WebCore_SOURCES
-    "${WebCore_IDL_FILES}"
-    "${WEBCORE_DIR}"
-    "${IDL_INCLUDES}"
-    "${FEATURE_DEFINES_JAVASCRIPT}"
-    ${DERIVED_SOURCES_WEBCORE_DIR} V8 V8
-    ${IDL_ATTRIBUTES_FILE}
-    ${SUPPLEMENTAL_DEPENDENCY_FILE})
-
-GENERATE_BINDINGS(WebCoreTestSupport_SOURCES
-    "${WebCoreTestSupport_IDL_FILES}"
-    "${WEBCORE_DIR}"
-    "${IDL_INCLUDES}"
-    "${FEATURE_DEFINES_JAVASCRIPT}"
-    ${DERIVED_SOURCES_WEBCORE_DIR} V8 V8
-    ${IDL_ATTRIBUTES_FILE}
-    ${SUPPLEMENTAL_DEPENDENCY_FILE})
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to