gecko-dev/browser/extensions/doh-rollout/moz.build
Nihanth Subramanya 7745d09edf Bug 1631822 - Implement multiple TRR selection dry-run. r=valentin,johannh
This patch uses TRRPerformance.jsm to get the fastest TRR and store it in a pref
before running DoH heuristics. The chosen TRR URI is sent in a telemetry event.

Differential Revision: https://phabricator.services.mozilla.com/D72790
2020-05-01 20:05:15 +00:00

75 lines
2.2 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/.
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
DEFINES['MOZ_APP_MAXVERSION'] = CONFIG['MOZ_APP_MAXVERSION']
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org'] += [
'background.js',
'heuristics.js',
'manifest.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["experiments"]["doorhanger"] += [
'experiments/doorhanger/api.js',
'experiments/doorhanger/schema.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["experiments"]["heuristics"] += [
'experiments/heuristics/api.js',
'experiments/heuristics/schema.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["experiments"]["preferences"] += [
'experiments/preferences/api.js',
'experiments/preferences/schema.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["experiments"]["trrselect"] += [
'experiments/trrselect/api.js',
'experiments/trrselect/schema.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["de"] += [
'_locales/de/messages.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["en_US"] += [
'_locales/en_US/messages.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["es_ES"] += [
'_locales/es_ES/messages.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["es_MX"] += [
'_locales/es_MX/messages.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["fr"] += [
'_locales/fr/messages.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["it"] += [
'_locales/it/messages.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["ru"] += [
'_locales/ru/messages.json'
]
FINAL_TARGET_FILES.features['doh-rollout@mozilla.org']["_locales"]["zh_CN"] += [
'_locales/zh_CN/messages.json'
]
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
with Files('**'):
BUG_COMPONENT = ('Firefox', 'Security')