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.
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 # We shouldn't sign the first pass of a PGO build
6 ifndef MOZ_PROFILE_GENERATE
8 # Signing support
9 ifdef MOZ_SIGN_CMD
10 ifeq (WINNT,$(OS_ARCH))
11 MOZ_INTERNAL_SIGNING_FORMAT := signcode
12 MOZ_EXTERNAL_SIGNING_FORMAT := signcode
13 SIGN_INCLUDES := \
14 '*.dll' \
15 '*.exe' \
16 $(NULL)
18 SIGN_EXCLUDES := \
19 'D3DCompiler*.dll' \
20 'msvc*.dll' \
21 $(NULL)
22 endif # Windows
24 ifeq (Darwin, $(OS_ARCH))
25 MOZ_INTERNAL_SIGNING_FORMAT := dmg
26 MOZ_EXTERNAL_SIGNING_FORMAT :=
27 endif # Darwin
29 ifeq (linux-gnu,$(TARGET_OS))
30 MOZ_EXTERNAL_SIGNING_FORMAT :=
31 endif # Linux
33 ifdef MOZ_ASAN
34 MOZ_INTERNAL_SIGNING_FORMAT :=
35 MOZ_EXTERNAL_SIGNING_FORMAT :=
36 endif
38 endif # MOZ_SIGN_CMD
40 endif # MOZ_PROFILE_GENERATE