summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/intl/moz.build
blob: 03b8a13a466f3e4e4cb199f7e7a64fa0aa5f788c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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",
]