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 | 'nsContentDLF.h', |
michael@0 | 9 | 'nsLayoutCID.h', |
michael@0 | 10 | 'nsLayoutStatics.h', |
michael@0 | 11 | ] |
michael@0 | 12 | |
michael@0 | 13 | UNIFIED_SOURCES += [ |
michael@0 | 14 | 'nsContentDLF.cpp', |
michael@0 | 15 | 'nsLayoutModule.cpp', |
michael@0 | 16 | 'nsLayoutStatics.cpp', |
michael@0 | 17 | ] |
michael@0 | 18 | |
michael@0 | 19 | if CONFIG['MOZ_NFC']: |
michael@0 | 20 | LOCAL_INCLUDES += [ |
michael@0 | 21 | '/dom/nfc' |
michael@0 | 22 | ] |
michael@0 | 23 | |
michael@0 | 24 | FAIL_ON_WARNINGS = True |
michael@0 | 25 | |
michael@0 | 26 | MSVC_ENABLE_PGO = True |
michael@0 | 27 | |
michael@0 | 28 | LIBRARY_NAME = 'gklayout' |
michael@0 | 29 | |
michael@0 | 30 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 31 | |
michael@0 | 32 | LOCAL_INCLUDES += [ |
michael@0 | 33 | '../base', |
michael@0 | 34 | '../forms', |
michael@0 | 35 | '../generic', |
michael@0 | 36 | '../inspector', |
michael@0 | 37 | '../mathml', |
michael@0 | 38 | '../style', |
michael@0 | 39 | '../tables', |
michael@0 | 40 | '../xul', |
michael@0 | 41 | '/caps/include', |
michael@0 | 42 | '/content/base/src', |
michael@0 | 43 | '/content/canvas/src', |
michael@0 | 44 | '/content/html/content/src', |
michael@0 | 45 | '/content/html/document/src', |
michael@0 | 46 | '/content/svg/content/src', |
michael@0 | 47 | '/content/xul/content/src', |
michael@0 | 48 | '/content/xul/document/src', |
michael@0 | 49 | '/content/xul/templates/src', |
michael@0 | 50 | '/docshell/base', |
michael@0 | 51 | '/dom/audiochannel', |
michael@0 | 52 | '/dom/base', |
michael@0 | 53 | '/dom/camera', |
michael@0 | 54 | '/dom/file', |
michael@0 | 55 | '/dom/filesystem', |
michael@0 | 56 | '/dom/media', |
michael@0 | 57 | '/dom/speakermanager', |
michael@0 | 58 | '/dom/src/geolocation', |
michael@0 | 59 | '/dom/src/json', |
michael@0 | 60 | '/dom/src/jsurl', |
michael@0 | 61 | '/dom/src/offline', |
michael@0 | 62 | '/dom/src/storage', |
michael@0 | 63 | '/dom/telephony', |
michael@0 | 64 | '/dom/xbl', |
michael@0 | 65 | '/dom/xslt/base', |
michael@0 | 66 | '/dom/xslt/xml', |
michael@0 | 67 | '/dom/xslt/xpath', |
michael@0 | 68 | '/dom/xslt/xslt', |
michael@0 | 69 | '/editor/composer/src', |
michael@0 | 70 | '/editor/libeditor/base', |
michael@0 | 71 | '/editor/libeditor/html', |
michael@0 | 72 | '/editor/libeditor/text', |
michael@0 | 73 | '/editor/txmgr/src', |
michael@0 | 74 | '/editor/txtsvc/src', |
michael@0 | 75 | '/extensions/cookie', |
michael@0 | 76 | '/js/xpconnect/loader', |
michael@0 | 77 | '/js/xpconnect/src', |
michael@0 | 78 | '/netwerk/base/src', |
michael@0 | 79 | '/netwerk/cookie', |
michael@0 | 80 | '/view/src', |
michael@0 | 81 | ] |
michael@0 | 82 | |
michael@0 | 83 | if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3'): |
michael@0 | 84 | LOCAL_INCLUDES += [ |
michael@0 | 85 | '/dom/system/unix', |
michael@0 | 86 | ] |
michael@0 | 87 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': |
michael@0 | 88 | LOCAL_INCLUDES += [ |
michael@0 | 89 | '/dom/system/windows', |
michael@0 | 90 | ] |
michael@0 | 91 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': |
michael@0 | 92 | LOCAL_INCLUDES += [ |
michael@0 | 93 | '/dom/system/mac', |
michael@0 | 94 | ] |
michael@0 | 95 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': |
michael@0 | 96 | LOCAL_INCLUDES += [ |
michael@0 | 97 | '/dom/system', |
michael@0 | 98 | '/dom/system/android', |
michael@0 | 99 | ] |
michael@0 | 100 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': |
michael@0 | 101 | LOCAL_INCLUDES += [ |
michael@0 | 102 | '/dom/system/gonk', |
michael@0 | 103 | ] |
michael@0 | 104 | CXXFLAGS += [ |
michael@0 | 105 | '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [ |
michael@0 | 106 | 'dalvik/libnativehelper/include/nativehelper', |
michael@0 | 107 | 'frameworks/base/include', |
michael@0 | 108 | 'frameworks/base/include/binder', |
michael@0 | 109 | 'frameworks/base/include/utils', |
michael@0 | 110 | 'frameworks/base/include/media', |
michael@0 | 111 | 'frameworks/base/include/media/stagefright/openmax', |
michael@0 | 112 | 'frameworks/base/media/libstagefright/include', |
michael@0 | 113 | ] |
michael@0 | 114 | ] |
michael@0 | 115 | |
michael@0 | 116 | if CONFIG['MOZ_B2G_FM']: |
michael@0 | 117 | LOCAL_INCLUDES += [ |
michael@0 | 118 | '/dom/fmradio', |
michael@0 | 119 | ] |
michael@0 | 120 | |
michael@0 | 121 | if CONFIG['MOZ_B2G_BT']: |
michael@0 | 122 | LOCAL_INCLUDES += [ |
michael@0 | 123 | '/dom/bluetooth', |
michael@0 | 124 | ] |
michael@0 | 125 | |
michael@0 | 126 | if CONFIG['MOZ_WEBSPEECH']: |
michael@0 | 127 | LOCAL_INCLUDES += [ |
michael@0 | 128 | '/content/media/webspeech/synth', |
michael@0 | 129 | ] |
michael@0 | 130 | |
michael@0 | 131 | if CONFIG['MOZ_FFMPEG']: |
michael@0 | 132 | LOCAL_INCLUDES += [ |
michael@0 | 133 | '/content/media/fmp4/ffmpeg/include', |
michael@0 | 134 | ] |
michael@0 | 135 | |
michael@0 | 136 | FINAL_LIBRARY = 'xul' |