mail/app.mozbuild
author Philip Chee <philip.chee@gmail.com>
Fri, 21 Jun 2013 18:11:51 +0800
changeset 15588 4b022ddb9be42a08059f5342490157c5d9761726
parent 15073 3044a67220c7cc9927cc1aed9096854495756472
child 15716 da699b85afb915c36f0fc8a93eb7fb1564384179
permissions -rw-r--r--
Bug 883203 On OS X, run all plugins OOP by default when in 32-bit mode (i386/x86) f=Stefanh r=IanN a+comm-beta=IanN. a=Callek for checkin to a 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 = []

# Invoked from /mozilla.
if not CONFIG['COMM_BUILD']:
    if CONFIG['MOZ_APP_COMPONENT_LIBS']:
        bridge_reldir = '../'
        include('../bridge/bridge.mozbuild')
        app_libxul_dirs += ['../mail/components']

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

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

else:
    bridge_reldir = ''
    include('/bridge/bridge.mozbuild')

    if CONFIG['MOZ_INCOMPLETE_EXTERNAL_LINKAGE']:
        add_tier_dir('app', app_libxul_static_dirs, static=True)
        add_tier_dir('app', app_libxul_dirs)

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

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

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

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