Bug 1832281 [wpt PR 39923] - Remove duplicate resolutions from the resolved image...
[gecko.git] / intl / l10n / moz.build
blob8482824e923646d727e8e246f4e3590a68ac6a28
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 += [
8     "FileSource.h",
9     "FluentBindings.h",
10     "FluentBundle.h",
11     "FluentResource.h",
12     "L10nRegistry.h",
13     "Localization.h",
14     "LocalizationBindings.h",
15     "RegistryBindings.h",
18 UNIFIED_SOURCES += [
19     "FileSource.cpp",
20     "FluentBundle.cpp",
21     "FluentResource.cpp",
22     "L10nRegistry.cpp",
23     "Localization.cpp",
26 TESTING_JS_MODULES += [
27     "FluentSyntax.jsm",
30 TEST_DIRS += [
31     "rust/gtest",
32     "test/gtest",
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"])
42     CbindgenHeader(
43         "l10nregistry_ffi_generated.h", inputs=["/intl/l10n/rust/l10nregistry-ffi"]
44     )
46     CbindgenHeader(
47         "localization_ffi_generated.h", inputs=["/intl/l10n/rust/localization-ffi"]
48     )
50     EXPORTS.mozilla.intl += [
51         "!fluent_ffi_generated.h",
52         "!l10nregistry_ffi_generated.h",
53         "!localization_ffi_generated.h",
54     ]
56 XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.ini"]
57 MOCHITEST_CHROME_MANIFESTS += ["test/mochitest/chrome.ini"]
59 SPHINX_TREES["/l10n"] = "docs"
61 FINAL_LIBRARY = "xul"