# 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' % ('' if commtop == '/comm' else '#', 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,
]