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.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | PARALLEL_DIRS += [ |
michael@0 | 8 | 'components', |
michael@0 | 9 | 'content', |
michael@0 | 10 | 'devtools', |
michael@0 | 11 | 'forgetaboutsite', |
michael@0 | 12 | 'identity', |
michael@0 | 13 | 'locales', |
michael@0 | 14 | 'modules', |
michael@0 | 15 | 'mozapps/downloads', |
michael@0 | 16 | 'mozapps/extensions', |
michael@0 | 17 | 'mozapps/handling', |
michael@0 | 18 | 'mozapps/preferences', |
michael@0 | 19 | 'mozapps/plugins', |
michael@0 | 20 | 'obsolete', |
michael@0 | 21 | 'profile', |
michael@0 | 22 | 'themes', |
michael@0 | 23 | 'webapps', |
michael@0 | 24 | ] |
michael@0 | 25 | |
michael@0 | 26 | DIRS += ['mozapps/update'] |
michael@0 | 27 | |
michael@0 | 28 | if CONFIG['MOZ_MAINTENANCE_SERVICE']: |
michael@0 | 29 | DIRS += ['components/maintenanceservice'] |
michael@0 | 30 | |
michael@0 | 31 | DIRS += ['xre'] |
michael@0 | 32 | |
michael@0 | 33 | if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'qt'): |
michael@0 | 34 | PARALLEL_DIRS += ['system/unixproxy'] |
michael@0 | 35 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
michael@0 | 36 | PARALLEL_DIRS += ['system/osxproxy'] |
michael@0 | 37 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |
michael@0 | 38 | PARALLEL_DIRS += ['system/windowsproxy'] |
michael@0 | 39 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': |
michael@0 | 40 | PARALLEL_DIRS += ['system/androidproxy'] |
michael@0 | 41 | |
michael@0 | 42 | if CONFIG['MOZ_CRASHREPORTER']: |
michael@0 | 43 | PARALLEL_DIRS += ['crashreporter'] |
michael@0 | 44 | elif CONFIG['MOZ_ENABLE_PROFILER_SPS']: |
michael@0 | 45 | # Profiler requires some crashreporter code, |
michael@0 | 46 | # so build it even if crashreporter is disabled. |
michael@0 | 47 | PARALLEL_DIRS += [ |
michael@0 | 48 | 'crashreporter/google-breakpad/src/common', |
michael@0 | 49 | 'crashreporter/google-breakpad/src/processor', |
michael@0 | 50 | ] |
michael@0 | 51 | if CONFIG['OS_ARCH'] == 'Darwin': |
michael@0 | 52 | PARALLEL_DIRS += ['crashreporter/google-breakpad/src/common/mac'] |
michael@0 | 53 | elif CONFIG['OS_ARCH'] == 'Linux': |
michael@0 | 54 | PARALLEL_DIRS += ['crashreporter/google-breakpad/src/common/linux'] |