Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
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 file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/. */
5 LIBS = \
6 $(XPCOM_LIBS) \
7 $(NSPR_LIBS) \
8 $(NSS_LIBS) \
9 $(REALTIME_LIBS) \
10 $(DEPTH)/xpcom/glue/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
11 $(DEPTH)/media/mtransport/standalone/$(LIB_PREFIX)mtransport_s.$(LIB_SUFFIX) \
12 $(DEPTH)/media/webrtc/signalingtest/signaling_ecc/$(LIB_PREFIX)ecc.$(LIB_SUFFIX) \
13 $(DEPTH)/media/webrtc/signalingtest/signaling_sipcc/$(LIB_PREFIX)sipcc.$(LIB_SUFFIX) \
14 $(DEPTH)/layout/media/webrtc/$(LIB_PREFIX)webrtc.$(LIB_SUFFIX) \
15 $(DEPTH)/layout/media/$(LIB_PREFIX)gkmedias.$(LIB_SUFFIX) \
16 $(DEPTH)/media/webrtc/trunk/testing/gtest_gtest/$(LIB_PREFIX)gtest.$(LIB_SUFFIX) \
17 $(DEPTH)/media/libyuv/libyuv_libyuv/$(LIB_PREFIX)yuv.$(LIB_SUFFIX) \
18 $(DEPTH)/netwerk/srtp/src/$(LIB_PREFIX)nksrtp_s.$(LIB_SUFFIX) \
19 $(NULL)
21 ifdef BUILD_ARM_NEON
22 LIBS += $(DEPTH)/media/libyuv/libyuv_libyuv_neon/$(LIB_PREFIX)yuv_neon.$(LIB_SUFFIX)
23 endif
25 ifdef JS_SHARED_LIBRARY
26 LIBS += $(MOZ_JS_LIBS)
27 endif
29 ifdef MOZ_ALSA
30 LIBS += \
31 $(MOZ_ALSA_LIBS) \
32 $(NULL)
33 endif
35 ifeq ($(OS_TARGET),Android)
36 LIBS += \
37 $(STLPORT_LDFLAGS) \
38 $(STLPORT_LIBS) \
39 $(NULL)
40 CPPFLAGS += \
41 $(STLPORT_CPPFLAGS) \
42 $(NULL)
43 endif
45 ifdef MOZ_NATIVE_JPEG
46 LIBS += \
47 $(MOZ_JPEG_LIBS) \
48 $(NULL)
49 endif
51 ifdef MOZ_NATIVE_LIBVPX
52 LIBS += \
53 $(MOZ_LIBVPX_LIBS) \
54 $(NULL)
55 endif
57 ifndef MOZ_TREE_PIXMAN
58 LIBS += \
59 $(MOZ_PIXMAN_LIBS) \
60 $(NULL)
61 endif
63 ifeq (gtk2,$(MOZ_WIDGET_TOOLKIT))
64 LIBS += \
65 $(XLIBS) \
66 $(MOZ_GTK2_LIBS) \
67 -lgthread-2.0 \
68 $(NULL)
69 endif
71 ifeq (gtk3,$(MOZ_WIDGET_TOOLKIT))
72 LIBS += \
73 $(MOZ_GTK3_LIBS) \
74 $(FT2_LIBS) \
75 $(NULL)
76 endif
78 ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
79 LIBS += \
80 $(XLIBS) \
81 $(TK_LIBS) \
82 $(MOZ_PANGO_LIBS) \
83 $(NULL)
84 endif
86 ifneq (,$(filter Linux DragonFly FreeBSD NetBSD OpenBSD,$(OS_TARGET)))
87 LIBS += \
88 $(MOZ_CAIRO_OSLIBS) \
89 $(NULL)
90 endif
92 ifeq ($(OS_TARGET),Darwin)
93 LIBS += \
94 $(TK_LIBS) \
95 $(NULL)
96 endif
98 ifeq ($(OS_TARGET),WINNT)
99 LIBS += \
100 $(DEPTH)/staticlib/components/$(LIB_PREFIX)windowsproxy.$(LIB_SUFFIX) \
101 $(NULL)
102 endif
104 ifndef ZLIB_IN_MOZGLUE
105 LIBS += $(MOZ_ZLIB_LIBS)
106 endif
108 include $(topsrcdir)/config/config.mk
109 include $(topsrcdir)/media/webrtc/webrtc-config.mk
110 include $(topsrcdir)/config/rules.mk