Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey
authorNathan Froyd <froydnj@mozilla.com>
Fri, 24 Aug 2012 16:01:30 -0400
changeset 103320 fb4219f3723d
parent 103319 b4316e1c474d
child 103321 544b0cbdbb09
push id13942
push usernfroyd@mozilla.com
push date2012-08-24 20:06 +0000
treeherdermozilla-inbound@544b0cbdbb09 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs783357
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey
dom/activities/interfaces/Makefile.in
dom/alarm/Makefile.in
dom/base/Makefile.in
dom/battery/Makefile.in
dom/bluetooth/Makefile.in
dom/camera/Makefile.in
dom/file/Makefile.in
dom/indexedDB/Makefile.in
dom/interfaces/apps/Makefile.in
dom/interfaces/contacts/Makefile.in
dom/interfaces/core/Makefile.in
dom/interfaces/css/Makefile.in
dom/interfaces/devicestorage/Makefile.in
dom/interfaces/events/Makefile.in
dom/interfaces/geolocation/Makefile.in
dom/interfaces/html/Makefile.in
dom/interfaces/json/Makefile.in
dom/interfaces/load-save/Makefile.in
dom/interfaces/notification/Makefile.in
dom/interfaces/offline/Makefile.in
dom/interfaces/range/Makefile.in
dom/interfaces/settings/Makefile.in
dom/interfaces/smil/Makefile.in
dom/interfaces/storage/Makefile.in
dom/interfaces/stylesheets/Makefile.in
dom/interfaces/svg/Makefile.in
dom/interfaces/traversal/Makefile.in
dom/interfaces/xbl/Makefile.in
dom/interfaces/xpath/Makefile.in
dom/interfaces/xul/Makefile.in
dom/messages/interfaces/Makefile.in
dom/network/interfaces/Makefile.in
dom/sms/interfaces/Makefile.in
dom/system/gonk/Makefile.in
dom/telephony/Makefile.in
dom/wifi/Makefile.in
--- a/dom/activities/interfaces/Makefile.in
+++ b/dom/activities/interfaces/Makefile.in
@@ -16,8 +16,13 @@ XPIDLSRCS = nsIDOMActivity.idl \
             nsIDOMActivityHandlerDescription.idl \
             nsIDOMActivityRequestHandler.idl \
             nsIDOMNavigatorActivities.idl \
             nsIActivityProxy.idl \
             nsIActivityUIGlue.idl \
             $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/base \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/alarm/Makefile.in
+++ b/dom/alarm/Makefile.in
@@ -45,8 +45,12 @@ CPPSRCS =             \
 
 ifdef ENABLE_TESTS
 DIRS += test
 endif
 
 include $(topsrcdir)/config/config.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/base/Makefile.in
+++ b/dom/base/Makefile.in
@@ -129,8 +129,12 @@ LOCAL_INCLUDES += \
 		-I$(topsrcdir)/js/xpconnect/wrappers \
 		-I$(topsrcdir)/xpcom/ds \
 		$(NULL)
 
 ifdef MOZ_X11
 CXXFLAGS += $(TK_CFLAGS)
 LDFLAGS += $(TK_LIBS)
 endif
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/battery/Makefile.in
+++ b/dom/battery/Makefile.in
@@ -36,8 +36,12 @@ XPIDLSRCS = \
   nsINavigatorBattery.idl \
   $(NULL)
 
 TEST_DIRS += test
 
 include $(topsrcdir)/config/config.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/bluetooth/Makefile.in
+++ b/dom/bluetooth/Makefile.in
@@ -81,8 +81,12 @@ LOCAL_INCLUDES += -I$(DEPTH)/ipc/ipdl/_i
 # Add VPATH to LOCAL_INCLUDES so we are going to include the correct backend
 # subdirectory
 LOCAL_INCLUDES += $(VPATH:%=-I%)
 
 include $(topsrcdir)/config/config.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
 include $(topsrcdir)/config/rules.mk
 
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/camera/Makefile.in
+++ b/dom/camera/Makefile.in
@@ -46,8 +46,14 @@ XPIDLSRCS = \
   $(NULL)
 
 EXPORTS = \
   DOMCameraManager.h \
   $(NULL)
 
 include $(topsrcdir)/config/rules.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/base \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/media \
+  $(NULL)
--- a/dom/file/Makefile.in
+++ b/dom/file/Makefile.in
@@ -64,8 +64,12 @@ XPIDLSRCS = \
   nsIDOMLockedFile.idl \
   nsIDOMArchiveReader.idl \
   nsIDOMArchiveRequest.idl \
   $(NULL)
 
 TEST_DIRS += test
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/base \
+  $(NULL)
--- a/dom/indexedDB/Makefile.in
+++ b/dom/indexedDB/Makefile.in
@@ -96,8 +96,12 @@ XPIDLSRCS = \
   $(NULL)
 
 DIRS += ipc
 TEST_DIRS += test
 
 include $(topsrcdir)/config/config.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/apps/Makefile.in
+++ b/dom/interfaces/apps/Makefile.in
@@ -17,8 +17,13 @@ GRE_MODULE     = 1
 XPIDLSRCS =                               \
             mozIApplication.idl \
             nsIDOMApplicationRegistry.idl \
             nsIAppsService.idl \
             nsIDOMMozApplicationEvent.idl \
             $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/contacts/Makefile.in
+++ b/dom/interfaces/contacts/Makefile.in
@@ -15,8 +15,13 @@ GRE_MODULE     = 1
 
 XPIDLSRCS =                             \
             nsIDOMContactProperties.idl \
             nsIDOMContactManager.idl    \
             nsIDOMMozContactChangeEvent.idl \
             $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/core/Makefile.in
+++ b/dom/interfaces/core/Makefile.in
@@ -39,8 +39,12 @@ XPIDLSRCS =                             
 	nsIDOMNodeSelector.idl			\
 	nsIDOMDOMTokenList.idl			\
 	nsIDOMDOMSettableTokenList.idl	\
 	nsIInlineEventHandlers.idl              \
 	nsIDOMMutationObserver.idl              \
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/css/Makefile.in
+++ b/dom/interfaces/css/Makefile.in
@@ -40,8 +40,13 @@ XPIDLSRCS =					\
 	nsIDOMCSSUnknownRule.idl		\
 	nsIDOMCounter.idl			\
 	nsIDOMRGBColor.idl			\
 	nsIDOMRect.idl				\
 	nsIDOMNSRGBAColor.idl			\
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/stylesheets \
+  $(NULL)
--- a/dom/interfaces/devicestorage/Makefile.in
+++ b/dom/interfaces/devicestorage/Makefile.in
@@ -21,8 +21,13 @@ XPIDLSRCS = \
 	nsIDOMDeviceStorage.idl \
 	nsIDOMDeviceStorageStat.idl \
 	nsIDOMDeviceStorageCursor.idl \
 	nsIDOMNavigatorDeviceStorage.idl \
 	nsIDOMDeviceStorageChangeEvent.idl
 
 include $(topsrcdir)/config/rules.mk
 
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/events/Makefile.in
+++ b/dom/interfaces/events/Makefile.in
@@ -57,8 +57,12 @@ XPIDLSRCS =					\
 	nsIDOMHashChangeEvent.idl		\
 	nsIDOMCustomEvent.idl			\
 	nsIDOMCompositionEvent.idl		\
 	nsIDOMWheelEvent.idl			\
 	nsIWifiEventInits.idl \
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/geolocation/Makefile.in
+++ b/dom/interfaces/geolocation/Makefile.in
@@ -20,8 +20,12 @@ XPIDLSRCS =                             
             nsIDOMGeoPositionCoords.idl        \
             nsIDOMGeoPositionCallback.idl      \
             nsIDOMGeoPositionError.idl         \
             nsIDOMGeoPositionErrorCallback.idl \
             nsIDOMNavigatorGeolocation.idl     \
             $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/html/Makefile.in
+++ b/dom/interfaces/html/Makefile.in
@@ -92,8 +92,13 @@ SDK_XPIDLSRCS =					\
 
 XPIDLSRCS = 					\
 	nsIDOMHTMLCanvasElement.idl		\
 	nsIDOMHTMLUnknownElement.idl \
 	nsIMozBrowserFrame.idl \
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/core \
+  $(NULL)
--- a/dom/interfaces/json/Makefile.in
+++ b/dom/interfaces/json/Makefile.in
@@ -18,8 +18,12 @@ XPIDLSRCS =                      \
        nsIJSON.idl               \
        $(NULL)
 
 SDK_XPIDLSRCS =                  \
        nsIJSON.idl               \
        $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/load-save/Makefile.in
+++ b/dom/interfaces/load-save/Makefile.in
@@ -12,8 +12,12 @@ include $(DEPTH)/config/autoconf.mk
 MODULE		= dom
 XPIDL_MODULE	= dom_loadsave
 
 XPIDLSRCS =                                     \
 		nsIDOMLSProgressEvent.idl       \
 		$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/notification/Makefile.in
+++ b/dom/interfaces/notification/Makefile.in
@@ -14,8 +14,12 @@ MODULE         = dom
 XPIDL_MODULE   = dom_notification
 GRE_MODULE     = 1
 
 XPIDLSRCS = nsIDOMNavigatorDesktopNotification.idl    \
             nsIDOMDesktopNotification.idl             \
             $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/offline/Makefile.in
+++ b/dom/interfaces/offline/Makefile.in
@@ -15,8 +15,12 @@ XPIDL_MODULE   = dom_offline
 GRE_MODULE     = 1
 
 XPIDLSRCS =                           \
         nsIDOMOfflineResourceList.idl \
         nsIDOMLoadStatus.idl          \
         $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/range/Makefile.in
+++ b/dom/interfaces/range/Makefile.in
@@ -14,8 +14,12 @@ MODULE		= dom
 XPIDL_MODULE	= dom_range
 GRE_MODULE	= 1
 
 SDK_XPIDLSRCS =		\
 	nsIDOMRange.idl	\
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/settings/Makefile.in
+++ b/dom/interfaces/settings/Makefile.in
@@ -15,8 +15,13 @@ GRE_MODULE     = 1
 
 XPIDLSRCS =                           \
             nsIDOMSettingsManager.idl \
             nsISettingsService.idl    \
             nsIDOMMozSettingsEvent.idl \
             $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/smil/Makefile.in
+++ b/dom/interfaces/smil/Makefile.in
@@ -15,8 +15,13 @@ MODULE		= dom
 XPIDL_MODULE	= dom_smil
 
 XPIDLSRCS	= \
 		nsIDOMElementTimeControl.idl \
 		nsIDOMTimeEvent.idl \
 		$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/events \
+  -I$(topsrcdir)/dom/interfaces/svg \
+  $(NULL)
--- a/dom/interfaces/storage/Makefile.in
+++ b/dom/interfaces/storage/Makefile.in
@@ -27,8 +27,13 @@ SDK_XPIDLSRCS =                      \
         nsIDOMStorage.idl        \
         nsIDOMStorageObsolete.idl\
         nsIDOMStorageEvent.idl   \
         nsIDOMStorageItem.idl    \
         nsIDOMStorageIndexedDB.idl \
        $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/stylesheets/Makefile.in
+++ b/dom/interfaces/stylesheets/Makefile.in
@@ -20,8 +20,12 @@ SDK_XPIDLSRCS =                         
 	nsIDOMStyleSheetList.idl		\
 	$(NULL)
 
 XPIDLSRCS = 					\
 	nsIDOMLinkStyle.idl			\
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/svg/Makefile.in
+++ b/dom/interfaces/svg/Makefile.in
@@ -99,8 +99,14 @@ XPIDLSRCS	= \
 		nsIDOMSVGUseElement.idl \
 		nsIDOMSVGViewElement.idl \
 		nsIDOMSVGViewSpec.idl \
 		nsIDOMSVGZoomAndPan.idl \
 		nsIDOMSVGZoomEvent.idl \
 		$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/core \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/interfaces/traversal/Makefile.in
+++ b/dom/interfaces/traversal/Makefile.in
@@ -16,8 +16,12 @@ GRE_MODULE	= 1
 
 XPIDLSRCS =					\
 	nsIDOMNodeFilter.idl			\
 	nsIDOMNodeIterator.idl			\
 	nsIDOMTreeWalker.idl			\
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/xbl/Makefile.in
+++ b/dom/interfaces/xbl/Makefile.in
@@ -14,8 +14,12 @@ MODULE		= dom
 XPIDL_MODULE	= dom_xbl
 GRE_MODULE	= 1
 
 XPIDLSRCS =                                     \
 	nsIDOMDocumentXBL.idl			\
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/interfaces/xpath/Makefile.in
+++ b/dom/interfaces/xpath/Makefile.in
@@ -17,8 +17,13 @@ XPIDLSRCS =                             
 	nsIDOMXPathExpression.idl			\
 	nsIDOMXPathNamespace.idl			\
 	nsIDOMXPathNSResolver.idl			\
 	nsIDOMXPathResult.idl			\
 	nsIDOMNSXPathExpression.idl			\
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/core \
+  $(NULL)
--- a/dom/interfaces/xul/Makefile.in
+++ b/dom/interfaces/xul/Makefile.in
@@ -33,8 +33,14 @@ XPIDLSRCS =					\
 	nsIDOMXULSelectCntrlEl.idl       \
 	nsIDOMXULSelectCntrlItemEl.idl   \
 	nsIDOMXULMultSelectCntrlEl.idl \
 	nsIDOMXULTextboxElement.idl \
 	nsIDOMXULTreeElement.idl \
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/core \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/messages/interfaces/Makefile.in
+++ b/dom/messages/interfaces/Makefile.in
@@ -14,8 +14,12 @@ XPIDL_MODULE = dom_messages
 include $(topsrcdir)/dom/dom-config.mk
 
 XPIDLSRCS = \
   nsIDOMNavigatorSystemMessages.idl \
   nsISystemMessagesInternal.idl \
   $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  $(NULL)
--- a/dom/network/interfaces/Makefile.in
+++ b/dom/network/interfaces/Makefile.in
@@ -18,8 +18,13 @@ XPIDLSRCS = \
   nsIDOMConnection.idl \
   nsIDOMMobileConnection.idl \
   nsIMobileConnectionProvider.idl \
   nsIDOMUSSDReceivedEvent.idl \
   nsIDOMTCPSocket.idl \
   $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/interfaces/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/sms/interfaces/Makefile.in
+++ b/dom/sms/interfaces/Makefile.in
@@ -22,8 +22,13 @@ XPIDLSRCS = \
   nsIDOMSmsFilter.idl \
   nsIDOMSmsCursor.idl \
   nsISmsDatabaseService.idl \
   nsISmsRequestManager.idl \
   nsISmsService.idl \
   $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/system/gonk/Makefile.in
+++ b/dom/system/gonk/Makefile.in
@@ -88,8 +88,12 @@ EXTRA_JS_MODULES = \
   $(NULL)
 
 ifdef ENABLE_TESTS
 XPCSHELL_TESTS = tests
 endif
 
 include $(topsrcdir)/config/rules.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/network/interfaces \
+  $(NULL)
--- a/dom/telephony/Makefile.in
+++ b/dom/telephony/Makefile.in
@@ -31,8 +31,13 @@ XPIDLSRCS = \
   nsIDOMTelephonyCall.idl \
   nsIDOMCallEvent.idl \
   nsIDOMVoicemail.idl \
   nsIDOMVoicemailEvent.idl \
   nsIDOMVoicemailStatus.idl \
   $(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)
--- a/dom/wifi/Makefile.in
+++ b/dom/wifi/Makefile.in
@@ -30,8 +30,13 @@ EXTRA_COMPONENTS = \
 
 EXTRA_JS_MODULES = \
   libhardware_legacy.js \
   wifi_worker.js \
   $(NULL)
 
 include $(topsrcdir)/config/rules.mk
 
+
+XPIDL_FLAGS += \
+  -I$(topsrcdir)/dom/base \
+  -I$(topsrcdir)/dom/interfaces/events \
+  $(NULL)