im/moz.configure
author Josiah Bruner <jsbruner@umich.edu>
Fri, 25 May 2018 14:18:00 +0200
branchBETA_60_CONTINUATION
changeset 31956 074ed27e1c152136815eb6fa119bd07494e1500c
parent 30039 32a18ec6f4de61ece6d3103ce735b4917cbeaa2d
permissions -rw-r--r--
Bug 1461106 - Remove SMTP password from cache when deleted from password manager to prevent stale connection attempts. r=jorgk a=jorgk

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

imply_option('MOZ_PLACES', 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(toolkit_configure)