toolkit/nss.configure
author Geoff Brown <gbrown@mozilla.com>
Fri, 10 Aug 2018 10:22:04 -0600
changeset 828329 71af60e17c8bdd72065137083be9eb61ac0a68d7
parent 770537 b909b93e90f9bdde2cefe9c09f55b0c8b68722ef
permissions -rw-r--r--
Bug 1482413 - Improve mozharness diagnostics in per-test runs, especially for TV-bf; r=jmaher

# -*- Mode: python; 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/.


# DBM support in NSS
# ==============================================================
@depends(build_project, '--help')
def dbm_default(build_project, _):
    return build_project != 'mobile/android'

option('--enable-dbm', default=dbm_default, help='Enable building DBM')

set_config('NSS_DISABLE_DBM', depends('--enable-dbm')(lambda x: not x))