calendar/lightning/moz.build
author Jorg K <jorgk@jorgk.com>
Mon, 18 Feb 2019 23:01:32 +0100
changeset 71573 47dc660a82c01e7cdf49a35a48f8a8b24a4ed73f
parent 65202 e81f4b59a00a7d3e18d50fd3851ecbd47762a186
child 71329 60a01eba3a0598bc0df08d93eee74338dbe0b065
child 74129 3d7849936d046192081e176094be893213ee4b0a
child 74723 a949a209b2e8584d23025803a380e7f47fc0d126
child 74724 3b7f8bb95fde3dfb91b5f1ff30beb7bd34f8880d
child 74769 9a40385e9e16db3ece319d681f9647dd2ea8517a
child 74774 61fd5191303d2e2b8139be4bdbad8a3a48a7d3f7
child 74779 75bd5d9ae6fce10f4ba147afbe1520ebfc4c84fd
child 78797 9a507de4197d646d342a88433784eaa236548272
child 80082 76bc8ba06d39f98ef7a9f77bd8ac6b53f9807c24
permissions -rw-r--r--
No bug - Pin mozilla-beta version (rev bce0092f646c, FIREFOX_66_0b9) for release. a=jorgk

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