mail/app.mozbuild
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 01 Jul 2014 14:24:43 +0900
changeset 20414 82fdf36eab593bdb093e33ae461ce94bd62a1313
parent 15716 da699b85afb915c36f0fc8a93eb7fb1564384179
child 20706 b41ea6d553587468900fb07eac619e2e968f7438
permissions -rw-r--r--
Bug 1031291 - Prepare comm-central to m-c changes from bug 762358 on a CLOSED TREE. r=jcranmer

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