Skip to content

Commit

Permalink
Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed Mar 12, 2013
1 parent cabc285 commit 3a8e909
Show file tree
Hide file tree
Showing 50 changed files with 195 additions and 175 deletions.
8 changes: 0 additions & 8 deletions browser/components/shell/public/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,4 @@ include $(DEPTH)/config/autoconf.mk

MODULE = shellservice

ifeq ($(OS_ARCH),WINNT)
XPIDLSRCS += nsIWindowsShellService.idl
endif

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
XPIDLSRCS += nsIMacShellService.idl
endif

include $(topsrcdir)/config/rules.mk
9 changes: 9 additions & 0 deletions browser/components/shell/public/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ XPIDL_SOURCES += [
'nsIShellService.idl',
]

if CONFIG['OS_ARCH'] == 'WINNT':
XPIDL_SOURCES += [
'nsIWindowsShellService.idl',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
XPIDL_SOURCES += [
'nsIMacShellService.idl',
]

6 changes: 0 additions & 6 deletions content/xul/content/public/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,4 @@ include $(DEPTH)/config/autoconf.mk

MODULE = xul

ifdef MOZ_XUL
XPIDLSRCS = \
nsIXULContextMenuBuilder.idl \
$(NULL)
endif

include $(topsrcdir)/config/rules.mk
5 changes: 5 additions & 0 deletions content/xul/content/public/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if CONFIG['MOZ_XUL']:
XPIDL_SOURCES += [
'nsIXULContextMenuBuilder.idl',
]

4 changes: 0 additions & 4 deletions content/xul/document/public/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ MODULE = xuldoc
GRE_MODULE = 1

ifdef MOZ_XUL
XPIDLSRCS += \
nsIXULOverlayProvider.idl \
$(NULL)

EXPORTS = \
nsIXULDocument.h \
$(NULL)
Expand Down
5 changes: 5 additions & 0 deletions content/xul/document/public/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ XPIDL_SOURCES += [
'nsIControllers.idl',
]

if CONFIG['MOZ_XUL']:
XPIDL_SOURCES += [
'nsIXULOverlayProvider.idl',
]

9 changes: 0 additions & 9 deletions dom/bluetooth/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ ifdef MOZ_B2G_RIL
CPPSRCS += BluetoothTelephonyListener.cpp
endif

XPIDLSRCS = \
nsIDOMNavigatorBluetooth.idl \
nsIDOMBluetoothManager.idl \
nsIDOMBluetoothAdapter.idl \
nsIDOMBluetoothDevice.idl \
nsIDOMBluetoothDeviceEvent.idl \
nsIDOMBluetoothDeviceAddressEvent.idl \
$(NULL)

ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
VPATH += \
$(srcdir)/linux \
Expand Down
10 changes: 10 additions & 0 deletions dom/bluetooth/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

if CONFIG['MOZ_B2G_BT']:
XPIDL_SOURCES += [
'nsIDOMNavigatorBluetooth.idl',
'nsIDOMBluetoothManager.idl',
'nsIDOMBluetoothAdapter.idl',
'nsIDOMBluetoothDevice.idl',
'nsIDOMBluetoothDeviceEvent.idl',
'nsIDOMBluetoothDeviceAddressEvent.idl',
]

16 changes: 0 additions & 16 deletions dom/interfaces/base/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,6 @@ MODULE = dom
XPIDL_MODULE = dom_base
GRE_MODULE = 1

ifdef MOZ_DISABLE_CRYPTOLEGACY
XPIDLSRCS += \
nsIDOMCrypto.idl \
$(NULL)
else
XPIDLSRCS += \
nsIDOMCryptoLegacy.idl \
$(NULL)
endif

ifdef MOZ_B2G
XPIDLSRCS += \
nsIDOMWindowB2G.idl \
$(NULL)
endif

include $(topsrcdir)/config/rules.mk

XPIDL_FLAGS += \
Expand Down
14 changes: 14 additions & 0 deletions dom/interfaces/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,17 @@ XPIDL_SOURCES += [
'nsITabParent.idl',
]

if CONFIG['MOZ_DISABLE_CRYPTOLEGACY']:
XPIDL_SOURCES += [
'nsIDOMCrypto.idl',
]
else:
XPIDL_SOURCES += [
'nsIDOMCryptoLegacy.idl',
]

if CONFIG['MOZ_B2G']:
XPIDL_SOURCES += [
'nsIDOMWindowB2G.idl',
]

6 changes: 0 additions & 6 deletions dom/mobilemessage/interfaces/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ XPIDL_MODULE = dom_mobilemessage

include $(topsrcdir)/dom/dom-config.mk

ifdef MOZ_B2G_RIL
XPIDLSRCS += \
nsIRilMobileMessageDatabaseService.idl \
$(NULL)
endif

include $(topsrcdir)/config/rules.mk

XPIDL_FLAGS += \
Expand Down
5 changes: 5 additions & 0 deletions dom/mobilemessage/interfaces/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ XPIDL_SOURCES += [
'nsISmsService.idl',
]

if CONFIG['MOZ_B2G_RIL']:
XPIDL_SOURCES += [
'nsIRilMobileMessageDatabaseService.idl',
]

11 changes: 0 additions & 11 deletions dom/network/interfaces/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ XPIDL_MODULE = dom_network

include $(topsrcdir)/dom/dom-config.mk

ifdef MOZ_B2G_RIL
XPIDLSRCS += \
nsIDOMMobileConnection.idl \
nsIMobileConnectionProvider.idl \
nsINavigatorMobileConnection.idl \
nsIDOMNetworkStatsManager.idl \
nsIDOMNetworkStats.idl \
nsIDOMCFStateChangeEvent.idl \
$(NULL)
endif

include $(topsrcdir)/config/rules.mk

XPIDL_FLAGS += \
Expand Down
10 changes: 10 additions & 0 deletions dom/network/interfaces/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ XPIDL_SOURCES += [
'nsITCPSocketParent.idl',
]

if CONFIG['MOZ_B2G_RIL']:
XPIDL_SOURCES += [
'nsIDOMMobileConnection.idl',
'nsIMobileConnectionProvider.idl',
'nsINavigatorMobileConnection.idl',
'nsIDOMNetworkStatsManager.idl',
'nsIDOMNetworkStats.idl',
'nsIDOMCFStateChangeEvent.idl',
]

5 changes: 0 additions & 5 deletions embedding/browser/webBrowser/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ CPPSRCS = \
nsEmbedStream.cpp \
$(NULL)

ifdef NS_PRINTING
SDK_XPIDLSRCS += nsIWebBrowserPrint.idl
XPIDLSRCS += nsIPrintingPrompt.idl nsIPrintingPromptService.idl
endif

# we don't want the shared lib, but we want to force the creation of a
# static lib.
FORCE_STATIC_LIB = 1
Expand Down
7 changes: 7 additions & 0 deletions embedding/browser/webBrowser/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ XPIDL_SOURCES += [
'nsIWebBrowserStream.idl',
]

if CONFIG['NS_PRINTING']:
XPIDL_SOURCES += [
'nsIPrintingPrompt.idl',
'nsIPrintingPromptService.idl',
'nsIWebBrowserPrint.idl',
]

4 changes: 0 additions & 4 deletions extensions/pref/autoconfig/public/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@ include $(DEPTH)/config/autoconf.mk

MODULE = autoconfig

ifdef MOZ_LDAP_XPCOM
XPIDLSRCS += nsILDAPSyncQuery.idl
endif

include $(topsrcdir)/config/rules.mk

5 changes: 5 additions & 0 deletions extensions/pref/autoconfig/public/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ XPIDL_SOURCES += [
'nsIReadConfig.idl',
]

if CONFIG['MOZ_LDAP_XPCOM']:
XPIDL_SOURCES += [
'nsILDAPSyncQuery.idl',
]

3 changes: 0 additions & 3 deletions layout/base/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ CPPSRCS = \
$(NULL)

ifndef MOZ_XUL
XPIDLSRCS += \
nsIBoxObject.idl \
$(NULL)
EXPORTS += \
nsPIBoxObject.h \
$(NULL)
Expand Down
5 changes: 5 additions & 0 deletions layout/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ XPIDL_SOURCES += [
'nsIStyleSheetService.idl',
]

if not CONFIG['MOZ_XUL']:
XPIDL_SOURCES += [
'nsIBoxObject.idl',
]

4 changes: 0 additions & 4 deletions netwerk/base/public/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko
GRE_MODULE = 1

ifdef MOZ_TOOLKIT_SEARCH
XPIDLSRCS += nsIBrowserSearchService.idl
endif

EXPORTS = \
netCore.h \
nsNetUtil.h \
Expand Down
5 changes: 5 additions & 0 deletions netwerk/base/public/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,8 @@ XPIDL_SOURCES += [
'nsPISocketTransportService.idl',
]

if CONFIG['MOZ_TOOLKIT_SEARCH']:
XPIDL_SOURCES += [
'nsIBrowserSearchService.idl',
]

6 changes: 0 additions & 6 deletions netwerk/streamconv/public/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ MODULE = necko
XPIDL_MODULE = necko_strconv
GRE_MODULE = 1

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
XPIDLSRCS += \
nsIAppleFileDecoder.idl \
$(NULL)
endif

include $(topsrcdir)/config/rules.mk

DEFINES += -DIMPL_NS_NET
Expand Down
5 changes: 5 additions & 0 deletions netwerk/streamconv/public/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ XPIDL_SOURCES += [
'nsITXTToHTMLConv.idl',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
XPIDL_SOURCES += [
'nsIAppleFileDecoder.idl',
]

4 changes: 0 additions & 4 deletions security/manager/ssl/public/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ include $(DEPTH)/config/autoconf.mk
MODULE = pipnss
GRE_MODULE = 1

ifdef MOZ_XUL
XPIDLSRCS += nsICertTree.idl
endif

include $(topsrcdir)/config/rules.mk
5 changes: 5 additions & 0 deletions security/manager/ssl/public/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@ XPIDL_SOURCES += [
'nsIX509CertValidity.idl',
]

if CONFIG['MOZ_XUL']:
XPIDL_SOURCES += [
'nsICertTree.idl',
]

4 changes: 0 additions & 4 deletions toolkit/components/alerts/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ CPPSRCS = \
$(NULL)
LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/components/build/

ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
XPIDLSRCS += nsINotificationsList.idl
endif

include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

Expand Down
5 changes: 5 additions & 0 deletions toolkit/components/alerts/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ XPIDL_SOURCES += [
'nsIAlertsService.idl',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
XPIDL_SOURCES += [
'nsINotificationsList.idl'
]

3 changes: 0 additions & 3 deletions toolkit/components/filepicker/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsFileViewModule
LIBXUL_LIBRARY = 1
XPIDLSRCS = \
nsIFileView.idl \
$(NULL)
CPPSRCS = \
nsFileView.cpp \
$(NULL)
Expand Down
7 changes: 7 additions & 0 deletions toolkit/components/filepicker/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if CONFIG['MOZ_XUL'] and \
CONFIG['MOZ_WIDGET_TOOLKIT'] not in ('android', 'qt', 'os2', 'cocoa', 'windows'):

XPIDL_SOURCES += [
'nsIFileView.idl',
]

15 changes: 0 additions & 15 deletions toolkit/components/places/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@ EXPORT_LIBRARY = 1
MODULE_NAME = nsPlacesModule
IS_COMPONENT = 1

XPIDLSRCS += \
mozIAsyncHistory.idl \
mozIAsyncFavicons.idl \
mozIAsyncLivemarks.idl \
mozIPlacesAutoComplete.idl \
mozIColorAnalyzer.idl \
nsIAnnotationService.idl \
nsIBrowserHistory.idl \
nsIFaviconService.idl \
nsINavBookmarksService.idl \
nsITaggingService.idl \
nsPIPlacesDatabase.idl \
nsPIPlacesHistoryListenersNotifier.idl \
$(NULL)

EXPORTS_NAMESPACES = mozilla/places

EXPORTS_mozilla/places = \
Expand Down
16 changes: 16 additions & 0 deletions toolkit/components/places/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,19 @@ XPIDL_SOURCES += [
'nsINavHistoryService.idl',
]

if CONFIG['MOZ_PLACES']:
XPIDL_SOURCES += [
'mozIAsyncHistory.idl',
'mozIAsyncFavicons.idl',
'mozIAsyncLivemarks.idl',
'mozIPlacesAutoComplete.idl',
'mozIColorAnalyzer.idl',
'nsIAnnotationService.idl',
'nsIBrowserHistory.idl',
'nsIFaviconService.idl',
'nsINavBookmarksService.idl',
'nsITaggingService.idl ',
'nsPIPlacesDatabase.idl',
'nsPIPlacesHistoryListenersNotifier.idl',
]

Loading

0 comments on commit 3a8e909

Please sign in to comment.