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 EXPORTS.mozilla.ipc += [
8 'TestShellChild.h',
9 'TestShellParent.h',
10 'XPCShellEnvironment.h',
11 ]
13 # FIXME/bug 575918: out-of-process xpcshell is broken on OS X
14 if CONFIG['OS_ARCH'] != 'Darwin':
15 XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
17 SOURCES += [
18 'TestShellChild.cpp',
19 'TestShellParent.cpp',
20 'XPCShellEnvironment.cpp',
21 ]
23 IPDL_SOURCES = [
24 'PTestShell.ipdl',
25 'PTestShellCommand.ipdl',
26 ]
28 FAIL_ON_WARNINGS = True
30 include('/ipc/chromium/chromium-config.mozbuild')
32 FINAL_LIBRARY = 'xul'
34 # For xpcshell error messages and nsDependentJSString
35 LOCAL_INCLUDES += [
36 '/dom/base',
37 '/js/xpconnect/src',
38 ]