mail/app.mozbuild
author Tom Prince <mozilla@hocat.ca>
Sun, 07 Jan 2018 12:06:52 -0700
changeset 57845 2f0f3dc37d4f0a0010ca185df4175640042a4bb1
parent 57715 e6ab2f1c372f9af2624d8a939eb42f49ff585a8e
permissions -rw-r--r--
Bug 1428608: Use EXTERNAL_SOURCE_DIRS to explicity refer to paths in comm-central, when building with c-c as topsrcdir; r?Build,Fallen,frg MozReview-Commit-ID: LXOqqcLfZQF

# 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('/toolkit/toolkit.mozbuild')
include('../mailnews/mailnews.mozbuild')

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

if CONFIG['EXTERNAL_SOURCE_DIR']:
    EXTERNAL_SOURCE_DIRS += ['/{}'.format(CONFIG['MOZ_BRANDING_DIRECTORY'])]
else:
    DIRS += ['/{}'.format(CONFIG['MOZ_BRANDING_DIRECTORY'])]

if CONFIG['MOZ_CALENDAR']:
    add_comm_dirs([
        '/calendar/lightning',
        '/calendar/timezones',
    ])

add_comm_dirs([
    '/chat',
    '/editor/ui',
    '/mail',
    '/mail/components',
])