Changeset 67306 in webkit


Ignore:
Timestamp:
Sep 11, 2010 11:11:05 AM (14 years ago)
Author:
Simon Hausmann
Message:

JavaScriptCore: [Qt] V8 port: webcore project files changes
https://bugs.webkit.org/show_bug.cgi?id=45141

Reviewed by Andreas Kling.

so that they can also be used from WebCore.pro for v8 builds.

  • wtf/wtf.pri: Added.

WebCore: [Qt] V8 port: webcore project files changes
https://bugs.webkit.org/show_bug.cgi?id=45141

Reviewed by Andreas Kling.

Modify webcore project files to include V8 javascript engine. By default disabled.

  • WebCore.pri:
  • WebCore.pro:
  • features.pri:
Location:
trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r67271 r67306  
     12010-09-11  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] V8 port: webcore project files changes
     6        https://bugs.webkit.org/show_bug.cgi?id=45141
     7
     8        * JavaScriptCore.pro: Moved wtf specific files to wtf.pri,
     9        so that they can also be used from WebCore.pro for v8 builds.
     10        * wtf/wtf.pri: Added.
     11
    1122010-09-10  Fridrich Strba  <fridrich.strba@bluewin.ch>
    213
  • trunk/JavaScriptCore/JavaScriptCore.pro

    r65150 r67306  
    6767
    6868include(pcre/pcre.pri)
     69include(wtf/wtf.pri)
    6970
    7071SOURCES += \
     
    204205    runtime/TimeoutChecker.cpp \
    205206    runtime/UString.cpp \
    206     wtf/Assertions.cpp \
    207     wtf/ByteArray.cpp \
    208     wtf/CurrentTime.cpp \
    209     wtf/DateMath.cpp \
    210     wtf/dtoa.cpp \
    211     wtf/FastMalloc.cpp \
    212     wtf/HashTable.cpp \
    213     wtf/MD5.cpp \
    214     wtf/MainThread.cpp \
    215     wtf/qt/MainThreadQt.cpp \
    216     wtf/qt/StringQt.cpp \
    217     wtf/qt/ThreadingQt.cpp \
    218     wtf/PageAllocation.cpp \
    219     wtf/RandomNumber.cpp \
    220     wtf/RefCountedLeakCounter.cpp \
    221     wtf/ThreadingNone.cpp \
    222     wtf/Threading.cpp \
    223     wtf/TypeTraits.cpp \
    224     wtf/WTFThreadData.cpp \
    225     wtf/text/AtomicString.cpp \
    226     wtf/text/CString.cpp \
    227     wtf/text/StringImpl.cpp \
    228     wtf/text/StringStatics.cpp \
    229     wtf/text/WTFString.cpp \
    230     wtf/unicode/CollatorDefault.cpp \
    231     wtf/unicode/icu/CollatorICU.cpp \
    232     wtf/unicode/UTF8.cpp \
    233207    yarr/RegexCompiler.cpp \
    234208    yarr/RegexInterpreter.cpp \
     
    237211# Generated files, simply list them for JavaScriptCore
    238212
    239 !contains(DEFINES, USE_SYSTEM_MALLOC) {
    240     SOURCES += wtf/TCSystemAlloc.cpp
    241 }
    242 
    243213# Disable C++0x mode in JSC for those who enabled it in their Qt's mkspec
    244214*-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x
  • trunk/WebCore/ChangeLog

    r67305 r67306  
     12010-09-03  Vlad Burlik  <volodimir.burlik@nokia.com>, Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] V8 port: webcore project files changes
     6        https://bugs.webkit.org/show_bug.cgi?id=45141
     7
     8        Modify webcore project files to include V8 javascript engine. By default disabled.
     9
     10        * WebCore.pri:
     11        * WebCore.pro:
     12        * features.pri:
     13
    1142010-09-11  Andreas Kling  <andreas.kling@nokia.com>
    215
  • trunk/WebCore/WebCore.pri

    r67159 r67306  
    6363    $$PWD/css/themeQtNoListboxes.css \
    6464    $$PWD/css/themeQtMaemo5.css
     65
     66v8 {
     67    IDL_BINDINGS += \
     68        html/canvas/CanvasPixelArray.idl
     69}
    6570
    6671IDL_BINDINGS += \
     
    496501INSPECTOR_BACKEND_STUB_QRC = inspector/front-end/InspectorBackendStub.qrc
    497502
     503v8: wrapperFactoryArg = --wrapperFactoryV8
     504else: wrapperFactoryArg = --wrapperFactory
     505
    498506mathmlnames.output = $${WC_GENERATED_SOURCES_DIR}/MathMLNames.cpp
    499507mathmlnames.input = MATHML_NAMES
    500508mathmlnames.wkScript = $$PWD/dom/make_names.pl
    501 mathmlnames.commands = perl -I$$PWD/bindings/scripts $$mathmlnames.wkScript --tags $$PWD/mathml/mathtags.in --attrs $$PWD/mathml/mathattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
     509mathmlnames.commands = perl -I$$PWD/bindings/scripts $$mathmlnames.wkScript --tags $$PWD/mathml/mathtags.in --attrs $$PWD/mathml/mathattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
    502510mathmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/MathMLElementFactory.cpp
    503511addExtraCompiler(mathmlnames)
     
    507515    wmlnames.input = WML_NAMES
    508516    wmlnames.wkScript = $$PWD/dom/make_names.pl
    509     wmlnames.commands = perl -I$$PWD/bindings/scripts $$wmlnames.wkScript --tags $$PWD/wml/WMLTagNames.in --attrs $$PWD/wml/WMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
     517    wmlnames.commands = perl -I$$PWD/bindings/scripts $$wmlnames.wkScript --tags $$PWD/wml/WMLTagNames.in --attrs $$PWD/wml/WMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
    510518    wmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/WMLElementFactory.cpp
    511519    addExtraCompiler(wmlnames)
     
    517525svgnames.depends = $$PWD/svg/svgattrs.in
    518526svgnames.wkScript = $$PWD/dom/make_names.pl
    519 svgnames.commands = perl -I$$PWD/bindings/scripts $$svgnames.wkScript --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
    520 svgnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/SVGElementFactory.cpp $${WC_GENERATED_SOURCES_DIR}/JSSVGElementWrapperFactory.cpp
     527svgnames.commands = perl -I$$PWD/bindings/scripts $$svgnames.wkScript --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
     528svgnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/SVGElementFactory.cpp
     529v8 {
     530    svgnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/V8SVGElementWrapperFactory.cpp
     531} else {
     532    svgnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/JSSVGElementWrapperFactory.cpp
     533}
    521534addExtraCompiler(svgnames)
    522535
     
    546559
    547560# GENERATOR 1: IDL compiler
    548 idl.output = $${WC_GENERATED_SOURCES_DIR}/JS${QMAKE_FILE_BASE}.cpp
    549561idl.input = IDL_BINDINGS
    550562idl.wkScript = $$PWD/bindings/scripts/generate-bindings.pl
    551 idl.commands = perl -I$$PWD/bindings/scripts $$idl.wkScript --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --generator JS --include $$PWD/dom --include $$PWD/fileapi --include $$PWD/html --include $$PWD/xml --include $$PWD/svg --outputDir $$WC_GENERATED_SOURCES_DIR --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
    552 idl.depends = $$PWD/bindings/scripts/CodeGenerator.pm \
    553               $$PWD/bindings/scripts/CodeGeneratorJS.pm \
    554               $$PWD/bindings/scripts/IDLParser.pm \
    555               $$PWD/bindings/scripts/IDLStructure.pm \
    556               $$PWD/bindings/scripts/InFilesParser.pm
     563v8: generator = V8
     564else: generator = JS
     565idl.commands = perl -I$$PWD/bindings/scripts $$idl.wkScript --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --generator $$generator --include $$PWD/dom --include $$PWD/fileapi --include $$PWD/html --include $$PWD/xml --include $$PWD/svg --outputDir $$WC_GENERATED_SOURCES_DIR --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
     566v8 {
     567    idl.output = $${WC_GENERATED_SOURCES_DIR}/V8${QMAKE_FILE_BASE}.cpp
     568    idl.depends = $$PWD/bindings/scripts/CodeGenerator.pm \
     569                  $$PWD/bindings/scripts/CodeGeneratorV8.pm \
     570                  $$PWD/bindings/scripts/IDLParser.pm \
     571                  $$PWD/bindings/scripts/IDLStructure.pm \
     572                  $$PWD/bindings/scripts/InFilesParser.pm
     573} else {
     574    idl.output = $${WC_GENERATED_SOURCES_DIR}/JS${QMAKE_FILE_BASE}.cpp
     575    idl.depends = $$PWD/bindings/scripts/CodeGenerator.pm \
     576                  $$PWD/bindings/scripts/CodeGeneratorJS.pm \
     577                  $$PWD/bindings/scripts/IDLParser.pm \
     578                  $$PWD/bindings/scripts/IDLStructure.pm \
     579                  $$PWD/bindings/scripts/InFilesParser.pm
     580}
    557581addExtraCompiler(idl)
    558582
     
    595619htmlnames.input = HTML_NAMES
    596620htmlnames.wkScript = $$PWD/dom/make_names.pl
    597 htmlnames.commands = perl -I$$PWD/bindings/scripts $$htmlnames.wkScript --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\"  --factory --wrapperFactory --outputDir $$WC_GENERATED_SOURCES_DIR
    598621htmlnames.depends = $$PWD/html/HTMLAttributeNames.in
    599 htmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/HTMLElementFactory.cpp $${WC_GENERATED_SOURCES_DIR}/JSHTMLElementWrapperFactory.cpp
     622htmlnames.commands = perl -I$$PWD/bindings/scripts $$htmlnames.wkScript --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\"  --factory $$wrapperFactoryArg --outputDir $$WC_GENERATED_SOURCES_DIR
     623htmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/HTMLElementFactory.cpp
     624v8 {
     625    htmlnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/V8HTMLElementWrapperFactory.cpp
     626} else {
     627    htmlnames.wkExtraSources += $${WC_GENERATED_SOURCES_DIR}/JSHTMLElementWrapperFactory.cpp
     628}
    600629addExtraCompiler(htmlnames)
    601630
  • trunk/WebCore/WebCore.pro

    r67274 r67306  
     1# Include to determine JS engine
     2include(../common.pri)
     3
    14# WebCore - qmake build info
    25CONFIG += building-libs
     
    58meegotouch {
    69    DEFINES += WTF_USE_MEEGOTOUCH=1
     10}
     11
     12v8 {
     13    # Take v8 location from environment
     14    V8_INCLUDE_DIR = $$(V8_INCLUDE_DIR)
     15
     16    DEFINES *= V8_BINDING=1
     17    DEFINES += WTF_CHANGES=1
     18    DEFINES *= WTF_USE_V8=1
     19    DEFINES += USING_V8_SHARED
    720}
    821
     
    2437    }
    2538    webkitlibs.sources = QtWebKit$${QT_LIBINFIX}.dll
     39    v8 {
     40        webkitlibs.sources += v8.dll
     41        QMAKE_CXXFLAGS.ARMCC += -OTime -O3
     42        QMAKE_CXXFLAGS.ARMCC += --fpu softvfp+vfpv2 --fpmode fast
     43        LIBS += -llibpthread
     44    }
     45
    2646    CONFIG(QTDIR_build): webkitlibs.sources = $$QMAKE_LIBDIR_QT/$$webkitlibs.sources
    2747    webkitlibs.path = /sys/bin
     
    5979}
    6080
     81v8 {
     82    win32-* {
     83        LIBS += -lWs2_32
     84        LIBS += -lwinmm
     85    }
     86    LIBS += -lv8
     87}
     88
    6189isEmpty(OUTPUT_DIR): OUTPUT_DIR = ..
    6290include($$PWD/../WebKit.pri)
     
    151179
    152180include($$PWD/../JavaScriptCore/JavaScriptCore.pri)
    153 addJavaScriptCoreLib(../JavaScriptCore)
     181!v8: addJavaScriptCoreLib(../JavaScriptCore)
    154182
    155183webkit2 {
     
    179207include(WebCore.pri)
    180208
     209v8 {
     210    WEBCORE_INCLUDEPATH = \
     211        $$V8_INCLUDE_DIR \
     212        $$PWD/bindings/v8 \
     213        $$PWD/bindings/v8/custom \
     214        $$PWD/bindings/v8/specialization \
     215        $$PWD/bridge/qt/v8
     216
     217} else {
     218    WEBCORE_INCLUDEPATH = \
     219        $$PWD/bridge/jsc \
     220        $$PWD/bindings/js \
     221        $$PWD/bindings/js/specialization \
     222        $$PWD/bridge/c
     223}
     224
     225
    181226WEBCORE_INCLUDEPATH = \
    182227    $$PWD \
     
    184229    $$PWD/bindings \
    185230    $$PWD/bindings/generic \
    186     $$PWD/bindings/js \
    187     $$PWD/bindings/js/specialization \
    188231    $$PWD/bridge \
    189     $$PWD/bridge/c \
    190     $$PWD/bridge/jsc \
    191232    $$PWD/css \
    192233    $$PWD/dom \
     
    231272    $$PWD/workers \
    232273    $$PWD/xml \
    233     $$WC_GENERATED_SOURCES_DIR
     274    $$WC_GENERATED_SOURCES_DIR \
     275    $$WEBCORE_INCLUDEPATH
    234276
    235277WEBCORE_INCLUDEPATH = \
     
    288330    accessibility/AccessibilityTableRow.cpp \   
    289331    accessibility/AXObjectCache.cpp \
    290     bindings/generic/ActiveDOMCallback.cpp \
    291     bindings/generic/RuntimeEnabledFeatures.cpp \
    292     bindings/js/GCController.cpp \
    293     bindings/js/DOMObjectHashTableMap.cpp \
    294     bindings/js/DOMWrapperWorld.cpp \
    295     bindings/js/JSCallbackData.cpp \
    296     bindings/js/JSAttrCustom.cpp \
    297     bindings/js/JSCDATASectionCustom.cpp \
    298     bindings/js/JSCanvasRenderingContextCustom.cpp \
    299     bindings/js/JSCanvasRenderingContext2DCustom.cpp \
    300     bindings/js/JSClipboardCustom.cpp \
    301     bindings/js/JSConsoleCustom.cpp \
    302     bindings/js/JSCSSRuleCustom.cpp \
    303     bindings/js/JSCSSRuleListCustom.cpp \
    304     bindings/js/JSCSSStyleDeclarationCustom.cpp \
    305     bindings/js/JSCSSValueCustom.cpp \
    306     bindings/js/JSCoordinatesCustom.cpp \
    307     bindings/js/JSCustomPositionCallback.cpp \
    308     bindings/js/JSCustomPositionErrorCallback.cpp \
    309     bindings/js/JSCustomVoidCallback.cpp \
    310     bindings/js/JSCustomXPathNSResolver.cpp \
    311     bindings/js/JSDataGridColumnListCustom.cpp \
    312     bindings/js/JSDataGridDataSource.cpp \
    313     bindings/js/JSDebugWrapperSet.cpp \
    314     bindings/js/JSDesktopNotificationsCustom.cpp \
    315     bindings/js/JSDeviceMotionEventCustom.cpp \
    316     bindings/js/JSDeviceOrientationEventCustom.cpp \
    317     bindings/js/JSDocumentCustom.cpp \
    318     bindings/js/JSDOMFormDataCustom.cpp \
    319     bindings/js/JSDOMGlobalObject.cpp \
    320     bindings/js/JSDOMStringMapCustom.cpp \
    321     bindings/js/JSDOMWindowBase.cpp \
    322     bindings/js/JSDOMWindowCustom.cpp \
    323     bindings/js/JSDOMWindowShell.cpp \
    324     bindings/js/JSDOMWrapper.cpp \
    325     bindings/js/JSElementCustom.cpp \
    326     bindings/js/JSEventCustom.cpp \
    327     bindings/js/JSEventSourceCustom.cpp \
    328     bindings/js/JSEventTarget.cpp \
    329     bindings/js/JSExceptionBase.cpp \
    330     bindings/js/JSGeolocationCustom.cpp \
    331     bindings/js/JSHistoryCustom.cpp \
    332     bindings/js/JSHTMLAppletElementCustom.cpp \
    333     bindings/js/JSHTMLCanvasElementCustom.cpp \
    334     bindings/js/JSHTMLAllCollectionCustom.cpp \
    335     bindings/js/JSHTMLCollectionCustom.cpp \
    336     bindings/js/JSHTMLDataGridElementCustom.cpp \
    337     bindings/js/JSHTMLDocumentCustom.cpp \
    338     bindings/js/JSHTMLElementCustom.cpp \
    339     bindings/js/JSHTMLEmbedElementCustom.cpp \
    340     bindings/js/JSHTMLFormElementCustom.cpp \
    341     bindings/js/JSHTMLFrameElementCustom.cpp \
    342     bindings/js/JSHTMLFrameSetElementCustom.cpp \
    343     bindings/js/JSHTMLInputElementCustom.cpp \
    344     bindings/js/JSHTMLObjectElementCustom.cpp \
    345     bindings/js/JSHTMLOptionsCollectionCustom.cpp \
    346     bindings/js/JSHTMLSelectElementCustom.cpp \
    347     bindings/js/JSImageConstructor.cpp \
    348     bindings/js/JSImageDataCustom.cpp \
    349     bindings/js/JSInjectedScriptHostCustom.cpp \
    350     bindings/js/JSInspectorFrontendHostCustom.cpp \
    351     bindings/js/JSLocationCustom.cpp \
    352     bindings/js/JSNamedNodeMapCustom.cpp \
    353     bindings/js/JSNavigatorCustom.cpp  \
    354     bindings/js/JSNodeCustom.cpp \
    355     bindings/js/JSNodeFilterCondition.cpp \
    356     bindings/js/JSNodeFilterCustom.cpp \
    357     bindings/js/JSNodeIteratorCustom.cpp \
    358     bindings/js/JSNodeListCustom.cpp \
    359     bindings/js/JSOptionConstructor.cpp \
    360     bindings/js/JSScriptProfileNodeCustom.cpp \
    361     bindings/js/JSStyleSheetCustom.cpp \
    362     bindings/js/JSStyleSheetListCustom.cpp \
    363     bindings/js/JSTextCustom.cpp \
    364     bindings/js/JSTreeWalkerCustom.cpp \
    365     bindings/js/JSWebKitCSSMatrixCustom.cpp \
    366     bindings/js/JSWebKitPointCustom.cpp \
    367     bindings/js/JSXMLHttpRequestCustom.cpp \
    368     bindings/js/JSXMLHttpRequestUploadCustom.cpp \
    369     bindings/js/JSDOMPluginCustom.cpp \
    370     bindings/js/JSDOMPluginArrayCustom.cpp \
    371     bindings/js/JSMessageChannelCustom.cpp \
    372     bindings/js/JSMessageEventCustom.cpp \
    373     bindings/js/JSMessagePortCustom.cpp \
    374     bindings/js/JSMessagePortCustom.h \
    375     bindings/js/JSDOMMimeTypeArrayCustom.cpp \
    376     bindings/js/JSDOMBinding.cpp \
    377     bindings/js/JSEventListener.cpp \
    378     bindings/js/JSLazyEventListener.cpp \
    379     bindings/js/JSMainThreadExecState.cpp \
    380     bindings/js/JSPluginElementFunctions.cpp \
    381     bindings/js/JSPopStateEventCustom.cpp \
    382     bindings/js/JSWorkerContextErrorHandler.cpp \
    383     bindings/js/ScriptCachedFrameData.cpp \
    384     bindings/js/ScriptCallFrame.cpp \
    385     bindings/js/ScriptCallStack.cpp \
    386     bindings/js/ScriptController.cpp \
    387     bindings/js/ScriptDebugServer.cpp \
    388     bindings/js/ScriptEventListener.cpp \
    389     bindings/js/ScriptFunctionCall.cpp \
    390     bindings/js/ScriptGCEvent.cpp \
    391     bindings/js/ScriptObject.cpp \
    392     bindings/js/ScriptProfile.cpp \
    393     bindings/js/ScriptState.cpp \
    394     bindings/js/ScriptValue.cpp \
    395     bindings/js/ScheduledAction.cpp \
    396     bindings/js/SerializedScriptValue.cpp \
    397     bindings/js/specialization/JSBindingState.cpp \
    398     bindings/ScriptControllerBase.cpp \
    399     bridge/IdentifierRep.cpp \
    400     bridge/NP_jsobject.cpp \
    401     bridge/npruntime.cpp \
    402     bridge/runtime_array.cpp \
    403     bridge/runtime_method.cpp \
    404     bridge/runtime_object.cpp \
    405     bridge/runtime_root.cpp \
    406     bridge/c/CRuntimeObject.cpp \
    407     bridge/c/c_class.cpp \
    408     bridge/c/c_instance.cpp \
    409     bridge/c/c_runtime.cpp \
    410     bridge/c/c_utility.cpp \
    411     bridge/jsc/BridgeJSC.cpp \
     332    bindings/generic/ActiveDOMCallback.cpp
     333
     334v8 {
     335    SOURCES += \
     336        bindings/generic/RuntimeEnabledFeatures.cpp
     337
     338    include($$PWD/../JavaScriptCore/pcre/pcre.pri)
     339    include($$PWD/../JavaScriptCore/wtf/wtf.pri)
     340
     341    SOURCES += \
     342        bindings/generic/BindingSecurityBase.cpp \
     343        \
     344        bindings/v8/WorldContextHandle.cpp \
     345        bindings/v8/V8IsolatedContext.cpp \
     346        bindings/v8/custom/V8HistoryCustom.cpp \
     347        bindings/v8/custom/V8PopStateEventCustom.cpp \
     348        bindings/v8/ScriptGCEvent.cpp
     349
     350
     351    SOURCES += \
     352        bindings/v8/custom/V8CustomXPathNSResolver.cpp \
     353        \
     354        bindings/v8/ChildThreadDOMData.cpp \
     355        bindings/v8/DateExtension.cpp \
     356        bindings/v8/DOMData.cpp \
     357        bindings/v8/DOMDataStore.cpp \
     358        bindings/v8/MainThreadDOMData.cpp \
     359        bindings/v8/NPV8Object.cpp \
     360        bindings/v8/ScheduledAction.cpp \
     361        bindings/v8/ScopedDOMDataStore.cpp \
     362#        bindings/v8/ScriptArray.cpp \
     363        bindings/v8/ScriptCachedFrameData.cpp \
     364        bindings/v8/ScriptCallFrame.cpp \
     365        bindings/v8/ScriptCallStack.cpp \
     366        bindings/ScriptControllerBase.cpp \
     367        bindings/v8/ScriptController.cpp \
     368        bindings/v8/ScriptEventListener.cpp \
     369        bindings/v8/ScriptFunctionCall.cpp \
     370        bindings/v8/ScriptInstance.cpp \
     371        bindings/v8/ScriptObject.cpp \
     372        bindings/v8/ScriptScope.cpp \
     373        bindings/v8/ScriptState.cpp \
     374        bindings/v8/ScriptStringImpl.cpp \
     375        bindings/v8/ScriptValue.cpp \
     376        bindings/v8/StaticDOMDataStore.cpp \
     377        bindings/v8/SerializedScriptValue.cpp \
     378        bindings/v8/V8AbstractEventListener.cpp \
     379        bindings/v8/V8Binding.cpp \
     380        bindings/v8/V8Collection.cpp \
     381        bindings/v8/V8ConsoleMessage.cpp \
     382        bindings/v8/V8DOMMap.cpp \
     383        bindings/v8/V8DOMWrapper.cpp \
     384        bindings/v8/V8DataGridDataSource.cpp \
     385        bindings/v8/V8EventListenerList.cpp \
     386        bindings/v8/V8GCController.cpp \
     387        bindings/v8/V8GCForContextDispose.cpp \
     388        bindings/v8/V8Helpers.cpp \
     389        bindings/v8/V8HiddenPropertyName.cpp \
     390        bindings/v8/IsolatedWorld.cpp \
     391        bindings/v8/V8LazyEventListener.cpp \
     392        bindings/v8/V8NPObject.cpp \
     393        bindings/v8/V8NPUtils.cpp \
     394        bindings/v8/V8NodeFilterCondition.cpp \
     395        bindings/v8/V8Proxy.cpp \
     396        bindings/v8/V8Utilities.cpp \
     397        bindings/v8/V8WorkerContextEventListener.cpp \
     398        bindings/v8/WorkerContextExecutionProxy.cpp \
     399        bindings/v8/WorkerScriptController.cpp \
     400        \
     401        bindings/v8/V8DOMWindowShell.cpp \
     402        bindings/v8/DOMWrapperWorld.cpp \
     403        \
     404        bindings/v8/npruntime.cpp \
     405        \
     406        bindings/v8/custom/V8CSSRuleCustom.cpp \
     407        bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp \
     408        bindings/v8/custom/V8CSSStyleSheetCustom.cpp \
     409        bindings/v8/custom/V8CSSValueCustom.cpp \
     410        bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp \
     411        bindings/v8/custom/V8CanvasPixelArrayCustom.cpp \
     412        bindings/v8/custom/V8ClipboardCustom.cpp \
     413        bindings/v8/custom/V8CoordinatesCustom.cpp \
     414        bindings/v8/custom/V8InjectedScriptHostCustom.cpp \
     415        bindings/v8/custom/V8InspectorFrontendHostCustom.cpp \
     416        bindings/v8/custom/V8CustomEventListener.cpp \
     417        bindings/v8/custom/V8DOMStringMapCustom.cpp
     418
     419    SOURCES += \
     420        bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp \
     421        bindings/v8/custom/V8CustomVoidCallback.cpp \
     422        bindings/v8/custom/V8DOMFormDataCustom.cpp \
     423        bindings/v8/custom/V8DOMWindowCustom.cpp \
     424        bindings/v8/custom/V8DataGridColumnListCustom.cpp \
     425#        bindings/v8/custom/V8DatabaseCustom.cpp \
     426        bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp \
     427        bindings/v8/custom/V8DocumentCustom.cpp \
     428        bindings/v8/custom/V8DocumentLocationCustom.cpp \
     429        bindings/v8/custom/V8ElementCustom.cpp \
     430        bindings/v8/custom/V8EventCustom.cpp \
     431        bindings/v8/custom/V8EventSourceConstructor.cpp \
     432        bindings/v8/custom/V8HTMLAllCollectionCustom.cpp
     433
     434    contains(DEFINES, ENABLE_VIDEO=1) {
     435        SOURCES += \
     436            bindings/v8/custom/V8HTMLAudioElementConstructor.cpp
     437    }
     438
     439    SOURCES += \
     440        bindings/v8/custom/V8HTMLCanvasElementCustom.cpp \
     441        bindings/v8/custom/V8HTMLCollectionCustom.cpp \
     442        bindings/v8/custom/V8HTMLDataGridElementCustom.cpp \
     443        bindings/v8/custom/V8HTMLDocumentCustom.cpp \
     444        bindings/v8/custom/V8HTMLElementCustom.cpp \
     445        bindings/v8/custom/V8HTMLFormElementCustom.cpp \
     446        bindings/v8/custom/V8HTMLFrameElementCustom.cpp \
     447        bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp \
     448#        bindings/v8/custom/V8HTMLIFrameElementCustom.cpp \
     449        bindings/v8/custom/V8HTMLImageElementConstructor.cpp \
     450        bindings/v8/custom/V8HTMLInputElementCustom.cpp \
     451        bindings/v8/custom/V8HTMLOptionElementConstructor.cpp \
     452        bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp \
     453        bindings/v8/custom/V8HTMLPlugInElementCustom.cpp \
     454        bindings/v8/custom/V8HTMLSelectElementCustom.cpp \
     455        bindings/v8/custom/V8LocationCustom.cpp \
     456        bindings/v8/custom/V8MessageChannelConstructor.cpp \
     457        bindings/v8/custom/V8MessagePortCustom.cpp \
     458        bindings/v8/custom/V8MessageEventCustom.cpp \
     459        bindings/v8/custom/V8NamedNodeMapCustom.cpp \
     460        bindings/v8/custom/V8NamedNodesCollection.cpp \
     461        bindings/v8/custom/V8NodeCustom.cpp \
     462        bindings/v8/custom/V8NodeListCustom.cpp \
     463        bindings/v8/custom/V8SQLResultSetRowListCustom.cpp \
     464        bindings/v8/custom/V8SQLTransactionCustom.cpp \
     465        bindings/v8/custom/V8WebSocketCustom.cpp \
     466        \
     467        bindings/v8/custom/V8SharedWorkerCustom.cpp \
     468        bindings/v8/custom/V8StorageCustom.cpp \
     469        bindings/v8/custom/V8StyleSheetCustom.cpp \
     470        bindings/v8/custom/V8StyleSheetListCustom.cpp \
     471        bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp \
     472        bindings/v8/custom/V8WebKitPointConstructor.cpp \
     473        bindings/v8/custom/V8WorkerContextCustom.cpp \
     474        bindings/v8/custom/V8WorkerCustom.cpp \
     475        bindings/v8/custom/V8XMLHttpRequestConstructor.cpp \
     476        bindings/v8/custom/V8XMLHttpRequestCustom.cpp \
     477        \
     478        bindings/v8/custom/V8SVGDocumentCustom.cpp \
     479        bindings/v8/custom/V8SVGElementCustom.cpp \
     480        bindings/v8/custom/V8SVGLengthCustom.cpp \
     481        bindings/v8/custom/V8SVGMatrixCustom.cpp \
     482        bindings/v8/custom/V8SVGPathSegCustom.cpp \
     483        \
     484        bindings/v8/specialization/V8BindingState.cpp\
     485        \
     486        bindings/v8/custom/V8NotificationCenterCustom.cpp \
     487        bindings/v8/custom/V8ConsoleCustom.cpp \
     488#        bindings/v8/custom/V8DatabaseSyncCustom.cpp \
     489        bindings/v8/custom/V8SQLTransactionSyncCustom.cpp \
     490        bindings/v8/V8WorkerContextErrorHandler.cpp
     491} else {
     492    SOURCES += \
     493        bindings/js/GCController.cpp \
     494        bindings/js/DOMObjectHashTableMap.cpp \
     495        bindings/js/DOMWrapperWorld.cpp \
     496        bindings/js/JSCallbackData.cpp \
     497        bindings/js/JSAttrCustom.cpp \
     498        bindings/js/JSCDATASectionCustom.cpp \
     499        bindings/js/JSCanvasRenderingContextCustom.cpp \
     500        bindings/js/JSCanvasRenderingContext2DCustom.cpp \
     501        bindings/js/JSClipboardCustom.cpp \
     502        bindings/js/JSConsoleCustom.cpp \
     503        bindings/js/JSCSSRuleCustom.cpp \
     504        bindings/js/JSCSSRuleListCustom.cpp \
     505        bindings/js/JSCSSStyleDeclarationCustom.cpp \
     506        bindings/js/JSCSSValueCustom.cpp \
     507        bindings/js/JSCoordinatesCustom.cpp \
     508        bindings/js/JSCustomPositionCallback.cpp \
     509        bindings/js/JSCustomPositionErrorCallback.cpp \
     510        bindings/js/JSCustomVoidCallback.cpp \
     511        bindings/js/JSCustomXPathNSResolver.cpp \
     512        bindings/js/JSDataGridColumnListCustom.cpp \
     513        bindings/js/JSDataGridDataSource.cpp \
     514        bindings/js/JSDebugWrapperSet.cpp \
     515        bindings/js/JSDesktopNotificationsCustom.cpp \
     516        bindings/js/JSDeviceMotionEventCustom.cpp \
     517        bindings/js/JSDeviceOrientationEventCustom.cpp \
     518        bindings/js/JSDocumentCustom.cpp \
     519        bindings/js/JSDOMFormDataCustom.cpp \
     520        bindings/js/JSDOMGlobalObject.cpp \
     521        bindings/js/JSDOMStringMapCustom.cpp \
     522        bindings/js/JSDOMWindowBase.cpp \
     523        bindings/js/JSDOMWindowCustom.cpp \
     524        bindings/js/JSDOMWindowShell.cpp \
     525        bindings/js/JSDOMWrapper.cpp \
     526        bindings/js/JSElementCustom.cpp \
     527        bindings/js/JSEventCustom.cpp \
     528        bindings/js/JSEventSourceCustom.cpp \
     529        bindings/js/JSEventTarget.cpp \
     530        bindings/js/JSExceptionBase.cpp \
     531        bindings/js/JSGeolocationCustom.cpp \
     532        bindings/js/JSHistoryCustom.cpp \
     533        bindings/js/JSHTMLAppletElementCustom.cpp \
     534        bindings/js/JSHTMLCanvasElementCustom.cpp \
     535        bindings/js/JSHTMLAllCollectionCustom.cpp \
     536        bindings/js/JSHTMLCollectionCustom.cpp \
     537        bindings/js/JSHTMLDataGridElementCustom.cpp \
     538        bindings/js/JSHTMLDocumentCustom.cpp \
     539        bindings/js/JSHTMLElementCustom.cpp \
     540        bindings/js/JSHTMLEmbedElementCustom.cpp \
     541        bindings/js/JSHTMLFormElementCustom.cpp \
     542        bindings/js/JSHTMLFrameElementCustom.cpp \
     543        bindings/js/JSHTMLFrameSetElementCustom.cpp \
     544        bindings/js/JSHTMLInputElementCustom.cpp \
     545        bindings/js/JSHTMLObjectElementCustom.cpp \
     546        bindings/js/JSHTMLOptionsCollectionCustom.cpp \
     547        bindings/js/JSHTMLSelectElementCustom.cpp \
     548        bindings/js/JSImageConstructor.cpp \
     549        bindings/js/JSImageDataCustom.cpp \
     550        bindings/js/JSInjectedScriptHostCustom.cpp \
     551        bindings/js/JSInspectorFrontendHostCustom.cpp \
     552        bindings/js/JSLocationCustom.cpp \
     553        bindings/js/JSNamedNodeMapCustom.cpp \
     554        bindings/js/JSNavigatorCustom.cpp  \
     555        bindings/js/JSNodeCustom.cpp \
     556        bindings/js/JSNodeFilterCondition.cpp \
     557        bindings/js/JSNodeFilterCustom.cpp \
     558        bindings/js/JSNodeIteratorCustom.cpp \
     559        bindings/js/JSNodeListCustom.cpp \
     560        bindings/js/JSOptionConstructor.cpp \
     561        bindings/js/JSScriptProfileNodeCustom.cpp \
     562        bindings/js/JSStyleSheetCustom.cpp \
     563        bindings/js/JSStyleSheetListCustom.cpp \
     564        bindings/js/JSTextCustom.cpp \
     565        bindings/js/JSTreeWalkerCustom.cpp \
     566        bindings/js/JSWebKitCSSMatrixCustom.cpp \
     567        bindings/js/JSWebKitPointCustom.cpp \
     568        bindings/js/JSXMLHttpRequestCustom.cpp \
     569        bindings/js/JSXMLHttpRequestUploadCustom.cpp \
     570        bindings/js/JSDOMPluginCustom.cpp \
     571        bindings/js/JSDOMPluginArrayCustom.cpp \
     572        bindings/js/JSMessageChannelCustom.cpp \
     573        bindings/js/JSMessageEventCustom.cpp \
     574        bindings/js/JSMessagePortCustom.cpp \
     575        bindings/js/JSMessagePortCustom.h \
     576        bindings/js/JSDOMMimeTypeArrayCustom.cpp \
     577        bindings/js/JSDOMBinding.cpp \
     578        bindings/js/JSEventListener.cpp \
     579        bindings/js/JSLazyEventListener.cpp \
     580        bindings/js/JSMainThreadExecState.cpp \
     581        bindings/js/JSPluginElementFunctions.cpp \
     582        bindings/js/JSPopStateEventCustom.cpp \
     583        bindings/js/JSWorkerContextErrorHandler.cpp \
     584        bindings/js/ScriptCachedFrameData.cpp \
     585        bindings/js/ScriptCallFrame.cpp \
     586        bindings/js/ScriptCallStack.cpp \
     587        bindings/js/ScriptController.cpp \
     588        bindings/js/ScriptDebugServer.cpp \
     589        bindings/js/ScriptEventListener.cpp \
     590        bindings/js/ScriptFunctionCall.cpp \
     591        bindings/js/ScriptGCEvent.cpp \
     592        bindings/js/ScriptObject.cpp \
     593        bindings/js/ScriptProfile.cpp \
     594        bindings/js/ScriptState.cpp \
     595        bindings/js/ScriptValue.cpp \
     596        bindings/js/ScheduledAction.cpp \
     597        bindings/js/SerializedScriptValue.cpp \
     598        bindings/js/specialization/JSBindingState.cpp \
     599        bindings/ScriptControllerBase.cpp \
     600        bridge/IdentifierRep.cpp \
     601        bridge/NP_jsobject.cpp \
     602        bridge/npruntime.cpp \
     603        bridge/runtime_array.cpp \
     604        bridge/runtime_method.cpp \
     605        bridge/runtime_object.cpp \
     606        bridge/runtime_root.cpp \
     607        bridge/c/CRuntimeObject.cpp \
     608        bridge/c/c_class.cpp \
     609        bridge/c/c_instance.cpp \
     610        bridge/c/c_runtime.cpp \
     611        bridge/c/c_utility.cpp \
     612        bridge/jsc/BridgeJSC.cpp
     613}
     614
     615SOURCES += \
    412616    css/CSSBorderImageValue.cpp \
    413617    css/CSSCanvasValue.cpp \
     
    11181322    accessibility/AXObjectCache.h \
    11191323    bindings/ScriptControllerBase.h \
    1120     bindings/generic/ActiveDOMCallback.h \
    1121     bindings/js/CachedScriptSourceProvider.h \
    1122     bindings/js/GCController.h \
    1123     bindings/js/DOMObjectHashTableMap.h \
    1124     bindings/js/DOMWrapperWorld.h \
    1125     bindings/js/JSCallbackData.h \
    1126     bindings/js/JSAudioConstructor.h \
    1127     bindings/js/JSCSSStyleDeclarationCustom.h \
    1128     bindings/js/JSCustomPositionCallback.h \
    1129     bindings/js/JSCustomPositionErrorCallback.h \
    1130     bindings/js/JSCustomVoidCallback.h \
    1131     bindings/js/JSCustomXPathNSResolver.h \
    1132     bindings/js/JSDataGridDataSource.h \
    1133     bindings/js/JSDebugWrapperSet.h \
    1134     bindings/js/JSDOMBinding.h \
    1135     bindings/js/JSDOMGlobalObject.h \
    1136     bindings/js/JSDOMStringMapCustom.h \
    1137     bindings/js/JSDOMWindowBase.h \
    1138     bindings/js/JSDOMWindowCustom.h \
    1139     bindings/js/JSDOMWindowShell.h \
    1140     bindings/js/JSDOMWrapper.h \
    1141     bindings/js/JSEventListener.h \
    1142     bindings/js/JSEventTarget.h \
    1143     bindings/js/JSHistoryCustom.h \
    1144     bindings/js/JSHTMLAppletElementCustom.h \
    1145     bindings/js/JSHTMLEmbedElementCustom.h \
    1146     bindings/js/JSHTMLInputElementCustom.h \
    1147     bindings/js/JSHTMLObjectElementCustom.h \
    1148     bindings/js/JSHTMLSelectElementCustom.h \
    1149     bindings/js/JSImageConstructor.h \
    1150     bindings/js/JSLazyEventListener.h \
    1151     bindings/js/JSLocationCustom.h \
    1152     bindings/js/JSNodeCustom.h \
    1153     bindings/js/JSNodeFilterCondition.h \
    1154     bindings/js/JSOptionConstructor.h \
    1155     bindings/js/JSPluginElementFunctions.h \
    1156     bindings/js/JSStorageCustom.h \
    1157     bindings/js/JSWorkerContextBase.h \
    1158     bindings/js/JSWorkerContextErrorHandler.h \
    1159     bindings/js/JavaScriptCallFrame.h \
    1160     bindings/js/ScheduledAction.h \
    1161     bindings/js/ScriptCachedFrameData.h \
    1162     bindings/js/ScriptCallFrame.h \
    1163     bindings/js/ScriptCallStack.h \
    1164     bindings/js/ScriptController.h \
    1165     bindings/js/ScriptEventListener.h \
    1166     bindings/js/ScriptFunctionCall.h \
    1167     bindings/js/ScriptGCEvent.h \
    1168     bindings/js/ScriptHeapSnapshot.h \
    1169     bindings/js/ScriptObject.h \
    1170     bindings/js/ScriptProfile.h \
    1171     bindings/js/ScriptProfileNode.h \
    1172     bindings/js/ScriptProfiler.h \
    1173     bindings/js/ScriptSourceCode.h \
    1174     bindings/js/ScriptSourceProvider.h \
    1175     bindings/js/ScriptState.h \
    1176     bindings/js/ScriptValue.h \
    1177     bindings/js/ScriptWrappable.h \
    1178     bindings/js/SerializedScriptValue.h \
    1179     bindings/js/StringSourceProvider.h \
    1180     bindings/js/WebCoreJSClientData.h \
    1181     bindings/js/WorkerScriptController.h \
    1182     bridge/Bridge.h \
    1183     bridge/c/CRuntimeObject.h \
    1184     bridge/c/c_class.h \
    1185     bridge/c/c_instance.h \
    1186     bridge/c/c_runtime.h \
    1187     bridge/c/c_utility.h \
    1188     bridge/jsc/BridgeJSC.h \
    1189     bridge/IdentifierRep.h \
    1190     bridge/NP_jsobject.h \
    1191     bridge/npruntime.h \
    1192     bridge/qt/qt_class.h \
    1193     bridge/qt/qt_instance.h \
    1194     bridge/qt/qt_runtime.h \
    1195     bridge/qt/qt_pixmapruntime.h \
    1196     bridge/runtime_array.h \
    1197     bridge/runtime_method.h \
    1198     bridge/runtime_object.h \
    1199     bridge/runtime_root.h \
     1324    bindings/generic/ActiveDOMCallback.h
     1325
     1326v8 {
     1327    HEADERS += \
     1328        bindings/v8/custom/V8CustomEventListener.h \
     1329        bindings/v8/custom/V8CustomPositionCallback.h \
     1330        bindings/v8/custom/V8CustomPositionErrorCallback.h  \
     1331        bindings/v8/custom/V8CustomVoidCallback.h \
     1332        bindings/v8/custom/V8CustomXPathNSResolver.h \
     1333        bindings/v8/custom/V8HTMLAudioElementConstructor.h \
     1334        bindings/v8/custom/V8HTMLImageElementConstructor.h \
     1335        bindings/v8/custom/V8HTMLOptionElementConstructor.h \
     1336        bindings/v8/custom/V8HTMLSelectElementCustom.h \
     1337        bindings/v8/custom/V8MessagePortCustom.h \
     1338        bindings/v8/custom/V8NamedNodesCollection.h \
     1339        \
     1340        bindings/v8/ChildThreadDOMData.h \
     1341        bindings/v8/DateExtension.h \
     1342        bindings/v8/DOMData.h \
     1343        bindings/v8/DOMDataStore.h \
     1344        bindings/v8/DOMWrapperWorld.h \
     1345        bindings/v8/IsolatedWorld.h \
     1346        bindings/v8/MainThreadDOMData.h \
     1347        bindings/v8/npruntime_impl.h \
     1348        bindings/v8/npruntime_internal.h \
     1349        bindings/v8/npruntime_priv.h \
     1350        bindings/v8/NPV8Object.h \
     1351        bindings/v8/OwnHandle.h \
     1352        bindings/generic/RuntimeEnabledFeatures.h \
     1353        bindings/v8/ScheduledAction.h \
     1354        bindings/v8/ScopedDOMDataStore.h \
     1355#        bindings/v8/ScriptArray.h \
     1356        bindings/v8/ScriptCachedFrameData.h \
     1357        bindings/v8/ScriptCallFrame.h \
     1358        bindings/v8/ScriptCallStack.h \
     1359        bindings/v8/ScriptController.h \
     1360        bindings/v8/ScriptEventListener.h \
     1361        bindings/v8/ScriptFunctionCall.h \
     1362        bindings/v8/ScriptInstance.h \
     1363        bindings/v8/ScriptObject.h \
     1364        bindings/v8/ScriptProfile.h \
     1365        bindings/v8/ScriptProfiler.h \
     1366        bindings/v8/ScriptScope.h \
     1367        bindings/v8/ScriptSourceCode.h \
     1368        bindings/v8/ScriptState.h \
     1369        bindings/v8/ScriptString.h \
     1370        bindings/v8/ScriptStringImpl.h \
     1371        bindings/v8/ScriptValue.h \
     1372        bindings/v8/ScriptWrappable.h \
     1373        bindings/v8/SerializedScriptValue.h \
     1374        bindings/v8/SharedPersistent.h \
     1375        bindings/v8/StaticDOMDataStore.h \
     1376        bindings/v8/V8AbstractEventListener.h \
     1377        bindings/v8/V8Binding.h \
     1378        bindings/v8/V8Collection.h \
     1379        bindings/v8/V8ConsoleMessage.h \
     1380        bindings/v8/V8DataGridDataSource.h \
     1381        bindings/v8/V8DOMMap.h \
     1382        bindings/v8/V8DOMWindowShell.h \
     1383        bindings/v8/V8DOMWrapper.h \
     1384        bindings/v8/V8EventListenerList.h \
     1385        bindings/v8/V8GCController.h \
     1386        bindings/v8/V8Helpers.h \
     1387        bindings/v8/V8HiddenPropertyName.h \
     1388        bindings/v8/V8IsolatedContext.h \
     1389        bindings/v8/V8LazyEventListener.h \
     1390        bindings/v8/V8NodeFilterCondition.h \
     1391        bindings/v8/V8NPObject.h \
     1392        bindings/v8/V8NPUtils.h \
     1393        bindings/v8/V8Proxy.h \
     1394        bindings/v8/V8SVGPODTypeWrapper.h \
     1395        bindings/v8/V8Utilities.h \
     1396        bindings/v8/V8WorkerContextEventListener.h \
     1397        bindings/v8/WorkerContextExecutionProxy.h \
     1398        bindings/v8/WorkerScriptController.h \
     1399        bindings/v8/WorldContextHandle.h
     1400} else {
     1401    HEADERS += \
     1402        bindings/js/CachedScriptSourceProvider.h \
     1403        bindings/js/GCController.h \
     1404        bindings/js/DOMObjectHashTableMap.h \
     1405        bindings/js/DOMWrapperWorld.h \
     1406        bindings/js/JSCallbackData.h \
     1407        bindings/js/JSAudioConstructor.h \
     1408        bindings/js/JSCSSStyleDeclarationCustom.h \
     1409        bindings/js/JSCustomPositionCallback.h \
     1410        bindings/js/JSCustomPositionErrorCallback.h \
     1411        bindings/js/JSCustomVoidCallback.h \
     1412        bindings/js/JSCustomXPathNSResolver.h \
     1413        bindings/js/JSDataGridDataSource.h \
     1414        bindings/js/JSDebugWrapperSet.h \
     1415        bindings/js/JSDOMBinding.h \
     1416        bindings/js/JSDOMGlobalObject.h \
     1417        bindings/js/JSDOMStringMapCustom.h \
     1418        bindings/js/JSDOMWindowBase.h \
     1419        bindings/js/JSDOMWindowCustom.h \
     1420        bindings/js/JSDOMWindowShell.h \
     1421        bindings/js/JSDOMWrapper.h \
     1422        bindings/js/JSEventListener.h \
     1423        bindings/js/JSEventTarget.h \
     1424        bindings/js/JSHistoryCustom.h \
     1425        bindings/js/JSHTMLAppletElementCustom.h \
     1426        bindings/js/JSHTMLEmbedElementCustom.h \
     1427        bindings/js/JSHTMLInputElementCustom.h \
     1428        bindings/js/JSHTMLObjectElementCustom.h \
     1429        bindings/js/JSHTMLSelectElementCustom.h \
     1430        bindings/js/JSImageConstructor.h \
     1431        bindings/js/JSLazyEventListener.h \
     1432        bindings/js/JSLocationCustom.h \
     1433        bindings/js/JSNodeCustom.h \
     1434        bindings/js/JSNodeFilterCondition.h \
     1435        bindings/js/JSOptionConstructor.h \
     1436        bindings/js/JSPluginElementFunctions.h \
     1437        bindings/js/JSStorageCustom.h \
     1438        bindings/js/JSWorkerContextBase.h \
     1439        bindings/js/JSWorkerContextErrorHandler.h \
     1440        bindings/js/JavaScriptCallFrame.h \
     1441        bindings/js/ScheduledAction.h \
     1442        bindings/js/ScriptCachedFrameData.h \
     1443        bindings/js/ScriptCallFrame.h \
     1444        bindings/js/ScriptCallStack.h \
     1445        bindings/js/ScriptController.h \
     1446        bindings/js/ScriptEventListener.h \
     1447        bindings/js/ScriptFunctionCall.h \
     1448        bindings/js/ScriptGCEvent.h \
     1449        bindings/js/ScriptHeapSnapshot.h \
     1450        bindings/js/ScriptObject.h \
     1451        bindings/js/ScriptProfile.h \
     1452        bindings/js/ScriptProfileNode.h \
     1453        bindings/js/ScriptProfiler.h \
     1454        bindings/js/ScriptSourceCode.h \
     1455        bindings/js/ScriptSourceProvider.h \
     1456        bindings/js/ScriptState.h \
     1457        bindings/js/ScriptValue.h \
     1458        bindings/js/ScriptWrappable.h \
     1459        bindings/js/SerializedScriptValue.h \
     1460        bindings/js/StringSourceProvider.h \
     1461        bindings/js/WebCoreJSClientData.h \
     1462        bindings/js/WorkerScriptController.h \
     1463        bridge/Bridge.h \
     1464        bridge/c/CRuntimeObject.h \
     1465        bridge/c/c_class.h \
     1466        bridge/c/c_instance.h \
     1467        bridge/c/c_runtime.h \
     1468        bridge/c/c_utility.h \
     1469        bridge/jsc/BridgeJSC.h \
     1470        bridge/IdentifierRep.h \
     1471        bridge/NP_jsobject.h \
     1472        bridge/npruntime.h \
     1473        bridge/qt/qt_class.h \
     1474        bridge/qt/qt_instance.h \
     1475        bridge/qt/qt_runtime.h \
     1476        bridge/qt/qt_pixmapruntime.h \
     1477        bridge/runtime_array.h \
     1478        bridge/runtime_method.h \
     1479        bridge/runtime_object.h \
     1480        bridge/runtime_root.h
     1481}
     1482
     1483HEADERS += \
    12001484    css/CSSBorderImageValue.h \
    12011485    css/CSSCanvasValue.h \
     
    22352519    $$PWD/platform/network/qt/DnsPrefetchHelper.h
    22362520
     2521v8 {
     2522    SOURCES += \
     2523       platform/qt/PlatformBridge.cpp \
     2524       bridge/qt/v8/qt_instancev8.cpp \
     2525       bridge/qt/v8/qt_pixmapruntimev8.cpp \
     2526       bridge/qt/v8/qt_runtimev8.cpp
     2527} else {
     2528    SOURCES += \
     2529       bindings/js/ScriptControllerQt.cpp \
     2530       bridge/qt/qt_class.cpp \
     2531       bridge/qt/qt_instance.cpp \
     2532       bridge/qt/qt_pixmapruntime.cpp \
     2533       bridge/qt/qt_runtime.cpp
     2534}
     2535
    22372536SOURCES += \
    22382537    accessibility/qt/AccessibilityObjectQt.cpp \
    2239     bindings/js/ScriptControllerQt.cpp \
    2240     bridge/qt/qt_class.cpp \
    2241     bridge/qt/qt_instance.cpp \
    2242     bridge/qt/qt_pixmapruntime.cpp \
    2243     bridge/qt/qt_runtime.cpp \
    22442538    page/qt/DragControllerQt.cpp \
    22452539    page/qt/EventHandlerQt.cpp \
     
    25072801        storage/SQLTransactionClient.cpp \
    25082802        storage/SQLTransactionCoordinator.cpp \
    2509         storage/SQLTransactionSync.cpp \
    2510         bindings/js/JSCustomSQLStatementErrorCallback.cpp \
    2511         bindings/js/JSSQLResultSetRowListCustom.cpp \
    2512         bindings/js/JSSQLTransactionCustom.cpp \
    2513         bindings/js/JSSQLTransactionSyncCustom.cpp
     2803        storage/SQLTransactionSync.cpp
     2804
     2805    !v8 {
     2806        SOURCES += \
     2807            bindings/js/JSCustomSQLStatementErrorCallback.cpp \
     2808            bindings/js/JSSQLResultSetRowListCustom.cpp \
     2809            bindings/js/JSSQLTransactionCustom.cpp \
     2810            bindings/js/JSSQLTransactionSyncCustom.cpp
     2811    }
    25142812}
    25152813
    25162814contains(DEFINES, ENABLE_INDEXED_DATABASE=1) {
     2815    !v8 {
     2816        HEADERS += \
     2817            bindings/js/IDBBindingUtilities.h \
     2818    }
     2819
    25172820    HEADERS += \
    2518         bindings/js/IDBBindingUtilities.h \
    25192821        storage/IDBAny.h \
    25202822        storage/IDBCallbacks.h \
     
    25452847        storage/IDBTransactionBackendInterface.h
    25462848
     2849    !v8 {
     2850        SOURCES += \
     2851            bindings/js/IDBBindingUtilities.cpp \
     2852            bindings/js/JSIDBAnyCustom.cpp \
     2853            bindings/js/JSIDBKeyCustom.cpp
     2854    }
     2855
    25472856    SOURCES += \
    2548         bindings/js/IDBBindingUtilities.cpp \
    2549         bindings/js/JSIDBAnyCustom.cpp \
    2550         bindings/js/JSIDBKeyCustom.cpp \
    25512857        storage/IDBAny.cpp \
    25522858        storage/IDBCursor.cpp \
     
    26052911        storage/StorageSyncManager.h
    26062912
     2913    !v8 {
     2914        SOURCES += \
     2915            bindings/js/JSStorageCustom.cpp
     2916    }
    26072917    SOURCES += \
    2608         bindings/js/JSStorageCustom.cpp \
    26092918        storage/LocalStorageTask.cpp \
    26102919        storage/LocalStorageThread.cpp \
     
    26772986
    26782987contains(DEFINES, ENABLE_WORKERS=1) {
     2988    !v8 {
     2989        SOURCES += \
     2990            bindings/js/JSDedicatedWorkerContextCustom.cpp \
     2991            bindings/js/JSWorkerContextBase.cpp \
     2992            bindings/js/JSWorkerContextCustom.cpp \
     2993            bindings/js/JSWorkerCustom.cpp \
     2994            bindings/js/WorkerScriptController.cpp
     2995    }
    26792996    SOURCES += \
    2680         bindings/js/JSDedicatedWorkerContextCustom.cpp \
    2681         bindings/js/JSWorkerContextBase.cpp \
    2682         bindings/js/JSWorkerContextCustom.cpp \
    2683         bindings/js/JSWorkerCustom.cpp \
    2684         bindings/js/WorkerScriptController.cpp \
    26852997        loader/WorkerThreadableLoader.cpp \
    26862998        page/WorkerNavigator.cpp \
     
    26983010
    26993011contains(DEFINES, ENABLE_SHARED_WORKERS=1) {
     3012    !v8 {
     3013        SOURCES += \
     3014            bindings/js/JSSharedWorkerCustom.cpp
     3015    }
    27003016    SOURCES += \
    2701         bindings/js/JSSharedWorkerCustom.cpp \
    27023017        workers/DefaultSharedWorkerRepository.cpp \
    27033018        workers/SharedWorker.cpp \
     
    27223037        rendering/MediaControlElements.cpp \
    27233038        rendering/RenderVideo.cpp \
    2724         rendering/RenderMedia.cpp \
    2725         bindings/js/JSAudioConstructor.cpp
     3039        rendering/RenderMedia.cpp
     3040
     3041    !v8 {
     3042        SOURCES += \
     3043            bindings/js/JSAudioConstructor.cpp
     3044    }
    27263045
    27273046        !lessThan(QT_MINOR_VERSION, 6):contains(MOBILITY_CONFIG, multimedia) {
     
    27773096    tobe|!tobe: QT += xmlpatterns
    27783097
     3098    v8 {
     3099        SOURCES += \
     3100            bindings/v8/custom/V8XSLTProcessorCustom.cpp
     3101    } else {
     3102         SOURCES += \
     3103            bindings/js/JSXSLTProcessorCustom.cpp
     3104    }
    27793105    SOURCES += \
    2780         bindings/js/JSXSLTProcessorCustom.cpp \
    27813106        dom/TransformSourceQt.cpp \
    27823107        xml/XSLStyleSheetQt.cpp \
     
    28843209    CONFIG += mobility
    28853210    MOBILITY += location
     3211
     3212    v8 {
     3213        SOURCES += \
     3214            bindings/v8/custom/V8CustomPositionCallback.cpp \
     3215            bindings/v8/custom/V8CustomPositionErrorCallback.cpp \
     3216            bindings/v8/custom/V8GeolocationCustom.cpp
     3217    }
    28863218}
    28873219
    28883220contains(DEFINES, ENABLE_SVG=1) {
     3221    !v8 {
     3222        SOURCES += \
     3223    # TODO: this-one-is-not-auto-added! FIXME! tmp/SVGElementFactory.cpp \
     3224            bindings/js/JSSVGElementInstanceCustom.cpp \
     3225            bindings/js/JSSVGLengthCustom.cpp \
     3226            bindings/js/JSSVGMatrixCustom.cpp \
     3227            bindings/js/JSSVGPathSegCustom.cpp \
     3228            bindings/js/JSSVGPathSegListCustom.cpp
     3229    }
     3230
    28893231    SOURCES += \
    2890 # TODO: this-one-is-not-auto-added! FIXME! tmp/SVGElementFactory.cpp \
    2891         bindings/js/JSSVGElementInstanceCustom.cpp \
    2892         bindings/js/JSSVGLengthCustom.cpp \
    2893         bindings/js/JSSVGMatrixCustom.cpp \
    2894         bindings/js/JSSVGPathSegCustom.cpp \
    2895         bindings/js/JSSVGPathSegListCustom.cpp \
    28963232        css/SVGCSSComputedStyleDeclaration.cpp \
    28973233        css/SVGCSSParser.cpp \
     
    31133449
    31143450contains(DEFINES, ENABLE_JAVASCRIPT_DEBUGGER=1) {
    3115     SOURCES += \
    3116         bindings/js/JSJavaScriptCallFrameCustom.cpp \
    3117         bindings/js/ScriptProfiler.cpp \
    3118         bindings/js/JavaScriptCallFrame.cpp \
     3451    v8 {
     3452        SOURCES += \
     3453            bindings/v8/ScriptDebugServer.cpp \
     3454            bindings/v8/ScriptProfiler.cpp \
     3455            bindings/v8/ScriptHeapSnapshot.cpp \
     3456            bindings/v8/JavaScriptCallFrame.cpp \
     3457            bindings/v8/custom/V8ScriptProfileCustom.cpp \
     3458            bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp \
     3459            bindings/v8/custom/V8ScriptProfileNodeCustom.cpp \
     3460            bindings/v8/ScriptProfileNode.cpp \
     3461            bindings/v8/ScriptProfile.cpp
     3462    } else {
     3463        SOURCES += \
     3464            bindings/js/JSJavaScriptCallFrameCustom.cpp \
     3465            bindings/js/ScriptProfiler.cpp \
     3466            bindings/js/JavaScriptCallFrame.cpp
     3467    }
    31193468}
    31203469
     
    31273476    loader/appcache/ApplicationCacheResource.cpp \
    31283477    loader/appcache/DOMApplicationCache.cpp \
    3129     loader/appcache/ManifestParser.cpp \
    3130     bindings/js/JSDOMApplicationCacheCustom.cpp
     3478    loader/appcache/ManifestParser.cpp
     3479
     3480    !v8 {
     3481        SOURCES += \
     3482            bindings/js/JSDOMApplicationCacheCustom.cpp
     3483    }
    31313484}
    31323485
     
    31523505        platform/network/SocketStreamErrorBase.cpp \
    31533506        platform/network/SocketStreamHandleBase.cpp \
    3154         platform/network/qt/SocketStreamHandleQt.cpp \
    3155         bindings/js/JSWebSocketCustom.cpp
     3507        platform/network/qt/SocketStreamHandleQt.cpp
     3508
     3509    !v8 {
     3510        SOURCES += \
     3511            bindings/js/JSWebSocketCustom.cpp
     3512    }
    31563513
    31573514    contains(DEFINES, ENABLE_WORKERS=1) {
     
    31663523contains(DEFINES, ENABLE_3D_CANVAS=1) {
    31673524tobe|!tobe: QT += opengl
     3525    !v8 {
     3526        HEADERS += \
     3527            bindings/js/JSArrayBufferViewHelper.h
     3528    }
     3529
    31683530HEADERS += \
    3169         bindings/js/JSArrayBufferViewHelper.h \
    31703531        html/canvas/CanvasContextAttributes.h \
    31713532        html/canvas/WebGLObject.h \
     
    31923553        platform/graphics/GraphicsContext3D.h
    31933554
     3555    !v8 {
     3556        SOURCES += \
     3557                bindings/js/JSArrayBufferCustom.cpp \
     3558                bindings/js/JSArrayBufferViewCustom.cpp \
     3559                bindings/js/JSInt8ArrayCustom.cpp \
     3560                bindings/js/JSFloat32ArrayCustom.cpp \
     3561                bindings/js/JSInt32ArrayCustom.cpp \
     3562                bindings/js/JSWebGLRenderingContextCustom.cpp \
     3563                bindings/js/JSInt16ArrayCustom.cpp \
     3564                bindings/js/JSUint8ArrayCustom.cpp \
     3565                bindings/js/JSUint32ArrayCustom.cpp \
     3566                bindings/js/JSUint16ArrayCustom.cpp
     3567    }
    31943568SOURCES += \
    3195         bindings/js/JSArrayBufferCustom.cpp \
    3196         bindings/js/JSArrayBufferViewCustom.cpp \
    3197         bindings/js/JSInt8ArrayCustom.cpp \
    3198         bindings/js/JSFloat32ArrayCustom.cpp \
    3199         bindings/js/JSInt32ArrayCustom.cpp \
    3200         bindings/js/JSWebGLRenderingContextCustom.cpp \
    3201         bindings/js/JSInt16ArrayCustom.cpp \
    3202         bindings/js/JSUint8ArrayCustom.cpp \
    3203         bindings/js/JSUint32ArrayCustom.cpp \
    3204         bindings/js/JSUint16ArrayCustom.cpp \
    32053569        html/canvas/CanvasContextAttributes.cpp \
    32063570        html/canvas/WebGLObject.cpp \
     
    32253589        html/canvas/Uint16Array.cpp \
    32263590        platform/graphics/GraphicsContext3D.cpp \
    3227         platform/graphics/qt/GraphicsContext3DQt.cpp \
     3591        platform/graphics/qt/GraphicsContext3DQt.cpp
    32283592
    32293593}
  • trunk/WebCore/features.pri

    r65690 r67306  
    167167## Forward enabled feature macros to JavaScript enabled features macros
    168168FEATURE_DEFINES_JAVASCRIPT = LANGUAGE_JAVASCRIPT=1
     169v8: FEATURE_DEFINES_JAVASCRIPT += V8_BINDING=1
    169170contains(DEFINES, ENABLE_CHANNEL_MESSAGING=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_CHANNEL_MESSAGING=1
    170171contains(DEFINES, ENABLE_ORIENTATION_EVENTS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_ORIENTATION_EVENTS=1
Note: See TracChangeset for help on using the changeset viewer.