diff options
author | hausmann@webkit.org <hausmann@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2012-10-09 14:02:52 +0000 |
---|---|---|
committer | hausmann@webkit.org <hausmann@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2012-10-09 14:02:52 +0000 |
commit | 259d4a5745b961a1842877b7ebf1d5da715072f6 (patch) | |
tree | 2276ec1d77589ad8b57fd6ae6f71282bc55b8efe /third_party/WebKit/Tools/qmake | |
parent | 151d331456e73625478c1b5763a8fed705458fc3 (diff) | |
download | chromium_src-259d4a5745b961a1842877b7ebf1d5da715072f6.zip chromium_src-259d4a5745b961a1842877b7ebf1d5da715072f6.tar.gz chromium_src-259d4a5745b961a1842877b7ebf1d5da715072f6.tar.bz2 |
[Qt] Clean up Qt module detection
Reviewed by Tor Arne Vestbø.
Replace the use of MOBILITY_CONFIG (not supported anymore) with modern use of haveQtModule.
* qmake/mkspecs/features/features.prf:
git-svn-id: svn://svn.chromium.org/blink/trunk@130758 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/Tools/qmake')
-rw-r--r-- | third_party/WebKit/Tools/qmake/mkspecs/features/features.prf | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/third_party/WebKit/Tools/qmake/mkspecs/features/features.prf b/third_party/WebKit/Tools/qmake/mkspecs/features/features.prf index 1d2f88e..ba2741c 100644 --- a/third_party/WebKit/Tools/qmake/mkspecs/features/features.prf +++ b/third_party/WebKit/Tools/qmake/mkspecs/features/features.prf @@ -25,9 +25,6 @@ defineTest(detectFeatures) { # ------------- Prepare for feature detection ------------- - # Load mobilityconfig if mobility is available - load(mobilityconfig, true) - # ---------- Dynamically detect optional features ------------- # # Please note: static feature defaults go in features.pri @@ -99,8 +96,7 @@ defineTest(detectFeatures) { enable?(css_filters):enable?(webgl): WEBKIT_CONFIG += css_shaders # Geolocation support if QtMobility exists - contains(MOBILITY_CONFIG, location)|contains(QT_CONFIG, location) { - WEBKIT_CONFIG += geolocation + haveQtModule(location): WEBKIT_CONFIG += geolocation } # Orientation support @@ -121,7 +117,7 @@ defineTest(detectFeatures) { } else { CONFIGURE_WARNINGS += "Missing GLib/Gio/GStreamer, disabling media element support" } - } else: contains(MOBILITY_CONFIG, multimedia) { + } else: haveQtModule(multimediawidgets) { WEBKIT_CONFIG += video use_qt_multimedia } |