summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/addrbook/src/moz.build
blob: f7fbe7c58f36f44034b9b693c0c33a6b1dfb2727 (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
43
44
45
46
47
48
49
# 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/.

EXPORTS += [
    "nsAbDirProperty.h",
]

SOURCES += [
    "nsAbAddressCollector.cpp",
    "nsAbBooleanExpression.cpp",
    "nsAbCardProperty.cpp",
    "nsAbDirectoryQuery.cpp",
    "nsAbDirectoryQueryProxy.cpp",
    "nsAbDirProperty.cpp",
    "nsAbLDIFService.cpp",
    "nsAbQueryStringToExpression.cpp",
    "nsLDAPURL.cpp",
]

if CONFIG["OS_ARCH"] == "WINNT" and CONFIG["MOZ_MAPI_SUPPORT"]:
    SOURCES += [
        "nsAbOutlookDirectory.cpp",
        "nsAbOutlookInterface.cpp",
        "nsAbWinHelper.cpp",
        "nsMapiAddressBook.cpp",
    ]
    LOCAL_INCLUDES += ["/comm/mailnews/mapi/include"]

if CONFIG["OS_ARCH"] == "Darwin":
    SOURCES += [
        "nsAbOSXCard.mm",
        "nsAbOSXDirectory.mm",
        "nsAbOSXUtils.mm",
    ]

EXTRA_JS_MODULES += [
    "AbAutoCompleteMyDomain.jsm",
    "AbAutoCompleteSearch.jsm",
    "AbLDAPAttributeMap.jsm",
    "AbLDAPAutoCompleteSearch.jsm",
]

FINAL_LIBRARY = "mail"

XPCOM_MANIFESTS += [
    "components.conf",
]