intl/l10n/moz.build
author Sylvestre Ledru <sledru@mozilla.com>
Wed, 10 Oct 2018 17:39:11 +0200
changeset 1723497 2aa30ed48cd8ecbab39658ade7dc17c3e5bd90be
parent 1689462 709a197ccc2e5959d14df8e049ce60da3c727f5a
child 1718255 e41c067340ee5c509e1286cbcbd0c000dfa75df0
child 1732462 5b15f90c1d6a5b62d390b59abb573387f16c0f76
permissions -rw-r--r--
reformat dom/

# -*- 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',
    'L10nRegistry.jsm',
    'Localization.jsm',
    'MessageContext.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',
]

XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini']

MOCHITEST_MANIFESTS += ['test/mochitest.ini']
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']

SPHINX_TREES['l10n'] = 'docs'

FINAL_LIBRARY = 'xul'