mail/app.mozbuild
author Mark Banner <bugzilla@standard8.plus.com>
Wed, 13 Nov 2013 08:35:54 +0000
changeset 16588 da43980580e0c5a15d7035eaaeb91236965c6ba1
parent 15716 da699b85afb915c36f0fc8a93eb7fb1564384179
child 20706 b41ea6d553587468900fb07eac619e2e968f7438
permissions -rw-r--r--
Back out part of bab97315c5f4 / Bug 926900 due to bustage,a=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/.

app_libxul_dirs = []
app_libxul_static_dirs = []

include('../bridge/bridge.mozbuild')

if not CONFIG['MOZ_INCOMPLETE_EXTERNAL_LINKAGE']:
    app_libxul_dirs = mailnews_dirs
    app_libxul_static_dirs = mailnews_static_dirs
    app_libxul_dirs += ['../mail/components']

if not CONFIG['LIBXUL_SDK']:
    include('/toolkit/toolkit.mozbuild')

if CONFIG['MOZ_INCOMPLETE_EXTERNAL_LINKAGE']:
    add_tier_dir('app', mailnews_static_dirs, static=True)
    add_tier_dir('app', mailnews_dirs)

if CONFIG['MOZ_EXTENSIONS']:
    add_tier_dir('app', 'extensions')

add_tier_dir('app', CONFIG['MOZ_BRANDING_DIRECTORY'])

if CONFIG['MOZ_COMPOSER']:
    add_tier_dir('app', '../editor/ui')

if CONFIG['MOZ_CALENDAR']:
    add_tier_dir('app', '../calendar/lightning')

add_tier_dir('app', '../chat')
add_tier_dir('app', '../mail')