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 file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
5 ifdef MOZ_CONTENT_SANDBOX
6 ifeq ($(OS_ARCH),WINNT)
7 SHARED_LIBRARY_LIBS += ../../security/sandbox/win/src/sandboxbroker/$(LIB_PREFIX)sandboxbroker.$(LIB_SUFFIX)
8 endif
9 endif
11 # COMPONENT_LIBS is mosly useless since bug 935881, but is kept for
12 # MOZ_APP_COMPONENT_LIBS, used by comm-central, and gtest linking.
13 SHARED_LIBRARY_LIBS += \
14 $(foreach component,$(COMPONENT_LIBS),$(DEPTH)/staticlib/$(LIB_PREFIX)$(component).$(LIB_SUFFIX)) \
15 $(NULL)
17 ifdef MOZ_APP_COMPONENT_LIBS
18 COMPONENT_LIBS += $(MOZ_APP_COMPONENT_LIBS)
19 endif
21 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
22 CXXFLAGS += $(TK_CFLAGS)
23 endif
25 include $(topsrcdir)/config/rules.mk
27 .PHONY: gtestxul
28 gtestxul:
29 $(MAKE) -C gtest libs LINK_GTEST=1