intl/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 07 Oct 2022 08:01:10 +0000
changeset 637173 84e2e4cd020eb56272875983723c0a085ddd6ab3
parent 583857 640ad102b31631a639d0b0e875257e684fe10dea
permissions -rw-r--r--
Bug 1794074 - Revert clang trunk change wrt thread safety analysis. a=fix Differential Revision: https://phabricator.services.mozilla.com/D158824

# -*- 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/.

TEST_DIRS += [
    "gtest",
]

DIRS += [
    "components",
    "hyphenation/glue",
    "locale",
    "locales",
    "lwbrk",
    "strres",
    "unicharutil",
    "l10n",
]

DIRS += [
    "uconv",
    "build",
]

EXPORTS.mozilla += [
    "Encoding.h",
    "EncodingDetector.h",
]

EXPORTS += [
    "../third_party/rust/chardetng_c/include/chardetng.h",
    "../third_party/rust/encoding_c/include/encoding_rs.h",
    "../third_party/rust/encoding_c/include/encoding_rs_statics.h",
]


PERFTESTS_MANIFESTS += ["benchmarks/perftest.ini"]
XPCSHELL_TESTS_MANIFESTS += ["benchmarks/xpcshell.ini"]

with Files("**"):
    BUG_COMPONENT = ("Core", "Internationalization")

with Files("icu/**"):
    BUG_COMPONENT = ("Core", "JavaScript: Internationalization API")

with Files("icu-patches/**"):
    BUG_COMPONENT = ("Core", "JavaScript: Internationalization API")

with Files("tzdata/**"):
    BUG_COMPONENT = ("Core", "JavaScript: Internationalization API")

with Files("update*"):
    BUG_COMPONENT = ("Core", "JavaScript: Internationalization API")

with Files("icu_sources_data.py"):
    BUG_COMPONENT = ("Firefox Build System", "General")

SPHINX_TREES["/intl"] = "docs"