Changeset 58516 in webkit


Ignore:
Timestamp:
Apr 29, 2010 7:26:20 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-29 Alex Milowski <alex@milowski.com>

Reviewed by Kenneth Rohde Christiansen.

Updates to the Qt build to enable building MathML support.

  • WebCore.pri:
  • WebCore.pro:
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r58510 r58516  
     12010-04-29  Alex Milowski  <alex@milowski.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        Updates to the Qt build to enable building MathML support.
     6
     7        * WebCore.pri:
     8        * WebCore.pro:
     9
    1102010-04-29  Xan Lopez  <xlopez@igalia.com>
    211
  • trunk/WebCore/WebCore.pri

    r58194 r58516  
    167167
    168168## Derived source generators
     169MATHML_NAMES = $$PWD/mathml/mathtags.in
     170
    169171WML_NAMES = $$PWD/wml/WMLTagNames.in
    170172
     
    210212    $$PWD/css/html.css \
    211213    $$PWD/css/quirks.css \
     214    $$PWD/css/mathml.css \
    212215    $$PWD/css/svg.css \
    213216    $$PWD/css/view-source.css \
     
    593596    xml/XSLTProcessor.idl
    594597
     598contains(DEFINES, ENABLE_MATHML=1) {
     599    mathmlnames.output = $${WC_GENERATED_SOURCES_DIR}/MathMLNames.cpp
     600    mathmlnames.input = MATHML_NAMES
     601    mathmlnames.wkScript = $$PWD/dom/make_names.pl
     602    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
     603    mathmlnames.wkExtraSources = $${WC_GENERATED_SOURCES_DIR}/MathMLElementFactory.cpp
     604    addExtraCompiler(mathmlnames)
     605}
     606
    595607contains(DEFINES, ENABLE_WML=1) {
    596608    wmlnames.output = $${WC_GENERATED_SOURCES_DIR}/WMLNames.cpp
  • trunk/WebCore/WebCore.pro

    r58437 r58516  
    189189    $$PWD/loader/archive \
    190190    $$PWD/loader/icon \
     191    $$PWD/mathml \
    191192    $$PWD/notifications \
    192193    $$PWD/page \
     
    14841485    loader/ThreadableLoader.h \
    14851486    loader/WorkerThreadableLoader.h \
     1487    mathml/MathMLElement.h \
     1488    mathml/MathMLInlineContainerElement.h \
     1489    mathml/MathMLMathElement.h \
     1490    mathml/MathMLTextElement.h \
     1491    mathml/RenderMathMLBlock.h \
     1492    mathml/RenderMathMLFraction.h \
     1493    mathml/RenderMathMLMath.h \
     1494    mathml/RenderMathMLOperator.h \
     1495    mathml/RenderMathMLRoot.h \
     1496    mathml/RenderMathMLRow.h \
     1497    mathml/RenderMathMLSquareRoot.h \
     1498    mathml/RenderMathMLSubSup.h \
     1499    mathml/RenderMathMLUnderOver.h \
    14861500    notifications/Notification.h \
    14871501    notifications/NotificationCenter.h \
     
    24682482}
    24692483
     2484contains(DEFINES, ENABLE_MATHML=1) {
     2485    SOURCES += \
     2486        mathml/MathMLElement.cpp \
     2487        mathml/MathMLInlineContainerElement.cpp \
     2488        mathml/MathMLMathElement.cpp \
     2489        mathml/MathMLTextElement.cpp \
     2490        mathml/RenderMathMLBlock.cpp \
     2491        mathml/RenderMathMLFraction.cpp \
     2492        mathml/RenderMathMLMath.cpp \
     2493        mathml/RenderMathMLOperator.cpp \
     2494        mathml/RenderMathMLRoot.cpp \
     2495        mathml/RenderMathMLRow.cpp \
     2496        mathml/RenderMathMLSquareRoot.cpp \
     2497        mathml/RenderMathMLSubSup.cpp \
     2498        mathml/RenderMathMLUnderOver.cpp
     2499}
     2500
    24702501contains(DEFINES, ENABLE_WML=1) {
    24712502    SOURCES += \
Note: See TracChangeset for help on using the changeset viewer.