toolkit/nss.configure
author Masayuki Nakano <masayuki@d-toybox.com>
Wed, 15 Mar 2017 19:09:30 +0900
changeset 347953 eaf379d6fc13817124ce58bac152028b277ceeda
parent 309589 60708763cd62988e199e956893f2dcc270eb2e2c
child 409065 9103be0ca1763cf0002c4ff2e5fa108bc398e70a
permissions -rw-r--r--
Bug 1347433 part.3 TextEventDispatcher::PendingComposition::Flush() should replace native line breakers in the composition string before dispatching composition event r=m_kato So, finally, Flush() should replace native line breakers in the composition string before dispatching composition events. However, if the composition string was set by Set(), i.e., it's already been replaced with native line breakers, we shouldn't try to do it again due to performance reason. Therefore, this patch adds |mReplacedNativeLineBreakers| to manage if it's already been called. MozReview-Commit-ID: 5Y7ULWeP153

# -*- 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 not in ('mobile/android', 'b2g', 'b2g/graphene')

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

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