toolkit/components/passwordmgr/moz.build

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 MOCHITEST_MANIFESTS += ['test/mochitest.ini']
     8 MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
     9 BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
    10 XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
    12 XPIDL_SOURCES += [
    13     'nsILoginInfo.idl',
    14     'nsILoginManager.idl',
    15     'nsILoginManagerCrypto.idl',
    16     'nsILoginManagerPrompter.idl',
    17     'nsILoginManagerStorage.idl',
    18     'nsILoginMetaInfo.idl',
    19 ]
    21 XPIDL_MODULE = 'loginmgr'
    23 EXTRA_COMPONENTS += [
    24     'crypto-SDR.js',
    25     'nsLoginInfo.js',
    26     'nsLoginManager.js',
    27     'nsLoginManagerPrompter.js',
    28     'passwordmgr.manifest',
    29 ]
    31 EXTRA_PP_COMPONENTS += [
    32     'storage-mozStorage.js',
    33 ]
    35 EXTRA_JS_MODULES += [
    36     'InsecurePasswordUtils.jsm',
    37     'LoginManagerContent.jsm',
    38 ]
    40 JAR_MANIFESTS += ['jar.mn']

mercurial