Verified Commit 69d34e91 authored by Kathleen Brade's avatar Kathleen Brade Committed by Pier Angelo Vendrame
Browse files

BB 21431: Clean-up system extensions shipped in Firefox

Only ship the pdfjs extension.
parent cae8ac25
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
@@ -2299,6 +2299,7 @@ BrowserGlue.prototype = {
    // There is no pref for this add-on because it shouldn't be disabled.
    const ID = "addons-search-detection@mozilla.com";

    try {
      let addon = await lazy.AddonManager.getAddonByID(ID);

      // first time install of addon and install on firefox update
@@ -2309,9 +2310,10 @@ BrowserGlue.prototype = {
          "resource://builtin-addons/search-detection/"
        )) || addon;

    if (!addon.isActive) {
      if (addon && !addon.isActive) {
        addon.enable();
      }
    } catch (e) {}
  },

  _monitorHTTPSOnlyPref() {
+1 −8
Original line number Diff line number Diff line
@@ -4,11 +4,4 @@
# 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/.

DIRS += [
    "formautofill",
    "screenshots",
    "webcompat",
    "report-site-issue",
    "pictureinpicture",
    "search-detection",
]
DIRS += []
+0 −1
Original line number Diff line number Diff line
@@ -220,7 +220,6 @@
@RESPATH@/browser/chrome/icons/default/default64.png
@RESPATH@/browser/chrome/icons/default/default128.png
#endif
@RESPATH@/browser/features/*

; [DevTools Startup Files]
@RESPATH@/browser/chrome/devtools-startup@JAREXT@
+0 −8
Original line number Diff line number Diff line
@@ -52,10 +52,6 @@ l10n-%:
	@$(MAKE) -C ../themes/shared/app-marketplace-icons AB_CD=$* XPI_NAME=locale-$*
	@$(MAKE) -C ../../toolkit/locales l10n-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
	@$(MAKE) -C ../../extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$*
ifneq (,$(wildcard ../extensions/formautofill/locales))
	@$(MAKE) -C ../extensions/formautofill/locales AB_CD=$* XPI_NAME=locale-$*
endif
	@$(MAKE) -C ../extensions/report-site-issue/locales AB_CD=$* XPI_NAME=locale-$*
	@$(MAKE) -C ../../devtools/client/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
	@$(MAKE) -C ../../devtools/startup/locales AB_CD=$* XPI_NAME=locale-$* XPI_ROOT_APPID='$(XPI_ROOT_APPID)'
	@$(MAKE) l10n AB_CD=$* XPI_NAME=locale-$* PREF_DIR=$(PREF_DIR)
@@ -69,14 +65,10 @@ chrome-%:
	@$(MAKE) -C ../themes/shared/app-marketplace-icons chrome AB_CD=$*
	@$(MAKE) -C ../../toolkit/locales chrome-$*
	@$(MAKE) -C ../../extensions/spellcheck/locales chrome AB_CD=$*
ifneq (,$(wildcard ../extensions/formautofill/locales))
	@$(MAKE) -C ../extensions/formautofill/locales chrome AB_CD=$*
endif
	@$(MAKE) -C ../../devtools/client/locales chrome AB_CD=$*
	@$(MAKE) -C ../../devtools/startup/locales chrome AB_CD=$*
	@$(MAKE) chrome AB_CD=$*
	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales chrome AB_CD=$*
	@$(MAKE) -C ../extensions/report-site-issue/locales chrome AB_CD=$*

package-win32-installer: $(SUBMAKEFILES)
	$(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen ZIP_IN='$(ZIP_OUT)' installer
+0 −7
Original line number Diff line number Diff line
@@ -37,10 +37,3 @@
    locale/browser/feeds/subscribe.properties       (%chrome/browser/feeds/subscribe.properties)
    locale/browser/syncSetup.properties         (%chrome/browser/syncSetup.properties)
% locale browser-region @AB_CD@ %locale/browser-region/

#ifdef XPI_NAME
# Bug 1240628, restructure how l10n repacks work with feature addons
# This is hacky, but ensures the chrome.manifest chain is complete
[.] chrome.jar:
% manifest features/chrome.manifest
#endif