mail/app.mozbuild
author Tom Prince <mozilla@hocat.ca>
Sat, 06 Jan 2018 23:57:50 -0700
changeset 57817 f8531d7901712777ce67aff9d29a79ed74ee889c
parent 57715 e6ab2f1c372f9af2624d8a939eb42f49ff585a8e
permissions -rw-r--r--
try: --buildbot -b o -p all -u none

# 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/.

# Note that paths in this file are relative to the top directory, which may be
# m-c or c-c.

if CONFIG['commreltopsrcdir'] == 'comm':
    commtop = '/comm'
else:
    commtop = '#'

include('/%s/mailnews/mailnews.mozbuild' % ('comm' if commtop == '/comm' else '..'))

DIRS += ['%s/mail/components' % commtop]

include('/toolkit/toolkit.mozbuild')

if CONFIG['MOZ_EXTENSIONS']:
    DIRS += ['/extensions']

DIRS += ['%s/%s' % (commtop, CONFIG['MOZ_BRANDING_DIRECTORY'])]


if CONFIG['MOZ_CALENDAR']:
    DIRS += [
        '%s/calendar/lightning' % commtop,
        '%s/calendar/timezones' % commtop,
    ]

DIRS += [
    '%s/chat' % commtop,
    '%s/editor/ui' % commtop,
    '%s/mail' % commtop,
]