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',
])