summaryrefslogtreecommitdiffstats
path: root/mailnews/base/src/moz.build
blob: b84839e9ecf3635b0e220810cc1e12bab625c935 (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
82
# 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 += [
    'nsMailDirServiceDefs.h',
    'nsMsgRDFDataSource.h',
    'nsMsgRDFUtils.h',
]

SOURCES += [
    'MailNewsDLF.cpp',
    'MailnewsLoadContextInfo.cpp',
    'nsCidProtocolHandler.cpp',
    'nsCopyMessageStreamListener.cpp',
    'nsMailDirProvider.cpp',
    'nsMessenger.cpp',
    'nsMessengerBootstrap.cpp',
    'nsMessengerContentHandler.cpp',
    'nsMsgAccount.cpp',
    'nsMsgAccountManager.cpp',
    'nsMsgAccountManagerDS.cpp',
    'nsMsgBiffManager.cpp',
    'nsMsgContentPolicy.cpp',
    'nsMsgCopyService.cpp',
    'nsMsgDBView.cpp',
    'nsMsgFolderCache.cpp',
    'nsMsgFolderCacheElement.cpp',
    'nsMsgFolderCompactor.cpp',
    'nsMsgFolderDataSource.cpp',
    'nsMsgFolderNotificationService.cpp',
    'nsMsgGroupThread.cpp',
    'nsMsgGroupView.cpp',
    'nsMsgMailSession.cpp',
    'nsMsgOfflineManager.cpp',
    'nsMsgProgress.cpp',
    'nsMsgPurgeService.cpp',
    'nsMsgQuickSearchDBView.cpp',
    'nsMsgRDFDataSource.cpp',
    'nsMsgRDFUtils.cpp',
    'nsMsgSearchDBView.cpp',
    'nsMsgServiceProvider.cpp',
    'nsMsgSpecialViews.cpp',
    'nsMsgStatusFeedback.cpp',
    'nsMsgTagService.cpp',
    'nsMsgThreadedDBView.cpp',
    'nsMsgWindow.cpp',
    'nsMsgXFViewThread.cpp',
    'nsMsgXFVirtualFolderDBView.cpp',
    'nsSpamSettings.cpp',
    'nsStatusBarBiffManager.cpp',
    'nsSubscribableServer.cpp',
    'nsSubscribeDataSource.cpp',
]

if CONFIG['NS_PRINTING']:
    SOURCES += ['nsMsgPrintEngine.cpp']

if CONFIG['OS_ARCH'] == 'WINNT':
    SOURCES += ['nsMessengerWinIntegration.cpp']

if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'qt'):
    SOURCES += ['nsMessengerUnixIntegration.cpp']
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    SOURCES += ['nsMessengerOSXIntegration.mm']

EXTRA_COMPONENTS += [
    'folderLookupService.js',
    'msgAsyncPrompter.js',
    'msgBase.manifest',
    'msgOAuth2Module.js',
    'newMailNotificationService.js',
    'nsMailNewsCommandLineHandler.js',
]

EXTRA_JS_MODULES += [
    'virtualFolderWrapper.js',
]

FINAL_LIBRARY = 'mail'