mail/app.mozbuild
author Frank Wein <mcsmurf@mcsmurf.de>
Tue, 20 Aug 2013 11:15:15 +0200
changeset 16412 ad38da279eabc308b7eadae722573033b68bc389
parent 15716 da699b85afb915c36f0fc8a93eb7fb1564384179
child 20706 b41ea6d553587468900fb07eac619e2e968f7438
permissions -rw-r--r--
Backout changeset e6f324a5b474 from Bug 904485, patch did not fix SeaMonkey Linux builds 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')