mailnews/moz.build
author Makoto Kato <m_kato@ga2.so-net.ne.jp>
Tue, 25 Jun 2013 12:19:06 +0100
changeset 16011 bfe4e360ee0545e0eedd271bba2c6c64451284f7
parent 15499 2793685324eb3bcb77b903c42f0966c6dcf57b7f
child 16172 97c76601c333ea1cfb1f1ee3eaeb858a490a7bc4
permissions -rw-r--r--
Bug 789787 - Part 2. Make mailnews be able to build if --disable-mapi is specified and there's no mapi header. r=Standard8. a=Standard8 for CLOSED TREE

# 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',
    '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 += [
    'test/performance/bloat',
    'imap/test',
    'import/test',
    'local/test',
]

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

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

MODULE = 'mailnews'