intl/l10n/moz.build
author Ted Mielczarek <ted@mielczarek.org>
Wed, 03 Oct 2018 20:29:29 -0400
changeset 439563 73a4e7ed19f3447370cbe5fa7b7b30fc1a41710b
parent 435177 709a197ccc2e5959d14df8e049ce60da3c727f5a
child 442245 b2a4b8894c2a0c396ebe118a52490f514f3a5bb2
permissions -rw-r--r--
Bug 1397263 - move MIDL checks to moz.configure; r=glandium

# -*- 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'