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 ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
6 ACDEFINES += -UWIN32_LEAN_AND_MEAN
7 endif
9 include $(topsrcdir)/config/rules.mk
11 DEFINES := $(filter-out -DUNICODE,$(DEFINES))
13 CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS)
14 CFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS)
16 ifeq ($(MOZ_WIDGET_TOOLKIT),android)
17 CXXFLAGS += $(CAIRO_FT_CFLAGS)
18 endif
20 ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
21 CXXFLAGS += $(CAIRO_FT_CFLAGS)
22 endif
24 ifdef MOZ_WIDGET_GTK
25 CXXFLAGS += $(MOZ_PANGO_CFLAGS)
26 endif
28 ifeq ($(MOZ_WIDGET_TOOLKIT),qt)
29 CXXFLAGS += $(CAIRO_FT_CFLAGS) $(MOZ_PANGO_CFLAGS)
30 endif
32 DeprecatedPremultiplyTables.h: $(srcdir)/genTables.py
33 $(PYTHON) $(srcdir)/genTables.py