1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS.mozilla.intl += [
14 "LocalizationBindings.h",
26 TESTING_JS_MODULES += [
35 include("/ipc/chromium/chromium-config.mozbuild")
37 USE_LIBS += ["intlcomponents"]
39 if CONFIG["COMPILE_ENVIRONMENT"]:
40 CbindgenHeader("fluent_ffi_generated.h", inputs=["/intl/l10n/rust/fluent-ffi"])
43 "l10nregistry_ffi_generated.h", inputs=["/intl/l10n/rust/l10nregistry-ffi"]
47 "localization_ffi_generated.h", inputs=["/intl/l10n/rust/localization-ffi"]
50 EXPORTS.mozilla.intl += [
51 "!fluent_ffi_generated.h",
52 "!l10nregistry_ffi_generated.h",
53 "!localization_ffi_generated.h",
56 XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.ini"]
57 MOCHITEST_CHROME_MANIFESTS += ["test/mochitest/chrome.ini"]
59 SPHINX_TREES["/l10n"] = "docs"