gecko-dev/browser/moz.build
Gijs Kruitbosch f1a04bd343 Bug 1618188 - remove XML backend for plugin and add-on blocklisting, r=mconley,perftest-reviewers,whimboo
This removes the obsolete backend. Notes on some of the less obvious changes
made as part of this patch:

- some of the gFoo style getters in Blocklist.jsm were only used by the XML
  version of the blocklist; I've removed them and tried to remove spurious
  settings of those properties in the remaining tests.
- some utility methods (e.g. distribution information getters) were also only
  used for the XML version (for the update URL).
- it's no longer necessary to test switching implementations.
- in browser/base/content/test/plugins/, we ran some tests from two manifests
  in order to run them with both blocklist backends. The simplest way of
  reducing this back down to one was to remove the remote-settings one. If I'd
  been more future-oriented when I created the duplication, perhaps I would
  have moved the XML version out into a different manifest instead, but I
  didn't, so now it looks like we're removing the modern one, whereas really
  we're going to be running the modern one as part of the "normal" tests and
  we're no longer running the "old" tests.
- removed all mentions I could see of extensions.blocklist.url which is no
  longer used for anything.
- per https://bugzilla.mozilla.org/show_bug.cgi?id=1016555#c23, updated
  references for the OneCRL timing and how it relates to blocklist updates.

Differential Revision: https://phabricator.services.mozilla.com/D64933

--HG--
extra : moz-landing-system : lando
2020-03-09 12:02:17 +00:00

107 lines
2.5 KiB
Python

# -*- Mode: python; 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/.
CONFIGURE_SUBST_FILES += ['installer/Makefile']
SPHINX_TREES['/browser'] = 'docs'
with Files('docs/**'):
SCHEDULES.exclusive = ['docs']
EXTRA_COMPONENTS += [
'l10n-registry.manifest',
]
DIRS += [
'actors',
'base',
'components',
'fonts',
'fxr',
'locales',
'modules',
'themes',
'extensions',
]
DIRS += [
'app',
]
if CONFIG['MAKENSISU']:
DIRS += ['installer/windows']
TEST_DIRS += [
'tools/mozscreenshots',
]
DIST_SUBDIR = 'browser'
export('DIST_SUBDIR')
# These defines are read in firefox.js
DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
for cdm in CONFIG['MOZ_EME_MODULES']:
DEFINES['MOZ_%s_EME' % cdm.upper()] = True
if CONFIG['MOZ_GPSD']:
DEFINES['MOZ_GPSD'] = True
# These files are specified in this moz.build to pick up DIST_SUBDIR as set in
# this directory, which is un-set in browser/app.
JS_PREFERENCE_PP_FILES += [
'app/profile/firefox.js',
]
FINAL_TARGET_FILES.defaults += ['app/permissions']
with Files("**"):
BUG_COMPONENT = ("Firefox", "General")
with Files("Makefile.in"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("*.mk"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("**/moz.build"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("moz.configure"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("app.mozbuild"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("moz.build"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("confvars.sh"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("LICENSE"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("branding/**"):
BUG_COMPONENT = ("Firefox", "General")
with Files("config/**"):
BUG_COMPONENT = ("Firefox Build System", "General")
with Files("docs/**"):
BUG_COMPONENT = ("Toolkit", "Telemetry")
with Files("fonts/**"):
BUG_COMPONENT = ("Core", "Graphics: Text")
with Files("installer/**"):
BUG_COMPONENT = ("Firefox", "Installer")
with Files("tools/**"):
BUG_COMPONENT = ("Firefox", "General")
with Files('l10n-registry.manifest'):
BUG_COMPONENT = ('Core', 'Localization')