summaryrefslogtreecommitdiff
path: root/mailnews/base/util/moz.build
blob: b32b523baef2b729588830d9187d8d7a3fa345bc (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# 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 += [
    'nsImapMoveCoalescer.h',
    'nsMsgCompressIStream.h',
    'nsMsgCompressOStream.h',
    'nsMsgDBFolder.h',
    'nsMsgDBFolderAtomList.h',
    'nsMsgI18N.h',
    'nsMsgIdentity.h',
    'nsMsgIncomingServer.h',
    'nsMsgKeyArray.h',
    'nsMsgKeySet.h',
    'nsMsgLineBuffer.h',
    'nsMsgMailNewsUrl.h',
    'nsMsgProtocol.h',
    'nsMsgReadStateTxn.h',
    'nsMsgTxn.h',
    'nsMsgUtils.h',
]

EXPORTS.mozilla.mailnews += [
    'ServiceList.h',
    'Services.h',
]

SOURCES += [
    'nsImapMoveCoalescer.cpp',
    'nsMsgCompressIStream.cpp',
    'nsMsgCompressOStream.cpp',
    'nsMsgDBFolder.cpp',
    'nsMsgFileStream.cpp',
    'nsMsgI18N.cpp',
    'nsMsgIdentity.cpp',
    'nsMsgIncomingServer.cpp',
    'nsMsgKeyArray.cpp',
    'nsMsgKeySet.cpp',
    'nsMsgLineBuffer.cpp',
    'nsMsgMailNewsUrl.cpp',
    'nsMsgProtocol.cpp',
    'nsMsgReadStateTxn.cpp',
    'nsMsgTxn.cpp',
    'nsMsgUtils.cpp',
    'nsStopwatch.cpp',
    'Services.cpp',
]

EXTRA_JS_MODULES += [
    'ABQueryUtils.jsm',
    'errUtils.js',
    'folderUtils.jsm',
    'hostnameUtils.jsm',
    'IOUtils.js',
    'iteratorUtils.jsm',
    'jsTreeSelection.js',
    'JXON.js',
    'mailnewsMigrator.js',
    'mailServices.js',
    'msgDBCacheManager.js',
    'StringBundle.js',
    'templateUtils.js',
    'traceHelper.js',
]

if CONFIG['MOZ_MAILNEWS_OAUTH2']:
    EXTRA_JS_MODULES += [
        'OAuth2.jsm',
        'OAuth2Providers.jsm',
    ]

LOCAL_INCLUDES += [
  '/netwerk/base'
]

FINAL_LIBRARY = 'mail'

Library('msgbsutl_s')

DEFINES['_IMPL_NS_MSG_BASE'] = True