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 | TEST_DIRS += ['test'] |
michael@0 | 8 | |
michael@0 | 9 | EXPORTS += [ |
michael@0 | 10 | 'nsIComboboxControlFrame.h', |
michael@0 | 11 | 'nsIFormControlFrame.h', |
michael@0 | 12 | 'nsIListControlFrame.h', |
michael@0 | 13 | 'nsISelectControlFrame.h', |
michael@0 | 14 | 'nsITextControlFrame.h', |
michael@0 | 15 | ] |
michael@0 | 16 | |
michael@0 | 17 | UNIFIED_SOURCES += [ |
michael@0 | 18 | 'nsButtonFrameRenderer.cpp', |
michael@0 | 19 | 'nsColorControlFrame.cpp', |
michael@0 | 20 | 'nsComboboxControlFrame.cpp', |
michael@0 | 21 | 'nsFieldSetFrame.cpp', |
michael@0 | 22 | 'nsFileControlFrame.cpp', |
michael@0 | 23 | 'nsFormControlFrame.cpp', |
michael@0 | 24 | 'nsGfxButtonControlFrame.cpp', |
michael@0 | 25 | 'nsGfxCheckboxControlFrame.cpp', |
michael@0 | 26 | 'nsGfxRadioControlFrame.cpp', |
michael@0 | 27 | 'nsHTMLButtonControlFrame.cpp', |
michael@0 | 28 | 'nsImageControlFrame.cpp', |
michael@0 | 29 | 'nsLegendFrame.cpp', |
michael@0 | 30 | 'nsListControlFrame.cpp', |
michael@0 | 31 | 'nsMeterFrame.cpp', |
michael@0 | 32 | 'nsNumberControlFrame.cpp', |
michael@0 | 33 | 'nsProgressFrame.cpp', |
michael@0 | 34 | 'nsRangeFrame.cpp', |
michael@0 | 35 | 'nsSelectsAreaFrame.cpp', |
michael@0 | 36 | 'nsTextControlFrame.cpp', |
michael@0 | 37 | ] |
michael@0 | 38 | |
michael@0 | 39 | FAIL_ON_WARNINGS = True |
michael@0 | 40 | |
michael@0 | 41 | MSVC_ENABLE_PGO = True |
michael@0 | 42 | |
michael@0 | 43 | FINAL_LIBRARY = 'gklayout' |
michael@0 | 44 | |
michael@0 | 45 | LOCAL_INCLUDES += [ |
michael@0 | 46 | '../../content/base/src', |
michael@0 | 47 | '../../content/html/content/src', |
michael@0 | 48 | '../../editor/libeditor/base', |
michael@0 | 49 | '../../editor/libeditor/text', |
michael@0 | 50 | '../../editor/txmgr/src', |
michael@0 | 51 | '../base', |
michael@0 | 52 | '../generic', |
michael@0 | 53 | '../xul', |
michael@0 | 54 | ] |
michael@0 | 55 | |
michael@0 | 56 | if CONFIG['ENABLE_INTL_API']: |
michael@0 | 57 | # nsNumberControlFrame.cpp requires ICUUtils.h which in turn requires |
michael@0 | 58 | # i18n/unum.h |
michael@0 | 59 | LOCAL_INCLUDES += [ |
michael@0 | 60 | '../../intl/icu/source/common', |
michael@0 | 61 | '../../intl/icu/source/i18n', |
michael@0 | 62 | ] |
michael@0 | 63 |