Bug 1806091 - patch clang to work with latest win11. r=glandium
[gecko.git] / intl / components / moz.build
blob65fe7ddc927ae28fed7bfaab83f4eb2450e21b96
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/.
6 EXPORTS.mozilla.intl = [
7     "src/Bidi.h",
8     "src/BidiClass.h",
9     "src/BidiEmbeddingLevel.h",
10     "src/Calendar.h",
11     "src/Collator.h",
12     "src/Currency.h",
13     "src/DateIntervalFormat.h",
14     "src/DateTimeFormat.h",
15     "src/DateTimePart.h",
16     "src/DateTimePatternGenerator.h",
17     "src/DisplayNames.h",
18     "src/FormatBuffer.h",
19     "src/ICU4CGlue.h",
20     "src/ICU4CLibrary.h",
21     "src/ICUError.h",
22     "src/IDNA.h",
23     "src/ListFormat.h",
24     "src/Locale.h",
25     "src/LocaleCanonicalizer.h",
26     "src/MeasureUnit.h",
27     "src/MeasureUnitGenerated.h",
28     "src/NumberFormat.h",
29     "src/NumberingSystem.h",
30     "src/NumberParser.h",
31     "src/NumberPart.h",
32     "src/NumberRangeFormat.h",
33     "src/PluralRules.h",
34     "src/RelativeTimeFormat.h",
35     "src/String.h",
36     "src/TimeZone.h",
37     "src/UnicodeProperties.h",
38     "src/UnicodeScriptCodes.h",
41 UNIFIED_SOURCES += [
42     "src/Bidi.cpp",
43     "src/BidiEmbeddingLevel.cpp",
44     "src/Calendar.cpp",
45     "src/Collator.cpp",
46     "src/Currency.cpp",
47     "src/DateIntervalFormat.cpp",
48     "src/DateTimeFormat.cpp",
49     "src/DateTimeFormatUtils.cpp",
50     "src/DateTimePatternGenerator.cpp",
51     "src/DisplayNames.cpp",
52     "src/ICU4CGlue.cpp",
53     "src/ICU4CLibrary.cpp",
54     "src/IDNA.cpp",
55     "src/ListFormat.cpp",
56     "src/Locale.cpp",
57     "src/LocaleCanonicalizer.cpp",
58     "src/LocaleGenerated.cpp",
59     "src/MeasureUnit.cpp",
60     "src/NumberFormat.cpp",
61     "src/NumberFormatFields.cpp",
62     "src/NumberFormatterSkeleton.cpp",
63     "src/NumberingSystem.cpp",
64     "src/NumberParser.cpp",
65     "src/NumberRangeFormat.cpp",
66     "src/PluralRules.cpp",
67     "src/RelativeTimeFormat.cpp",
68     "src/String.cpp",
69     "src/TimeZone.cpp",
72 if not CONFIG["JS_STANDALONE"]:
73     TEST_DIRS += ["gtest"]
75 # At the time of this writing the MOZ_HAS_MOZGLUE define must be true in order to
76 # correctly include ConvertUtf8toUtf16 in certain include paths, otherwise it results
77 # in a compile time "undeclared identifier" error. See:
78 # https://searchfox.org/mozilla-central/rev/6371054f6260a5f8844846439297547f7cfeeedd/mfbt/Utf8.h#277
79 DEFINES["MOZ_HAS_MOZGLUE"] = True
81 Library("intlcomponents")
83 REQUIRES_UNIFIED_BUILD = True