calendar/lightning/moz.build
author Geoff Lankow <geoff@darktrojan.net>
Wed, 18 Jul 2018 20:36:42 +1200
changeset 31771 7962d601822d193cccf877bba6c2f0e3908af7a9
parent 31763 e81f4b59a00a7d3e18d50fd3851ecbd47762a186
child 35124 1afa90fe67103f9b81f65ae94304489e8f74a595
permissions -rw-r--r--
Bug 1475817 - Part 9: Convert simple <listbox> to <richlistbox>, address list dialogs. r=jorgk DONTBUILD

# 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']

if CONFIG['NIGHTLY_BUILD']:
    DIST_SUBDIR = 'extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}'
else:
    DIST_SUBDIR = 'distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}'
export('DIST_SUBDIR')

FINAL_TARGET_PP_FILES += [
    'app.ini',
    'manifest.json',
]

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 += [
    'install.rdf',
]

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