mail/app.mozbuild
author Misak Khachatryan <misak.bugzilla@gmail.com>
Tue, 10 Dec 2013 11:18:27 +0400
changeset 16983 63baf8270c1cb8b380784b61c43905c688e051d6
parent 15716 da699b85afb915c36f0fc8a93eb7fb1564384179
child 20706 b41ea6d553587468900fb07eac619e2e968f7438
permissions -rw-r--r--
Bug 948293 - Build bustage after bug 713082. r+a=Neil 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/.

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')