summaryrefslogtreecommitdiffstats
path: root/config/external/icu/i18n/moz.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/external/icu/i18n/moz.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/config/external/icu/i18n/moz.build b/config/external/icu/i18n/moz.build
new file mode 100644
index 0000000000..07adbcc7a1
--- /dev/null
+++ b/config/external/icu/i18n/moz.build
@@ -0,0 +1,23 @@
+# -*- 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/.
+
+Library("icui18n")
+FINAL_LIBRARY = "icu"
+
+DEFINES["U_I18N_IMPLEMENTATION"] = True
+
+LOCAL_INCLUDES += ["/intl/icu/source/common"]
+
+include("../defs.mozbuild")
+include("sources.mozbuild")
+
+SOURCES += sources
+
+if CONFIG["TARGET_ENDIANNESS"] == "big":
+ HostLibrary("host_icui18n")
+ HOST_DEFINES["U_I18N_IMPLEMENTATION"] = True
+ HOST_SOURCES += sources
+ HOST_SOURCES += other_sources