calendar/lightning/moz.build
author Philip Chee <philip.chee@gmail.com>
Wed, 02 Dec 2015 11:10:00 +0100
changeset 23729 7e396c545f4cfc2037c8f5fa5ea8ed9932110b3e
parent 23726 76d181f1773de3f3c55b724cd06fcabb6cf7094b
child 30783 8bbed059de0aa3ffc85ecdee5467828b8bb26462
permissions -rw-r--r--
Bug 1229876 - Port Bug 1229241 - Differentiate preprocessed and non-preprocessed JS pref files (JS_PREFERENCE_FILES to JS_PREFERENCE_PP_FILES). r=aceman

# 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 += [
    '../libical',
    '../base',
    '../providers',
    '../import-export',
    '../itip',
    'components',
    'locales',
    'modules',
]

TEST_DIRS += ['../test']

XPI_NAME = 'lightning'
export('XPI_NAME')

FINAL_TARGET_PP_FILES += [
    'app.ini',
    'install.rdf',
]

JAR_MANIFESTS += ['jar.mn']

USE_EXTENSION_MANIFEST = True
export('USE_EXTENSION_MANIFEST')

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

JS_PREFERENCE_PP_FILES += [
    'content/lightning.js',
]

FINAL_TARGET_FILES.timezones += [
    '../timezones/zones.json',
]

with Files('**'):
    BUG_COMPONENT = ('Calendar', 'Lightning Only')

with Files('content/suite-*'):
    BUG_COMPONENT = ('Calendar', 'Lightning: SeaMonkey Integration')

with Files('build/**'):
    BUG_COMPONENT = ('Calendar', 'Build Config')

with Files('app.ini'):
    BUG_COMPONENT = ('Calendar', 'Build Config')