storage/public/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 XPIDL_SOURCES += [
     8     'mozIStorageAggregateFunction.idl',
     9     'mozIStorageAsyncConnection.idl',
    10     'mozIStorageAsyncStatement.idl',
    11     'mozIStorageBaseStatement.idl',
    12     'mozIStorageBindingParams.idl',
    13     'mozIStorageBindingParamsArray.idl',
    14     'mozIStorageCompletionCallback.idl',
    15     'mozIStorageConnection.idl',
    16     'mozIStorageError.idl',
    17     'mozIStorageFunction.idl',
    18     'mozIStoragePendingStatement.idl',
    19     'mozIStorageProgressHandler.idl',
    20     'mozIStorageResultSet.idl',
    21     'mozIStorageRow.idl',
    22     'mozIStorageService.idl',
    23     'mozIStorageStatement.idl',
    24     'mozIStorageStatementCallback.idl',
    25     'mozIStorageStatementParams.idl',
    26     'mozIStorageStatementRow.idl',
    27     'mozIStorageVacuumParticipant.idl',
    28     'mozIStorageValueArray.idl',
    29 ]
    31 XPIDL_MODULE = 'storage'
    33 EXPORTS += [
    34     'mozStorageHelper.h',
    35 ]
    37 EXPORTS.mozilla += [
    38     'storage.h',
    39 ]
    41 # NOTE When adding something to this list, you probably need to add it to the
    42 #      storage.h file too.
    43 EXPORTS.mozilla.storage += [
    44     'StatementCache.h',
    45 ]
    46 # SEE ABOVE NOTE!

mercurial