Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
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 LIBRARY_NAME = 'sandboxbroker'
8 EXPORT_LIBRARY = True
10 SOURCES += [
11 'sandboxBroker.cpp',
12 ]
14 EXPORTS += [
15 'sandboxBroker.h',
16 ]
18 FORCE_SHARED_LIB = True
20 for var in ('UNICODE', '_UNICODE', 'NS_NO_XPCOM', 'NOMINMAX',
21 'SANDBOX_EXPORTS'):
22 DEFINES[var] = True
24 LOCAL_INCLUDES += [
25 '/security',
26 '/security/sandbox',
27 '/security/sandbox/chromium',
28 ]
30 DISABLE_STL_WRAPPING = True