| # ------------------------------------------------------------------- |
| # This file contains shared rules used both when building WebKit1 |
| # itself, and by targets that use WebKit1. |
| # |
| # See 'Tools/qmake/README' for an overview of the build system |
| # ------------------------------------------------------------------- |
| |
| SOURCE_DIR = $${ROOT_WEBKIT_DIR}/Source/WebKit |
| |
| INCLUDEPATH += \ |
| $$SOURCE_DIR/qt/Api \ |
| $$SOURCE_DIR/qt/WebCoreSupport \ |
| $$ROOT_WEBKIT_DIR/Source/WTF/wtf/qt |
| |
| have?(qtsensors):if(enable?(DEVICE_ORIENTATION)|enable?(ORIENTATION_EVENTS)): QT += sensors |
| |
| have?(qtlocation):enable?(GEOLOCATION): QT += location |
| |
| contains(CONFIG, texmap): DEFINES += WTF_USE_TEXTURE_MAPPER=1 |
| |
| use?(PLUGIN_BACKEND_XLIB): PKGCONFIG += x11 |
| |
| QT += network |
| |