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 NO_DIST_INSTALL = True
8 # For sanity's sake, we compile nsinstall without the wrapped system
9 # headers, so that we can use it to set up the wrapped system headers.
10 NO_VISIBILITY_FLAGS = True
12 CONFIGURE_SUBST_FILES += [
13 'doxygen.cfg',
14 'makefiles/test/Makefile',
15 'tests/makefiles/autodeps/Makefile',
16 'tests/src-simple/Makefile',
17 ]
19 if CONFIG['HOST_OS_ARCH'] != 'WINNT':
20 HOST_SOURCES += [
21 'nsinstall.c',
22 'pathsub.c',
23 ]
24 HOST_PROGRAM = 'nsinstall_real'
26 if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
27 DEFINES['GKMEDIAS_SHARED_LIBRARY'] = True
29 if CONFIG['MOZ_SHARED_ICU']:
30 DEFINES['MOZ_SHARED_ICU'] = True