Skip to content

Commit

Permalink
Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt.…
Browse files Browse the repository at this point in the history
… This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.

MozReview-Commit-ID: EGqHHhCD7vD

--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
  • Loading branch information
bsmedberg committed Jul 7, 2016
1 parent 4b4be5e commit bf05496
Show file tree
Hide file tree
Showing 72 changed files with 16 additions and 7,729 deletions.
1 change: 0 additions & 1 deletion build/moz.configure/old.configure
Expand Up @@ -306,7 +306,6 @@ def old_configure_options(*options):
'--with-nss-prefix',
'--with-pthreads',
'--with-qemu-exe',
'--with-qtdir',
'--with-servo',
'--with-sixgill',
'--with-soft-float',
Expand Down
6 changes: 0 additions & 6 deletions dom/geolocation/moz.build
Expand Up @@ -26,12 +26,6 @@ LOCAL_INCLUDES += [
'/dom/ipc',
]

if CONFIG['MOZ_ENABLE_QT5GEOPOSITION']:
LOCAL_INCLUDES += [
'/dom/system/qt',
]
CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
LOCAL_INCLUDES += [
'/dom/system/android',
Expand Down
8 changes: 0 additions & 8 deletions dom/geolocation/nsGeolocation.cpp
Expand Up @@ -35,10 +35,6 @@

class nsIPrincipal;

#ifdef MOZ_ENABLE_QT5GEOPOSITION
#include "QTMLocationProvider.h"
#endif

#ifdef MOZ_WIDGET_ANDROID
#include "AndroidLocationProvider.h"
#endif
Expand Down Expand Up @@ -698,10 +694,6 @@ nsresult nsGeolocationService::Init()

obs->AddObserver(this, "xpcom-shutdown", false);

#ifdef MOZ_ENABLE_QT5GEOPOSITION
mProvider = new QTMLocationProvider();
#endif

#ifdef MOZ_WIDGET_ANDROID
mProvider = new AndroidLocationProvider();
#endif
Expand Down
48 changes: 0 additions & 48 deletions dom/plugins/ipc/NestedLoopTimer.cpp

This file was deleted.

41 changes: 0 additions & 41 deletions dom/plugins/ipc/NestedLoopTimer.h

This file was deleted.

18 changes: 0 additions & 18 deletions dom/plugins/ipc/PluginHelperQt.cpp

This file was deleted.

7 changes: 0 additions & 7 deletions dom/plugins/ipc/moz.build
Expand Up @@ -67,13 +67,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
'PluginInterposeOSX.h',
]

if CONFIG['MOZ_ENABLE_QT']:
SOURCES += [
'!moc_NestedLoopTimer.cpp',
'NestedLoopTimer.cpp',
'PluginHelperQt.cpp',
]

UNIFIED_SOURCES += [
'BrowserStreamChild.cpp',
'BrowserStreamParent.cpp',
Expand Down
103 changes: 0 additions & 103 deletions dom/plugins/test/testplugin/nptest_qt.cpp

This file was deleted.

11 changes: 0 additions & 11 deletions dom/plugins/test/testplugin/testplugin.mozbuild
Expand Up @@ -26,10 +26,6 @@ elif toolkit == 'android':
UNIFIED_SOURCES += [
'nptest_droid.cpp',
]
elif toolkit == 'qt':
UNIFIED_SOURCES += [
'nptest_qt.cpp',
]
elif toolkit == 'windows':
UNIFIED_SOURCES += [
'nptest_windows.cpp',
Expand Down Expand Up @@ -61,13 +57,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
OS_LIBS += CONFIG['XLIBS']
OS_LIBS += CONFIG['XEXT_LIBS']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']
CFLAGS += CONFIG['MOZ_QT_CFLAGS']
OS_LIBS += CONFIG['MOZ_QT_LIBS']
OS_LIBS += CONFIG['XLDFLAGS']
OS_LIBS += CONFIG['XLIBS']

if CONFIG['_MSC_VER']:
# This is intended as a temporary hack to support building with VS2015.
# conversion from 'X' to 'Y' requires a narrowing conversion
Expand Down
101 changes: 0 additions & 101 deletions dom/system/qt/QTMLocationProvider.cpp

This file was deleted.

0 comments on commit bf05496

Please sign in to comment.