xpcom/glue/objs.mozbuild

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 xpcom_glue_src_lcppsrcs = [
     8     'AppData.cpp',
     9     'FileUtils.cpp',
    10     'nsArrayEnumerator.cpp',
    11     'nsArrayUtils.cpp',
    12     'nsCategoryCache.cpp',
    13     'nsClassInfoImpl.cpp',
    14     'nsCOMArray.cpp',
    15     'nsComponentManagerUtils.cpp',
    16     'nsCOMPtr.cpp',
    17     'nsCRTGlue.cpp',
    18     'nsCycleCollectionParticipant.cpp',
    19     'nsDeque.cpp',
    20     'nsEnumeratorUtils.cpp',
    21     'nsID.cpp',
    22     'nsIInterfaceRequestorUtils.cpp',
    23     'nsINIParser.cpp',
    24     'nsISupportsImpl.cpp',
    25     'nsMemory.cpp',
    26     'nsQuickSort.cpp',
    27     'nsTArray.cpp',
    28     'nsTHashtable.cpp',
    29     'nsThreadUtils.cpp',
    30     'nsTObserverArray.cpp',
    31     'nsVersionComparator.cpp',
    32     'nsVoidArray.cpp',
    33     'nsWeakReference.cpp',
    34     'pldhash.cpp',
    35 ]
    37 xpcom_glue_src_cppsrcs = [
    38     '%s/xpcom/glue/%s' % (TOPSRCDIR, s) for s in xpcom_glue_src_lcppsrcs
    39 ]
    41 xpcom_gluens_src_lcppsrcs = [
    42     'BlockingResourceBase.cpp',
    43     'DeadlockDetector.cpp',
    44     'GenericFactory.cpp',
    45     'nsProxyRelease.cpp',
    46     'nsTextFormatter.cpp',
    47     'unused.cpp',
    48 ]
    50 xpcom_gluens_src_cppsrcs = [
    51     '%s/xpcom/glue/%s' % (TOPSRCDIR, s) for s in xpcom_gluens_src_lcppsrcs
    52 ]

mercurial