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 UNIFIED_SOURCES += [
8 'nsJISx4051LineBreaker.cpp',
9 'nsSampleWordBreaker.cpp',
10 'nsSemanticUnitScanner.cpp',
11 ]
13 if CONFIG['MOZ_WIDGET_GTK']:
14 SOURCES += [
15 'nsPangoBreaker.cpp',
16 ]
17 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
18 SOURCES += [
19 'nsUniscribeBreaker.cpp',
20 ]
21 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
22 UNIFIED_SOURCES += [
23 'nsCarbonBreaker.cpp',
24 ]
25 else:
26 SOURCES += [
27 'nsRuleBreaker.cpp',
28 ]
29 SOURCES += [
30 'rulebrk.c',
31 ]
35 MSVC_ENABLE_PGO = True
37 FINAL_LIBRARY = 'i18n'