gecko-dev/intl/l10n/moz.build
Zibi Braniecki 273622bfd8 Bug 1488973: Add tests for localisation of unprivileged content. r=flod,mossop
Depends on D7962

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

--HG--
extra : moz-landing-system : lando
2018-10-24 17:42:34 +00:00

47 lines
987 B
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/.
EXTRA_JS_MODULES += [
'DOMLocalization.jsm',
'Fluent.jsm',
'L10nRegistry.jsm',
'Localization.jsm',
]
XPIDL_SOURCES += [
'mozIDOMLocalization.idl',
]
XPIDL_MODULE = 'locale'
EXTRA_COMPONENTS += [
'mozDOMLocalization.js',
'mozDOMLocalization.manifest',
]
EXPORTS.mozilla.dom += [
'DocumentL10n.h',
]
UNIFIED_SOURCES += [
'DocumentL10n.cpp',
]
LOCAL_INCLUDES += [
'/dom/base',
'/js/xpconnect/src',
]
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini']
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
SPHINX_TREES['l10n'] = 'docs'
FINAL_LIBRARY = 'xul'