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 | # vim: set filetype=python: |
michael@0 | 2 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 5 | |
michael@0 | 6 | if CONFIG['MOZ_WEBSPEECH']: |
michael@0 | 7 | |
michael@0 | 8 | TEST_DIRS += ['test', 'ipc/test'] |
michael@0 | 9 | |
michael@0 | 10 | XPIDL_MODULE = 'dom_webspeechsynth' |
michael@0 | 11 | |
michael@0 | 12 | XPIDL_SOURCES += [ |
michael@0 | 13 | 'nsIDOMSpeechSynthesisEvent.idl', |
michael@0 | 14 | 'nsISpeechService.idl', |
michael@0 | 15 | 'nsISynthVoiceRegistry.idl' |
michael@0 | 16 | ] |
michael@0 | 17 | |
michael@0 | 18 | EXPORTS.mozilla.dom += [ |
michael@0 | 19 | 'ipc/SpeechSynthesisChild.h', |
michael@0 | 20 | 'ipc/SpeechSynthesisParent.h', |
michael@0 | 21 | 'nsSpeechTask.h', |
michael@0 | 22 | 'nsSynthVoiceRegistry.h', |
michael@0 | 23 | 'SpeechSynthesis.h', |
michael@0 | 24 | 'SpeechSynthesisUtterance.h', |
michael@0 | 25 | 'SpeechSynthesisVoice.h', |
michael@0 | 26 | ] |
michael@0 | 27 | |
michael@0 | 28 | UNIFIED_SOURCES += [ |
michael@0 | 29 | 'ipc/SpeechSynthesisChild.cpp', |
michael@0 | 30 | 'ipc/SpeechSynthesisParent.cpp', |
michael@0 | 31 | 'nsSpeechTask.cpp', |
michael@0 | 32 | 'nsSynthVoiceRegistry.cpp', |
michael@0 | 33 | 'SpeechSynthesis.cpp', |
michael@0 | 34 | 'SpeechSynthesisUtterance.cpp', |
michael@0 | 35 | 'SpeechSynthesisVoice.cpp', |
michael@0 | 36 | ] |
michael@0 | 37 | |
michael@0 | 38 | if CONFIG['MOZ_SYNTH_PICO']: |
michael@0 | 39 | PARALLEL_DIRS = ['pico'] |
michael@0 | 40 | |
michael@0 | 41 | IPDL_SOURCES += [ |
michael@0 | 42 | 'ipc/PSpeechSynthesis.ipdl', |
michael@0 | 43 | 'ipc/PSpeechSynthesisRequest.ipdl', |
michael@0 | 44 | ] |
michael@0 | 45 | |
michael@0 | 46 | FAIL_ON_WARNINGS = True |
michael@0 | 47 | |
michael@0 | 48 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 49 | |
michael@0 | 50 | FINAL_LIBRARY = 'gklayout' |
michael@0 | 51 | LOCAL_INCLUDES += [ |
michael@0 | 52 | 'ipc', |
michael@0 | 53 | ] |