Tue, 06 Jan 2015 21:39:09 +0100
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 if not CONFIG['MOZ_PROFILE_GENERATE']:
8 PROGRAM = 'spacetrace'
9 SOURCES += [
10 'formdata.c',
11 'spacecategory.c',
12 'spacetrace.c',
13 ]
15 bin_suffix = CONFIG['BIN_SUFFIX']
18 simple_c_sources = [
19 'leakstats',
20 'tmstats',
21 ]
23 SOURCES += [
24 '%s.c' % s for s in simple_c_sources
25 ]
26 SOURCES += [
27 'tmreader.c',
28 ]
30 SIMPLE_PROGRAMS += simple_c_sources
32 simple_cpp_sources = [
33 'bloatblame',
34 'leaksoup',
35 ]
37 SOURCES += [
38 '%s.cpp' % s for s in simple_cpp_sources
39 ]
41 SIMPLE_PROGRAMS += simple_cpp_sources
43 RESOURCE_FILES += [
44 'spacetrace.css'
45 ]