Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
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