bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal

This commit is contained in:
Joey Armstrong 2013-06-10 11:19:28 -04:00
parent 9c311782b0
commit d47bba4871
64 changed files with 217 additions and 36 deletions

View File

@ -16,7 +16,7 @@ FAIL_ON_WARNINGS := 1
include $(topsrcdir)/dom/dom-config.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
ActivityOptions.js \
ActivityProxy.js \
ActivityRequestHandler.js \

View File

@ -14,3 +14,10 @@ CPP_SOURCES += [
'Activity.cpp',
]
EXTRA_COMPONENTS += [
'Activities.manifest',
'ActivityOptions.js',
'ActivityProxy.js',
'ActivityRequestHandler.js',
'ActivityWrapper.js',
]

View File

@ -16,7 +16,7 @@ FAIL_ON_WARNINGS := 1
include $(topsrcdir)/dom/dom-config.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
AlarmsManager.js \
AlarmsManager.manifest \
$(NULL)

View File

@ -27,3 +27,7 @@ CPP_SOURCES += [
'AlarmHalService.cpp',
]
EXTRA_COMPONENTS += [
'AlarmsManager.js',
'AlarmsManager.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
AppsService.js \
AppsService.manifest \
Webapps.manifest \

View File

@ -4,3 +4,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/.
EXTRA_COMPONENTS += [
'AppsService.js',
'AppsService.manifest',
'Webapps.manifest',
]

View File

@ -15,7 +15,7 @@ LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
FAIL_ON_WARNINGS := 1
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
SiteSpecificUserAgent.js \
SiteSpecificUserAgent.manifest \
ConsoleAPI.js \

View File

@ -97,3 +97,9 @@ CPP_SOURCES += [
'nsWindowRoot.cpp',
]
EXTRA_COMPONENTS += [
'ConsoleAPI.js',
'ConsoleAPI.manifest',
'SiteSpecificUserAgent.js',
'SiteSpecificUserAgent.manifest',
]

View File

@ -11,7 +11,7 @@ include $(DEPTH)/config/autoconf.mk
VPATH += $(srcdir)/fallback
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
ContactManager.js \
ContactManager.manifest \
$(NULL)

View File

@ -5,3 +5,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['tests']
EXTRA_COMPONENTS += [
'ContactManager.js',
'ContactManager.manifest',
]

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsDOMIdentity.js \
nsIDService.js \
Identity.manifest \

View File

@ -5,3 +5,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['tests']
EXTRA_COMPONENTS += [
'Identity.manifest',
'nsDOMIdentity.js',
'nsIDService.js',
]

View File

@ -17,7 +17,7 @@ FAIL_ON_WARNINGS := 1
include $(topsrcdir)/dom/dom-config.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
PeerConnection.js \
PeerConnection.manifest \
$(NULL)

View File

@ -27,3 +27,7 @@ CPP_SOURCES += [
'MediaManager.cpp',
]
EXTRA_COMPONENTS += [
'PeerConnection.js',
'PeerConnection.manifest',
]

View File

@ -11,7 +11,7 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
SystemMessageManager.js \
SystemMessageInternal.js \
SystemMessageManager.manifest \

View File

@ -5,3 +5,9 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
PARALLEL_DIRS += ['interfaces']
EXTRA_COMPONENTS += [
'SystemMessageInternal.js',
'SystemMessageManager.js',
'SystemMessageManager.manifest',
]

View File

@ -14,14 +14,14 @@ LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
FAIL_ON_WARNINGS := 1
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
TCPSocket.js \
TCPSocketParentIntermediary.js \
TCPSocket.manifest \
$(NULL)
ifdef MOZ_B2G_RIL
EXTRA_COMPONENTS += \
DISABLED_EXTRA_COMPONENTS += \
NetworkStatsManager.manifest \
NetworkStatsManager.js \
$(NULL)

View File

@ -23,3 +23,15 @@ if CONFIG['MOZ_B2G_RIL']:
CPP_SOURCES += [
'MobileConnection.cpp',
]
EXTRA_COMPONENTS += [
'TCPSocket.js',
'TCPSocket.manifest',
'TCPSocketParentIntermediary.js',
]
if CONFIG['MOZ_B2G_RIL']:
EXTRA_COMPONENTS += [
'NetworkStatsManager.js',
'NetworkStatsManager.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
PermissionSettings.js \
PermissionSettings.manifest \
PermissionPromptService.js \

View File

@ -5,3 +5,10 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['tests']
EXTRA_COMPONENTS += [
'PermissionPromptService.js',
'PermissionPromptService.manifest',
'PermissionSettings.js',
'PermissionSettings.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
Push.js \
Push.manifest \
$(NULL)

View File

@ -1,5 +1,10 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# 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/.
EXTRA_COMPONENTS += [
'Push.js',
'Push.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
SettingsManager.js \
SettingsManager.manifest \
SettingsService.js \

View File

@ -5,3 +5,10 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['tests']
EXTRA_COMPONENTS += [
'SettingsManager.js',
'SettingsManager.manifest',
'SettingsService.js',
'SettingsService.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(topsrcdir)/config/config.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsDefaultCLH.manifest \
nsDefaultCLH.js \
$(NULL)

View File

@ -10,7 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
jsconsole-clhandler.js \
jsconsole-clhandler.manifest \
$(NULL)

View File

@ -5,3 +5,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['tests']
EXTRA_COMPONENTS += [
'jsconsole-clhandler.js',
'jsconsole-clhandler.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsContentPrefService.js \
nsContentPrefService.manifest \
$(NULL)

View File

@ -8,3 +8,7 @@ TEST_DIRS += ['tests']
MODULE = 'contentprefs'
EXTRA_COMPONENTS += [
'nsContentPrefService.js',
'nsContentPrefService.manifest',
]

View File

@ -20,7 +20,7 @@ include $(topsrcdir)/config/config.mk
ifndef MOZ_SUITE
# XXX - Until Suite builds off XULRunner we can't guarantee our implementation
# of nsIDownloadManagerUI overrides toolkit's.
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsDownloadManagerUI.js \
nsDownloadManagerUI.manifest \
$(NULL)

View File

@ -24,3 +24,11 @@ if CONFIG['OS_ARCH'] == 'WINNT':
CPP_SOURCES += [
'nsDownloadScanner.cpp',
]
# XXX - Until Suite builds off XULRunner we can't guarantee our implementation
# of nsIDownloadManagerUI overrides toolkit's.
if not CONFIG['MOZ_SUITE']:
EXTRA_COMPONENTS += [
'nsDownloadManagerUI.js',
'nsDownloadManagerUI.manifest',
]

View File

@ -15,7 +15,7 @@ MOZILLA_INTERNAL_API = 1
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
EXTRA_COMPONENTS = FeedProcessor.js FeedProcessor.manifest
DISABLED_EXTRA_COMPONENTS = FeedProcessor.js FeedProcessor.manifest
include $(topsrcdir)/config/rules.mk

View File

@ -21,3 +21,7 @@ XPIDL_SOURCES += [
MODULE = 'feeds'
EXTRA_COMPONENTS += [
'FeedProcessor.js',
'FeedProcessor.manifest',
]

View File

@ -18,7 +18,7 @@ EXPORT_LIBRARY = 1
IS_COMPONENT = 1
MODULE_NAME = nsFileViewModule
LIBXUL_LIBRARY = 1
EXTRA_COMPONENTS = nsFilePicker.js
DISABLED_EXTRA_COMPONENTS = nsFilePicker.js
EXTRA_PP_COMPONENTS = nsFilePicker.manifest
endif
endif

View File

@ -13,4 +13,6 @@ if CONFIG['MOZ_XUL'] and \
CPP_SOURCES += [
'nsFileView.cpp',
]
EXTRA_COMPONENTS += [
'nsFilePicker.js',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
Downloads.manifest \
DownloadLegacy.js \
$(NULL)

View File

@ -4,3 +4,7 @@
# 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/.
EXTRA_COMPONENTS += [
'DownloadLegacy.js',
'Downloads.manifest',
]

View File

@ -72,3 +72,8 @@ if CONFIG['MOZ_CAPTIVEDETECT']:
PARALLEL_DIRS += ['captivedetect']
DIRS += ['build']
EXTRA_COMPONENTS += [
'nsDefaultCLH.js',
'nsDefaultCLH.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
crypto-SDR.js \
nsLoginInfo.js \
nsLoginManager.js \

View File

@ -18,3 +18,11 @@ XPIDL_SOURCES += [
MODULE = 'loginmgr'
EXTRA_COMPONENTS += [
'crypto-SDR.js',
'nsLoginInfo.js',
'nsLoginManager.js',
'nsLoginManagerPrompter.js',
'passwordmgr.manifest',
'storage-Legacy.js',
]

View File

@ -19,7 +19,7 @@ IS_COMPONENT = 1
LOCAL_INCLUDES += -I$(srcdir)/../build
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
toolkitplaces.manifest \
nsLivemarkService.js \
nsTaggingService.js \
@ -29,7 +29,7 @@ EXTRA_COMPONENTS = \
$(NULL)
ifdef MOZ_XUL
EXTRA_COMPONENTS += nsPlacesAutoComplete.js nsPlacesAutoComplete.manifest
DISABLED_EXTRA_COMPONENTS += nsPlacesAutoComplete.js nsPlacesAutoComplete.manifest
endif
EXTRA_JS_MODULES = \

View File

@ -53,3 +53,18 @@ if CONFIG['MOZ_PLACES']:
MODULE = 'places'
if CONFIG['MOZ_PLACES']:
EXTRA_COMPONENTS += [
'ColorAnalyzer.js',
'PlacesCategoriesStarter.js',
'nsLivemarkService.js',
'nsPlacesExpiration.js',
'nsTaggingService.js',
'toolkitplaces.manifest',
]
if CONFIG['MOZ_XUL']:
EXTRA_COMPONENTS += [
'nsPlacesAutoComplete.js',
'nsPlacesAutoComplete.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsPrompter.js \
nsPrompter.manifest \
$(NULL)

View File

@ -6,3 +6,7 @@
MODULE = 'prompter'
EXTRA_COMPONENTS += [
'nsPrompter.js',
'nsPrompter.manifest',
]

View File

@ -19,7 +19,7 @@ LOCAL_INCLUDES = \
-I$(srcdir)/../build \
$(NULL)
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsFormAutoComplete.js \
FormHistoryStartup.js \
nsInputListAutoComplete.js \

View File

@ -19,3 +19,9 @@ CPP_SOURCES += [
'nsFormFillController.cpp',
]
EXTRA_COMPONENTS += [
'FormHistoryStartup.js',
'nsFormAutoComplete.js',
'nsInputListAutoComplete.js',
'satchel.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
toolkitsearch.manifest \
nsSearchSuggestions.js \
$(NULL)

View File

@ -5,3 +5,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['tests']
EXTRA_COMPONENTS += [
'nsSearchSuggestions.js',
'toolkitsearch.manifest',
]

View File

@ -26,7 +26,7 @@ EXTRA_PP_COMPONENTS = \
TelemetryPing.js \
$(NULL)
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
TelemetryPing.manifest \
$(NULL)

View File

@ -23,3 +23,6 @@ CPP_SOURCES += [
'Telemetry.cpp',
]
EXTRA_COMPONENTS += [
'TelemetryPing.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
BrowserPageThumbs.manifest \
PageThumbsProtocol.js \
$(NULL)

View File

@ -5,3 +5,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEST_DIRS += ['test']
EXTRA_COMPONENTS += [
'BrowserPageThumbs.manifest',
'PageThumbsProtocol.js',
]

View File

@ -21,7 +21,7 @@ LOCAL_INCLUDES = \
$(SQLITE_CFLAGS) \
$(NULL)
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsUrlClassifierHashCompleter.js \
nsURLClassifier.manifest \
$(NULL)

View File

@ -31,3 +31,7 @@ CPP_SOURCES += [
'nsUrlClassifierUtils.cpp',
]
EXTRA_COMPONENTS += [
'nsURLClassifier.manifest',
'nsUrlClassifierHashCompleter.js',
]

View File

@ -10,7 +10,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsURLFormatter.manifest \
nsURLFormatter.js \
$(NULL)

View File

@ -12,3 +12,7 @@ XPIDL_SOURCES += [
MODULE = 'urlformatter'
EXTRA_COMPONENTS += [
'nsURLFormatter.js',
'nsURLFormatter.manifest',
]

View File

@ -10,7 +10,7 @@ VPATH = @srcdir@
include $(topsrcdir)/config/config.mk
EXTRA_COMPONENTS = nsHelperAppDlg.manifest
DISABLED_EXTRA_COMPONENTS = nsHelperAppDlg.manifest
EXTRA_PP_COMPONENTS = nsHelperAppDlg.js
EXTRA_JS_MODULES = \

View File

@ -8,3 +8,6 @@ TEST_DIRS += ['tests']
MODULE = 'helperAppDlg'
EXTRA_COMPONENTS += [
'nsHelperAppDlg.manifest',
]

View File

@ -30,7 +30,7 @@ EXTRA_PP_COMPONENTS = \
extensions.manifest \
$(NULL)
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
addonManager.js \
amContentHandler.js \
amWebInstallListener.js \

View File

@ -14,3 +14,8 @@ XPIDL_SOURCES += [
MODULE = 'extensions'
EXTRA_COMPONENTS += [
'addonManager.js',
'amContentHandler.js',
'amWebInstallListener.js',
]

View File

@ -9,6 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = nsContentDispatchChooser.js nsContentDispatchChooser.manifest
DISABLED_EXTRA_COMPONENTS = nsContentDispatchChooser.js nsContentDispatchChooser.manifest
include $(topsrcdir)/config/rules.mk

View File

@ -6,3 +6,7 @@
MODULE = 'contentDispatchChooser'
EXTRA_COMPONENTS += [
'nsContentDispatchChooser.js',
'nsContentDispatchChooser.manifest',
]

View File

@ -9,7 +9,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
DISABLED_EXTRA_COMPONENTS = \
nsUpdateTimerManager.js \
nsUpdateTimerManager.manifest \
$(NULL)
@ -21,7 +21,7 @@ EXTRA_PP_COMPONENTS += \
nsUpdateServiceStub.js \
$(NULL)
EXTRA_COMPONENTS += \
DISABLED_EXTRA_COMPONENTS += \
nsUpdateService.manifest \
$(NULL)

View File

@ -33,3 +33,12 @@ if CONFIG['MOZ_UPDATER']:
MODULE = 'update'
EXTRA_COMPONENTS += [
'nsUpdateTimerManager.js',
'nsUpdateTimerManager.manifest',
]
if CONFIG['MOZ_UPDATER']:
EXTRA_COMPONENTS += [
'nsUpdateService.manifest',
]