summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/intl/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/intl/moz.build')
-rw-r--r--comm/mailnews/intl/moz.build42
1 files changed, 42 insertions, 0 deletions
diff --git a/comm/mailnews/intl/moz.build b/comm/mailnews/intl/moz.build
new file mode 100644
index 0000000000..03b8a13a46
--- /dev/null
+++ b/comm/mailnews/intl/moz.build
@@ -0,0 +1,42 @@
+# -*- Mode: python; c-basic-offset: 4; 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/.
+
+XPIDL_SOURCES += [
+ "nsICharsetConverterManager.idl",
+]
+
+UNIFIED_SOURCES += [
+ "nsCharsetAlias.cpp",
+ "nsCharsetConverterManager.cpp",
+ "nsMUTF7ToUnicode.cpp",
+ "nsUnicodeToMUTF7.cpp",
+ "nsUnicodeToUTF7.cpp",
+ "nsUTF7ToUnicode.cpp",
+]
+
+XPIDL_MODULE = "commuconv"
+
+LOCAL_INCLUDES += [
+ "/intl/locale",
+]
+
+GENERATED_FILES += [
+ "charsetalias.properties.h",
+]
+charsetalias = GENERATED_FILES["charsetalias.properties.h"]
+charsetalias.script = "/intl/locale/props2arrays.py"
+charsetalias.inputs = ["charsetalias.properties"]
+
+FINAL_LIBRARY = "mail"
+
+# Tests need more attention before they can be enabled.
+TEST_DIRS += ["test"]
+
+JAR_MANIFESTS += ["jar.mn"]
+
+XPCOM_MANIFESTS += [
+ "components.conf",
+]