mailnews/moz.build
author Joshua Cranmer <Pidgeot18@gmail.com>
Mon, 25 Nov 2013 15:09:41 -0600
changeset 24859 0fb849ec9b6fe30a47668bcba963d1698e1a561f
parent 24832 49e689a2bc7811e63720ef47bcf3db4ef139e255
child 25037 f0554713a1edb84ccad11c67ebeae0409b9c18ec
permissions -rw-r--r--
Bug 648979, part 4: Rewrite the bridge paths for the new configuration, r=Standard8

# 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/.

PARALLEL_DIRS += [
    'addrbook',
    'base',
    'compose',
    'db/gloda',
    'db/msgdb',
    'extensions',
    'imap/public',
    'imap/src',
    'import/public',
    'import/src',
    'import/text/src',
    'import/vcard/src',
    'intl',
    'local/public',
    'local/src',
    'mime',
    'news',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    PARALLEL_DIRS += [
        'import/eudora/src',
        'import/applemail/src',
    ]

if CONFIG['OS_ARCH'] == 'WINNT':
    PARALLEL_DIRS += ['import/eudora/src']

    if CONFIG['MOZ_MAPI_SUPPORT']:
        PARALLEL_DIRS += ['import/outlook/src']

    if not CONFIG['GNU_CC']:
        PARALLEL_DIRS += [
            'import/oexpress',
            'import/winlivemail',
        ]

TEST_TOOL_DIRS += [
    'imap/test',
    'import/test',
    'local/test',
]

if CONFIG['MOZ_MAPI_SUPPORT']:
    PARALLEL_DIRS += [
        'mapi/mapiDLL',
        'mapi/mapihook',
    ]

DIRS += [
    'build',
    'import/build',
]

DEFINES['OS_ARCH'] = CONFIG['OS_ARCH']
DEFINES['MOZ_WIDGET_TOOLKIT'] = CONFIG['MOZ_WIDGET_TOOLKIT']

JAR_MANIFESTS += ['jar.mn']

TESTING_JS_MODULES.mailnews += [
	'test/fakeserver/auth.js',
	'test/fakeserver/imapd.js',
	'test/fakeserver/maild.js',
	'test/fakeserver/nntpd.js',
	'test/fakeserver/pop3d.js',
	'test/fakeserver/smtpd.js',
	'test/resources/IMAPpump.js',
	'test/resources/localAccountUtils.js',
	'test/resources/mailTestUtils.js',
	'test/resources/MockFactory.js',
	'test/resources/PromiseTestUtils.jsm',
]