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 | EXPORTS += [ |
michael@0 | 8 | 'AccEvent.h', |
michael@0 | 9 | 'nsAccessibilityService.h' |
michael@0 | 10 | ] |
michael@0 | 11 | |
michael@0 | 12 | EXPORTS.mozilla.a11y += [ |
michael@0 | 13 | 'AccTypes.h', |
michael@0 | 14 | 'DocManager.h', |
michael@0 | 15 | 'FocusManager.h', |
michael@0 | 16 | 'Platform.h', |
michael@0 | 17 | 'RelationType.h', |
michael@0 | 18 | 'Role.h', |
michael@0 | 19 | 'SelectionManager.h', |
michael@0 | 20 | 'States.h', |
michael@0 | 21 | ] |
michael@0 | 22 | |
michael@0 | 23 | if CONFIG['MOZ_DEBUG']: |
michael@0 | 24 | EXPORTS.mozilla.a11y += [ |
michael@0 | 25 | 'Logging.h', |
michael@0 | 26 | ] |
michael@0 | 27 | |
michael@0 | 28 | UNIFIED_SOURCES += [ |
michael@0 | 29 | 'AccCollector.cpp', |
michael@0 | 30 | 'AccEvent.cpp', |
michael@0 | 31 | 'AccGroupInfo.cpp', |
michael@0 | 32 | 'AccIterator.cpp', |
michael@0 | 33 | 'ARIAMap.cpp', |
michael@0 | 34 | 'ARIAStateMap.cpp', |
michael@0 | 35 | 'Asserts.cpp', |
michael@0 | 36 | 'DocManager.cpp', |
michael@0 | 37 | 'EventQueue.cpp', |
michael@0 | 38 | 'Filters.cpp', |
michael@0 | 39 | 'FocusManager.cpp', |
michael@0 | 40 | 'NotificationController.cpp', |
michael@0 | 41 | 'nsAccessibilityService.cpp', |
michael@0 | 42 | 'nsAccessiblePivot.cpp', |
michael@0 | 43 | 'nsAccUtils.cpp', |
michael@0 | 44 | 'nsCoreUtils.cpp', |
michael@0 | 45 | 'nsEventShell.cpp', |
michael@0 | 46 | 'nsTextEquivUtils.cpp', |
michael@0 | 47 | 'SelectionManager.cpp', |
michael@0 | 48 | 'StyleInfo.cpp', |
michael@0 | 49 | 'TextAttrs.cpp', |
michael@0 | 50 | 'TextRange.cpp', |
michael@0 | 51 | 'TextUpdater.cpp', |
michael@0 | 52 | 'TreeWalker.cpp', |
michael@0 | 53 | ] |
michael@0 | 54 | |
michael@0 | 55 | if CONFIG['A11Y_LOG']: |
michael@0 | 56 | UNIFIED_SOURCES += [ |
michael@0 | 57 | 'Logging.cpp', |
michael@0 | 58 | ] |
michael@0 | 59 | |
michael@0 | 60 | LOCAL_INCLUDES += [ |
michael@0 | 61 | '../generic', |
michael@0 | 62 | '../html', |
michael@0 | 63 | '../xpcom', |
michael@0 | 64 | '../xul', |
michael@0 | 65 | '/dom/xbl', |
michael@0 | 66 | '/ipc/chromium/src', |
michael@0 | 67 | '/layout/generic', |
michael@0 | 68 | '/layout/style', |
michael@0 | 69 | '/layout/svg', |
michael@0 | 70 | '/layout/xul', |
michael@0 | 71 | '/layout/xul/tree/', |
michael@0 | 72 | ] |
michael@0 | 73 | |
michael@0 | 74 | if CONFIG['MOZ_ENABLE_GTK']: |
michael@0 | 75 | LOCAL_INCLUDES += [ |
michael@0 | 76 | '../atk', |
michael@0 | 77 | ] |
michael@0 | 78 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |
michael@0 | 79 | LOCAL_INCLUDES += [ |
michael@0 | 80 | '../windows/ia2', |
michael@0 | 81 | '../windows/msaa', |
michael@0 | 82 | ] |
michael@0 | 83 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
michael@0 | 84 | LOCAL_INCLUDES += [ |
michael@0 | 85 | '../mac', |
michael@0 | 86 | ] |
michael@0 | 87 | else: |
michael@0 | 88 | LOCAL_INCLUDES += [ |
michael@0 | 89 | '../other', |
michael@0 | 90 | ] |
michael@0 | 91 | |
michael@0 | 92 | FINAL_LIBRARY = 'xul' |