toolkit/nss.configure
author Kris Maglione <maglione.k@gmail.com>
Thu, 25 Oct 2018 19:04:01 -0700
changeset 500729 bc03f101937e373fdaca735f3f356960a5239bc0
parent 462786 b909b93e90f9bdde2cefe9c09f55b0c8b68722ef
child 501784 e22dc234a52fe16f8ce2ae86b1b63b86211c1572
permissions -rw-r--r--
Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten Differential Revision: https://phabricator.services.mozilla.com/D9888

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