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 = [
9 "src/BidiEmbeddingLevel.h",
13 "src/DateIntervalFormat.h",
14 "src/DateTimeFormat.h",
16 "src/DateTimePatternGenerator.h",
25 "src/LocaleCanonicalizer.h",
27 "src/MeasureUnitGenerated.h",
29 "src/NumberingSystem.h",
32 "src/NumberRangeFormat.h",
34 "src/RelativeTimeFormat.h",
37 "src/UnicodeProperties.h",
38 "src/UnicodeScriptCodes.h",
43 "src/BidiEmbeddingLevel.cpp",
47 "src/DateIntervalFormat.cpp",
48 "src/DateTimeFormat.cpp",
49 "src/DateTimeFormatUtils.cpp",
50 "src/DateTimePatternGenerator.cpp",
51 "src/DisplayNames.cpp",
53 "src/ICU4CLibrary.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",
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