Changeset 88716 in webkit


Ignore:
Timestamp:
Jun 13, 2011 3:36:45 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-13 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Eric Seidel.

[CMAKE] Conditionally generate DerivedSources
https://bugs.webkit.org/show_bug.cgi?id=62277

Speedup build by not generating DerivedSources of features that are
disabled. This was already been done for some features like ENABLE_SVG
and now it's extended the following features: ENABLE_DATABASE,
ENABLE_INDEXED_DATABASE, ENABLE_DOM_STORAGE, ENABLE_XPATH,
ENABLE_OFFLINE_WEB_APPLICATIONS, ENABLE_WEB_SOCKETS,
ENABLE_DATA_TRANSFER_ITEMS.

  • Source/cmakeconfig.h.cmake: add definition for INDEXED_DATABASE

2011-06-13 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Eric Seidel.

[CMAKE] Conditionally generate DerivedSources
https://bugs.webkit.org/show_bug.cgi?id=62277

Speedup build by not generating DerivedSources of features that are
disabled. This was already been done for some features like ENABLE_SVG
and now it's extended the following features: ENABLE_DATABASE,
ENABLE_INDEXED_DATABASE, ENABLE_DOM_STORAGE, ENABLE_XPATH,
ENABLE_OFFLINE_WEB_APPLICATIONS, ENABLE_WEB_SOCKETS,
ENABLE_DATA_TRANSFER_ITEMS.

No change in functionality so no new tests.

  • CMakeLists.txt: move .idl files to be conditionally generated.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r88539 r88716  
     12011-06-13  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [CMAKE] Conditionally generate DerivedSources
     6        https://bugs.webkit.org/show_bug.cgi?id=62277
     7
     8        Speedup build by not generating DerivedSources of features that are
     9        disabled. This was already been done for some features like ENABLE_SVG
     10        and now it's extended the following features: ENABLE_DATABASE,
     11        ENABLE_INDEXED_DATABASE, ENABLE_DOM_STORAGE, ENABLE_XPATH,
     12        ENABLE_OFFLINE_WEB_APPLICATIONS, ENABLE_WEB_SOCKETS,
     13        ENABLE_DATA_TRANSFER_ITEMS.
     14
     15        * Source/cmakeconfig.h.cmake: add definition for INDEXED_DATABASE
     16
    1172011-06-10  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
    218
  • trunk/Source/WebCore/CMakeLists.txt

    r88711 r88716  
    138138    dom/CompositionEvent.idl
    139139    dom/CustomEvent.idl
    140     dom/DataTransferItem.idl
    141140    dom/DataTransferItems.idl
    142141    dom/DeviceMotionEvent.idl
     
    177176    dom/RangeException.idl
    178177    dom/Range.idl
    179     dom/StringCallback.idl
    180178    dom/TextEvent.idl
    181179    dom/Text.idl
     
    317315    inspector/ScriptProfileNode.idl
    318316
    319     loader/appcache/DOMApplicationCache.idl
    320 
    321317    page/BarInfo.idl
    322318    page/Console.idl
     
    354350    plugins/DOMPluginArray.idl
    355351
    356     storage/Database.idl
    357     storage/DatabaseCallback.idl
    358     storage/DatabaseSync.idl
    359     storage/IDBAny.idl
    360     storage/IDBCursor.idl
    361     storage/IDBDatabaseError.idl
    362     storage/IDBDatabaseException.idl
    363     storage/IDBDatabase.idl
    364     storage/IDBFactory.idl
    365     storage/IDBIndex.idl
    366     storage/IDBKey.idl
    367     storage/IDBKeyRange.idl
    368     storage/IDBObjectStore.idl
    369     storage/IDBRequest.idl
    370     storage/IDBTransaction.idl
    371     storage/SQLError.idl
    372     storage/SQLException.idl
    373     storage/SQLResultSet.idl
    374     storage/SQLResultSetRowList.idl
    375     storage/SQLStatementCallback.idl
    376     storage/SQLStatementErrorCallback.idl
    377     storage/SQLTransaction.idl
    378     storage/SQLTransactionCallback.idl
    379     storage/SQLTransactionErrorCallback.idl
    380     storage/SQLTransactionSync.idl
    381     storage/SQLTransactionSyncCallback.idl
    382     storage/Storage.idl
    383     storage/StorageEvent.idl
    384352    storage/StorageInfo.idl
    385353    storage/StorageInfoErrorCallback.idl
     
    408376    webaudio/RealtimeAnalyserNode.idl
    409377
    410     websockets/CloseEvent.idl
    411     websockets/WebSocket.idl
    412 
    413378    workers/AbstractWorker.idl
    414379    workers/DedicatedWorkerContext.idl
     
    425390    xml/XMLHttpRequestUpload.idl
    426391    xml/XMLSerializer.idl
    427     xml/XPathEvaluator.idl
    428     xml/XPathException.idl
    429     xml/XPathExpression.idl
    430     xml/XPathNSResolver.idl
    431     xml/XPathResult.idl
    432392    xml/XSLTProcessor.idl
    433393)
     
    14591419        platform/sql/SQLiteTransaction.cpp
    14601420    )
     1421    LIST(APPEND WebCore_IDL_FILES
     1422        storage/Database.idl
     1423        storage/DatabaseCallback.idl
     1424        storage/DatabaseSync.idl
     1425        storage/SQLError.idl
     1426        storage/SQLException.idl
     1427        storage/SQLResultSet.idl
     1428        storage/SQLResultSetRowList.idl
     1429        storage/SQLStatementCallback.idl
     1430        storage/SQLStatementErrorCallback.idl
     1431        storage/SQLTransaction.idl
     1432        storage/SQLTransactionCallback.idl
     1433        storage/SQLTransactionErrorCallback.idl
     1434        storage/SQLTransactionSync.idl
     1435        storage/SQLTransactionSyncCallback.idl
     1436    )
    14611437ENDIF ()
    14621438
    14631439IF (ENABLE_DATA_TRANSFER_ITEMS)
    14641440    LIST(APPEND WebCore_IDL_FILES
     1441        dom/DataTransferItem.idl
     1442        dom/StringCallback.idl
    14651443    )
    14661444    LIST(APPEND WebCore_SOURCES
     
    14681446        dom/DataTransferItems.cpp
    14691447        dom/StringCallback.cpp
     1448    )
     1449ENDIF ()
     1450
     1451IF (ENABLE_INDEXED_DATABASE)
     1452    LIST(APPEND WebCore_IDL_FILES
     1453        storage/IDBAny.idl
     1454        storage/IDBCursor.idl
     1455        storage/IDBDatabaseError.idl
     1456        storage/IDBDatabaseException.idl
     1457        storage/IDBDatabase.idl
     1458        storage/IDBFactory.idl
     1459        storage/IDBIndex.idl
     1460        storage/IDBKey.idl
     1461        storage/IDBKeyRange.idl
     1462        storage/IDBObjectStore.idl
     1463        storage/IDBRequest.idl
     1464        storage/IDBTransaction.idl
     1465    )
     1466ENDIF ()
     1467
     1468IF (ENABLE_DOM_STORAGE)
     1469    LIST(APPEND WebCore_IDL_FILES
     1470        storage/Storage.idl
     1471        storage/StorageEvent.idl
    14701472    )
    14711473ENDIF ()
     
    15671569        fileapi/Metadata.idl
    15681570        fileapi/MetadataCallback.idl
     1571    )
     1572ENDIF ()
     1573
     1574IF (ENABLE_XPATH)
     1575    LIST(APPEND WebCore_IDL_FILES
     1576        xml/XPathEvaluator.idl
     1577        xml/XPathException.idl
     1578        xml/XPathExpression.idl
     1579        xml/XPathNSResolver.idl
     1580        xml/XPathResult.idl
    15691581    )
    15701582ENDIF ()
     
    19401952ENDIF()
    19411953
     1954IF (ENABLE_WEB_SOCKETS)
     1955    LIST(APPEND WebCore_IDL_FILES
     1956        websockets/CloseEvent.idl
     1957        websockets/WebSocket.idl
     1958    )
     1959ENDIF ()
     1960
    19421961IF (ENABLE_VIDEO_TRACK)
    19431962    LIST(APPEND WebCore_SOURCES
     
    20552074ENDIF ()
    20562075
     2076IF (ENABLE_OFFLINE_WEB_APPLICATIONS)
     2077    LIST(APPEND WebCore_IDL_FILES
     2078        loader/appcache/DOMApplicationCache.idl
     2079    )
     2080ENDIF ()
     2081
    20572082# Modules that the bindings generator scripts may use
    20582083SET(SCRIPTS_BINDINGS
  • trunk/Source/WebCore/ChangeLog

    r88711 r88716  
     12011-06-13  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [CMAKE] Conditionally generate DerivedSources
     6        https://bugs.webkit.org/show_bug.cgi?id=62277
     7
     8        Speedup build by not generating DerivedSources of features that are
     9        disabled. This was already been done for some features like ENABLE_SVG
     10        and now it's extended the following features: ENABLE_DATABASE,
     11        ENABLE_INDEXED_DATABASE, ENABLE_DOM_STORAGE, ENABLE_XPATH,
     12        ENABLE_OFFLINE_WEB_APPLICATIONS, ENABLE_WEB_SOCKETS,
     13        ENABLE_DATA_TRANSFER_ITEMS.
     14
     15        No change in functionality so no new tests.
     16
     17        * CMakeLists.txt: move .idl files to be conditionally generated.
     18
    1192011-06-13  Leandro Pereira  <leandro@profusion.mobi>
    220
  • trunk/Source/cmakeconfig.h.cmake

    r88539 r88716  
    2121#cmakedefine01 ENABLE_GLIB_SUPPORT
    2222#cmakedefine01 ENABLE_ICONDATABASE
     23#cmakedefine01 ENABLE_INDEXED_DATABASE
    2324#cmakedefine01 ENABLE_INSPECTOR
    2425#cmakedefine01 ENABLE_JAVASCRIPT_DEBUGGER
Note: See TracChangeset for help on using the changeset viewer.