calendar/base/moz.build
author Tom Prince <mozilla@hocat.ca>
Sat, 18 Nov 2017 00:17:10 -0700
changeset 30926 fed54644fe13acd8020876133330168c44abefd4
parent 28114 7d9af75e6b67effcbc74c7466242673fa48ae995
child 37343 0dc699fa42c68a8fb115a9fb61509fd3d7f4bb25
permissions -rw-r--r--
HACK: Point to mozilla-cc-taskcluster repo.

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

DIRS = [
    'public',
    'backend',
    'src',
    'modules',
]

JAR_MANIFESTS += ['jar.mn']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    DEFINES['THEME'] = 'windows'
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    DEFINES['THEME'] = 'osx'
else:
    DEFINES['THEME'] = 'linux'

with Files('content/**'):
    BUG_COMPONENT = ('Calendar', 'Calendar Views')

with Files('content/preferences/**'):
    BUG_COMPONENT = ('Calendar', 'Preferences')

with Files('content/dialogs/**'):
    BUG_COMPONENT = ('Calendar', 'Dialogs')

with Files('content/*task*'):
    BUG_COMPONENT = ('Calendar', 'Tasks')

with Files('content/dialogs/*alarm*'):
    BUG_COMPONENT = ('Calendar', 'Alarms')

with Files('content/widgets/*alarm*'):
    BUG_COMPONENT = ('Calendar', 'Alarms')

with Files('themes/**'):
    BUG_COMPONENT = ('Calendar', 'Calendar Views')