bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal

This commit is contained in:
Joey Armstrong 2013-06-20 15:59:59 -04:00
parent 5751e01df7
commit 177893ac53
23 changed files with 2 additions and 121 deletions

View File

@ -9,25 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DISABLED_EXTRA_PP_COMPONENTS = \
ActivitiesGlue.js \
AlertsService.js \
B2GAboutRedirector.js \
B2GComponents.manifest \
ContentHandler.js \
ContentPermissionPrompt.js \
DirectoryProvider.js \
FilePicker.js \
MailtoProtocolHandler.js \
MozKeyboard.js \
ProcessGlobal.js \
PaymentGlue.js \
SmsProtocolHandler.js \
TelProtocolHandler.js \
YoutubeProtocolHandler.js \
RecoveryService.js \
$(NULL)
EXTRA_JS_MODULES = \
Keyboard.jsm \
TelURIParser.jsm \
@ -35,8 +16,4 @@ EXTRA_JS_MODULES = \
ErrorPage.jsm \
$(NULL)
ifdef MOZ_UPDATER
DISABLED_EXTRA_PP_COMPONENTS += UpdatePrompt.js
endif
include $(topsrcdir)/config/rules.mk

View File

@ -13,11 +13,6 @@ DISABLED_EXTRA_COMPONENTS = \
BrowserComponents.manifest \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
nsBrowserContentHandler.js \
nsBrowserGlue.js \
$(NULL)
EXTRA_JS_MODULES = distribution.js
include $(topsrcdir)/config/rules.mk

View File

@ -23,11 +23,6 @@ DISABLED_EXTRA_COMPONENTS = \
WebContentConverter.js \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
FeedWriter.js \
$(NULL)
LOCAL_INCLUDES = -I$(srcdir)/../../build
include $(topsrcdir)/config/rules.mk

View File

@ -17,30 +17,17 @@ DISABLED_EXTRA_COMPONENTS = \
FirefoxProfileMigrator.js \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
ChromeProfileMigrator.js \
$(NULL)
ifeq ($(OS_ARCH),WINNT)
DISABLED_EXTRA_COMPONENTS += IEProfileMigrator.js \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS += SafariProfileMigrator.js \
$(NULL)
DEFINES += -DHAS_IE_MIGRATOR -DHAS_SAFARI_MIGRATOR
endif
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
DISABLED_EXTRA_PP_COMPONENTS += SafariProfileMigrator.js \
$(NULL)
DEFINES += -DHAS_SAFARI_MIGRATOR
endif
DISABLED_EXTRA_PP_COMPONENTS += \
BrowserProfileMigrators.manifest \
$(NULL)
EXTRA_PP_JS_MODULES = \
MigrationUtils.jsm \
$(NULL)

View File

@ -10,6 +10,5 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DISABLED_EXTRA_COMPONENTS = fuelApplication.manifest
DISABLED_EXTRA_PP_COMPONENTS = fuelApplication.js
include $(topsrcdir)/config/rules.mk

View File

@ -11,17 +11,6 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
# metro/components.manifest
DISABLED_EXTRA_PP_COMPONENTS = \
components.manifest \
AboutRedirector.js \
BrowserCLH.js \
BrowserStartup.js \
DirectoryProvider.js\
HelperAppDialog.js \
Sidebar.js \
SessionStore.js \
$(NULL)
EXTRA_COMPONENTS = \
AlertsService.js \
ContentPermissionPrompt.js \

View File

@ -16,6 +16,7 @@ endif
# responsibility between Makefile.in and mozbuild files.
_MOZBUILD_EXTERNAL_VARIABLES := \
DIRS \
EXTRA_PP_COMPONENTS \
HOST_CSRCS \
HOST_LIBRARY_NAME \
MODULE \

View File

@ -34,10 +34,6 @@ EXTRA_COMPONENTS = \
messageWakeupService.manifest \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
contentSecurityPolicy.js \
$(NULL)
EXTRA_JS_MODULES = \
CSPUtils.jsm \
$(NULL)

View File

@ -15,10 +15,6 @@ DISABLED_EXTRA_COMPONENTS = \
Webapps.manifest \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
Webapps.js \
$(NULL)
EXTRA_PP_JS_MODULES += \
Webapps.jsm \
AppsUtils.jsm \

View File

@ -18,7 +18,6 @@ LOCAL_INCLUDES += $(MOZ_QT_CFLAGS)
FORCE_STATIC_LIB = 1
EXTRA_COMPONENTS = gtkqticonsconverter.manifest
DISABLED_EXTRA_PP_COMPONENTS = gtkqticonsconverter.js
include $(topsrcdir)/config/rules.mk

View File

@ -16,6 +16,7 @@ endif
# responsibility between Makefile.in and mozbuild files.
_MOZBUILD_EXTERNAL_VARIABLES := \
DIRS \
EXTRA_PP_COMPONENTS \
HOST_CSRCS \
HOST_LIBRARY_NAME \
MODULE \

View File

@ -9,16 +9,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DISABLED_EXTRA_PP_COMPONENTS = \
MobileComponents.manifest \
AboutRedirector.js \
BrowserCLH.js \
DirectoryProvider.js\
HelperAppDialog.js \
Sidebar.js \
SessionStore.js \
$(NULL)
EXTRA_COMPONENTS = \
AlertsService.js \
ContentPermissionPrompt.js \

View File

@ -20,12 +20,6 @@ EXTRA_COMPONENTS := \
DataReporting.manifest \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS := \
DataReportingService.js \
$(NULL)
include $(topsrcdir)/config/rules.mk
$(FINAL_TARGET)/components/DataReportingService.js: policy.jsm sessions.jsm ../common/observers.js

View File

@ -13,9 +13,4 @@ ifdef ENABLE_MARIONETTE
DEFINES += -DENABLE_MARIONETTE=1
endif
DISABLED_EXTRA_PP_COMPONENTS = \
MarionetteComponents.manifest \
marionettecomponent.js \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -18,10 +18,6 @@ DISABLED_EXTRA_COMPONENTS = \
storage-Legacy.js \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
storage-mozStorage.js \
$(NULL)
EXTRA_JS_MODULES = \
LoginManagerContent.jsm \
$(NULL)

View File

@ -25,10 +25,6 @@ DISABLED_EXTRA_COMPONENTS = \
satchel.manifest \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
nsFormHistory.js \
$(NULL)
EXTRA_JS_MODULES = \
nsFormAutoCompleteResult.jsm \
$(NULL)

View File

@ -14,10 +14,6 @@ DISABLED_EXTRA_COMPONENTS = \
nsSearchSuggestions.js \
$(NULL)
DISABLED_EXTRA_PP_COMPONENTS = \
nsSearchService.js \
$(NULL)
DEFINES += -DMOZ_DISTRIBUTION_ID=$(MOZ_DISTRIBUTION_ID)
include $(topsrcdir)/config/rules.mk

View File

@ -22,10 +22,6 @@ FAIL_ON_WARNINGS = 1
LIBRARY_NAME = telemetry
MSVC_ENABLE_PGO := 1
DISABLED_EXTRA_PP_COMPONENTS = \
TelemetryPing.js \
$(NULL)
DISABLED_EXTRA_COMPONENTS = \
TelemetryPing.manifest \
$(NULL)

View File

@ -26,11 +26,6 @@ DISABLED_EXTRA_COMPONENTS = \
$(NULL)
# Same as JS components that are run through the pre-processor.
DISABLED_EXTRA_PP_COMPONENTS = \
nsUrlClassifierLib.js \
nsUrlClassifierListManager.js \
$(NULL)
EXTRA_JS_MODULES = \
SafeBrowsing.jsm \
$(NULL)

View File

@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(topsrcdir)/config/config.mk
DISABLED_EXTRA_COMPONENTS = nsHelperAppDlg.manifest
DISABLED_EXTRA_PP_COMPONENTS = nsHelperAppDlg.js
EXTRA_JS_MODULES = \
DownloadLastDir.jsm \

View File

@ -25,11 +25,6 @@ else ifdef MOZ_DEBUG
DEFINES += -DMOZ_EM_DEBUG=1
endif
DISABLED_EXTRA_PP_COMPONENTS = \
nsBlocklistService.js \
extensions.manifest \
$(NULL)
DISABLED_EXTRA_COMPONENTS = \
addonManager.js \
amContentHandler.js \

View File

@ -16,11 +16,6 @@ DISABLED_EXTRA_COMPONENTS = \
ifdef MOZ_UPDATER
DISABLED_EXTRA_PP_COMPONENTS += \
nsUpdateService.js \
nsUpdateServiceStub.js \
$(NULL)
DISABLED_EXTRA_COMPONENTS += \
nsUpdateService.manifest \
$(NULL)

View File

@ -10,7 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = nsXULAppInstall.manifest
DISABLED_EXTRA_PP_COMPONENTS = nsXULAppInstall.js
DEFINES = -DBIN_SUFFIX=$(BIN_SUFFIX)