suite/moz.configure
author Geoff Lankow <geoff@darktrojan.net>
Thu, 18 Oct 2018 16:18:45 +1300
changeset 68480 52978d6762592e11d9e3c7ff69d39f47bc7990ed
parent 68478 3f7e3c78bdd8f998dbbcb0a8d5f366d3623f6364
child 68569 b44fb89ce5da72077d5d0ebf5ef12efcd9945a5f
permissions -rw-r--r--
Bug 1498041 - Turn on ESLint in mail/base/test

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

set_config('MOZ_SUITE', True)
set_define('MOZ_SUITE', True)

set_define('MOZ_SEPARATE_MANIFEST_FOR_THEME_OVERRIDES', True)

imply_option('MOZ_PLACES', True)
imply_option('MOZ_SERVICES_SYNC', False)
imply_option('MOZ_ALLOW_LEGACY_EXTENSIONS', True)


@depends(application)
def is_comm(app):
    return app[0].startswith('comm/')


@depends(is_comm)
def toolkit_configure(is_comm):
    if is_comm:
        return '../../toolkit/moz.configure'
    else:
        return '../mozilla/toolkit/moz.configure'


include('../mailnews/moz.configure')
include(toolkit_configure)