WebCore/WebCore.pro
changeset 2 303757a437d3
parent 0 4f2f89ce4247
equal deleted inserted replaced
0:4f2f89ce4247 2:303757a437d3
    36          DEPLOYMENT += declarativeImport
    36          DEPLOYMENT += declarativeImport
    37     }
    37     }
    38 
    38 
    39     DEPLOYMENT += webkitlibs webkitbackup
    39     DEPLOYMENT += webkitlibs webkitbackup
    40 
    40 
    41     # Need to guarantee that these come before system includes of /epoc32/include
       
    42     MMP_RULES += "USERINCLUDE bridge"
       
    43     MMP_RULES += "USERINCLUDE platform/animation"
       
    44     MMP_RULES += "USERINCLUDE platform/text"
       
    45     MMP_RULES += "USERINCLUDE rendering"
       
    46     symbian-abld|symbian-sbsv2 {
    41     symbian-abld|symbian-sbsv2 {
    47         # RO text (code) section in qtwebkit.dll exceeds allocated space for gcce udeb target.
    42         # RO text (code) section in qtwebkit.dll exceeds allocated space for gcce udeb target.
    48         # Move RW-section base address to start from 0xE00000 instead of the toolchain default 0x400000.
    43         # Move RW-section base address to start from 0xE00000 instead of the toolchain default 0x400000.
    49         QMAKE_LFLAGS.ARMCC += --rw-base 0xE00000
    44         QMAKE_LFLAGS.ARMCC += --rw-base 0xE00000
    50         MMP_RULES += ALWAYS_BUILD_AS_ARM
    45         MMP_RULES += ALWAYS_BUILD_AS_ARM
   134 
   129 
   135 
   130 
   136 RESOURCES += \
   131 RESOURCES += \
   137     $$PWD/../WebCore/WebCore.qrc
   132     $$PWD/../WebCore/WebCore.qrc
   138 
   133 
   139 !symbian:!maemo5 {
   134 include_webinspector: RESOURCES += $$PWD/../WebCore/inspector/front-end/WebKit.qrc
   140     RESOURCES += $$PWD/../WebCore/inspector/front-end/WebKit.qrc
   135 
   141 }
   136 enable_fast_mobile_scrolling: DEFINES += ENABLE_FAST_MOBILE_SCROLLING=1
   142 
   137 
   143 maemo5|symbian|embedded {
   138 use_qt_mobile_theme: DEFINES += WTF_USE_QT_MOBILE_THEME=1
   144     DEFINES += ENABLE_FAST_MOBILE_SCROLLING=1
       
   145 }
       
   146 
       
   147 maemo5|symbian {
       
   148     DEFINES += WTF_USE_QT_MOBILE_THEME=1
       
   149 }
       
   150 
   139 
   151 contains(DEFINES, WTF_USE_QT_MOBILE_THEME=1) {
   140 contains(DEFINES, WTF_USE_QT_MOBILE_THEME=1) {
   152     DEFINES += ENABLE_NO_LISTBOX_RENDERING=1
   141     DEFINES += ENABLE_NO_LISTBOX_RENDERING=1
   153 }
   142 }
   154 
   143 
   174 
   163 
   175     return(true)
   164     return(true)
   176 }
   165 }
   177 include(WebCore.pri)
   166 include(WebCore.pri)
   178 
   167 
   179 INCLUDEPATH = \
   168 WEBCORE_INCLUDEPATH = \
   180     $$PWD \
   169     $$PWD \
   181     $$PWD/accessibility \
   170     $$PWD/accessibility \
   182     $$PWD/bindings \
   171     $$PWD/bindings \
   183     $$PWD/bindings/generic \
   172     $$PWD/bindings/generic \
   184     $$PWD/bindings/js \
   173     $$PWD/bindings/js \
   222     $$PWD/svg/graphics/filters \
   211     $$PWD/svg/graphics/filters \
   223     $$PWD/websockets \
   212     $$PWD/websockets \
   224     $$PWD/wml \
   213     $$PWD/wml \
   225     $$PWD/workers \
   214     $$PWD/workers \
   226     $$PWD/xml \
   215     $$PWD/xml \
   227     $$WC_GENERATED_SOURCES_DIR \
   216     $$WC_GENERATED_SOURCES_DIR
   228     $$INCLUDEPATH
   217 
   229 
   218 WEBCORE_INCLUDEPATH = \
   230 INCLUDEPATH = \
       
   231     $$PWD/bridge/qt \
   219     $$PWD/bridge/qt \
   232     $$PWD/page/qt \
   220     $$PWD/page/qt \
   233     $$PWD/platform/graphics/qt \
   221     $$PWD/platform/graphics/qt \
   234     $$PWD/platform/network/qt \
   222     $$PWD/platform/network/qt \
   235     $$PWD/platform/qt \
   223     $$PWD/platform/qt \
   236     $$PWD/../WebKit/qt/Api \
   224     $$PWD/../WebKit/qt/Api \
   237     $$PWD/../WebKit/qt/WebCoreSupport \
   225     $$PWD/../WebKit/qt/WebCoreSupport \
   238     $$INCLUDEPATH
   226     $$WEBCORE_INCLUDEPATH
       
   227 
       
   228 symbian {
       
   229     PREPEND_INCLUDEPATH = $$WEBCORE_INCLUDEPATH $$PREPEND_INCLUDEPATH
       
   230 } else {
       
   231     INCLUDEPATH = $$WEBCORE_INCLUDEPATH $$INCLUDEPATH
       
   232 }
   239 
   233 
   240 QT += network
   234 QT += network
   241 
   235 
   242 
   236 
   243 DASHBOARDSUPPORTCSSPROPERTIES = $$PWD/css/DashboardSupportCSSPropertyNames.in
   237 DASHBOARDSUPPORTCSSPROPERTIES = $$PWD/css/DashboardSupportCSSPropertyNames.in
  2136     xml/XSLTProcessor.h \
  2130     xml/XSLTProcessor.h \
  2137     xml/XSLTUnicodeSort.h \
  2131     xml/XSLTUnicodeSort.h \
  2138     $$PWD/../WebKit/qt/Api/qwebplugindatabase_p.h \
  2132     $$PWD/../WebKit/qt/Api/qwebplugindatabase_p.h \
  2139     $$PWD/../WebKit/qt/WebCoreSupport/QtFallbackWebPopup.h \
  2133     $$PWD/../WebKit/qt/WebCoreSupport/QtFallbackWebPopup.h \
  2140     $$PWD/../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h \
  2134     $$PWD/../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h \
       
  2135     $$PWD/../WebKit/qt/WebCoreSupport/GeolocationPermissionClientQt.h \
  2141     $$PWD/../WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.h \
  2136     $$PWD/../WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.h \
  2142     $$PWD/../WebKit/qt/WebCoreSupport/PageClientQt.h \
  2137     $$PWD/../WebKit/qt/WebCoreSupport/PageClientQt.h \
  2143     $$PWD/../WebKit/qt/WebCoreSupport/QtPlatformPlugin.h \
  2138     $$PWD/../WebKit/qt/WebCoreSupport/QtPlatformPlugin.h \
  2144     $$PWD/platform/network/qt/DnsPrefetchHelper.h
  2139     $$PWD/platform/network/qt/DnsPrefetchHelper.h
  2145 
  2140 
  2226     ../WebKit/qt/WebCoreSupport/DragClientQt.cpp \
  2221     ../WebKit/qt/WebCoreSupport/DragClientQt.cpp \
  2227     ../WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp \
  2222     ../WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp \
  2228     ../WebKit/qt/WebCoreSupport/EditorClientQt.cpp \
  2223     ../WebKit/qt/WebCoreSupport/EditorClientQt.cpp \
  2229     ../WebKit/qt/WebCoreSupport/EditCommandQt.cpp \
  2224     ../WebKit/qt/WebCoreSupport/EditCommandQt.cpp \
  2230     ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp \
  2225     ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp \
       
  2226     ../WebKit/qt/WebCoreSupport/GeolocationPermissionClientQt.cpp \
  2231     ../WebKit/qt/WebCoreSupport/InspectorClientQt.cpp \
  2227     ../WebKit/qt/WebCoreSupport/InspectorClientQt.cpp \
  2232     ../WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp \
  2228     ../WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp \
  2233     ../WebKit/qt/WebCoreSupport/PageClientQt.cpp \
  2229     ../WebKit/qt/WebCoreSupport/PageClientQt.cpp \
  2234     ../WebKit/qt/WebCoreSupport/QtPlatformPlugin.cpp \
  2230     ../WebKit/qt/WebCoreSupport/QtPlatformPlugin.cpp \
  2235     ../WebKit/qt/Api/qwebframe.cpp \
  2231     ../WebKit/qt/Api/qwebframe.cpp \
  2318             } else {
  2314             } else {
  2319                 !embedded {
  2315                 !embedded {
  2320                     CONFIG += x11
  2316                     CONFIG += x11
  2321                     LIBS += -lXrender
  2317                     LIBS += -lXrender
  2322                 }
  2318                 }
       
  2319                 maemo5 {
       
  2320                     DEFINES += MOZ_PLATFORM_MAEMO=5
       
  2321                 }
  2323                 SOURCES += \
  2322                 SOURCES += \
  2324                     plugins/qt/PluginContainerQt.cpp \
  2323                     plugins/qt/PluginContainerQt.cpp \
  2325                     plugins/qt/PluginPackageQt.cpp \
  2324                     plugins/qt/PluginPackageQt.cpp \
  2326                     plugins/qt/PluginViewQt.cpp
  2325                     plugins/qt/PluginViewQt.cpp
  2327                 HEADERS += \
  2326                 HEADERS += \
  2328                     plugins/qt/PluginContainerQt.h
  2327                     plugins/qt/PluginContainerQt.h
  2329                 DEFINES += XP_UNIX
  2328                 DEFINES += XP_UNIX
       
  2329                 DEFINES += ENABLE_NETSCAPE_PLUGIN_METADATA_CACHE=1
  2330             }
  2330             }
  2331         }
  2331         }
  2332     
  2332     
  2333         win32-* {
  2333         win32-* {
  2334             INCLUDEPATH += $$PWD/plugins/win \
  2334             INCLUDEPATH += $$PWD/plugins/win \
  2720         MOBILITY += bearer
  2720         MOBILITY += bearer
  2721     }
  2721     }
  2722 }
  2722 }
  2723 
  2723 
  2724 contains(DEFINES, ENABLE_GEOLOCATION=1) {
  2724 contains(DEFINES, ENABLE_GEOLOCATION=1) {
       
  2725     DEFINES += WTF_USE_PREEMPT_GEOLOCATION_PERMISSION
  2725     HEADERS += \
  2726     HEADERS += \
  2726         platform/qt/GeolocationServiceQt.h
  2727         platform/qt/GeolocationServiceQt.h
  2727     SOURCES += \
  2728     SOURCES += \
  2728         platform/qt/GeolocationServiceQt.cpp
  2729         platform/qt/GeolocationServiceQt.cpp
  2729 
  2730