mail/app.mozbuild
author Philipp Kewisch <mozilla@kewis.ch>
Sun, 26 Feb 2017 16:45:39 +0100
changeset 29160 84893db274a435ec11faa19c102efc9cd4780391
parent 23616 7a674f9ee35503b88660df41e4616967b72ad765
child 29861 e6ab2f1c372f9af2624d8a939eb42f49ff585a8e
permissions -rw-r--r--
Bug 1366607 - Allow building with m-c as topsrcdir. r=frg,tomprince MozReview-Commit-ID: DhZnUDM0EyZ

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

include('../mailnews/mailnews.mozbuild')

DIRS += ['/%s/mail/components' % CONFIG['commreltopsrcdir']]

include('/%s/toolkit/toolkit.mozbuild' % CONFIG['mozreltopsrcdir'])

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

DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']]

if CONFIG['MOZ_COMPOSER']:
    DIRS += ['/%s/editor/ui' % CONFIG['commreltopsrcdir']]

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

DIRS += [
    '/%s/chat' % CONFIG['commreltopsrcdir'],
    '/%s/mail' % CONFIG['commreltopsrcdir'],
]