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 GARBAGE += $(MIDL_GENERATED_FILES) done_gen dlldata.c
7 MIDL_GENERATED_FILES = \
8 ISimpleDOMNode.h \
9 ISimpleDOMNode_p.c \
10 ISimpleDOMNode_i.c \
11 ISimpleDOMDocument.h \
12 ISimpleDOMDocument_p.c \
13 ISimpleDOMDocument_i.c \
14 ISimpleDOMText.h \
15 ISimpleDOMText_p.c \
16 ISimpleDOMText_i.c \
17 $(NULL)
19 OS_LIBS = $(call EXPAND_LIBNAME,kernel32 rpcns4 rpcrt4 oleaut32)
21 $(MIDL_GENERATED_FILES): done_gen
23 done_gen: ISimpleDOMNode.idl \
24 ISimpleDOMDocument.idl \
25 ISimpleDOMText.idl
27 $(MIDL) $(MIDL_FLAGS) -I $(srcdir) -Oicf $(srcdir)/ISimpleDOMNode.idl
28 $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMDocument.idl
29 $(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMText.idl
30 touch $@
32 export:: done_gen
34 # This marshall dll is also registered in the installer
35 register::
36 regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY)
38 EMBED_MANIFEST_AT = 2
40 midl_exports := \
41 ISimpleDOMDocument.h \
42 ISimpleDOMDocument_i.c \
43 ISimpleDOMNode.h \
44 ISimpleDOMNode_i.c \
45 ISimpleDOMText.h \
46 ISimpleDOMText_i.c \
47 $(NULL)
49 INSTALL_TARGETS += midl_exports
50 midl_exports_FILES := $(midl_exports)
51 midl_exports_DEST = $(DIST)/include
52 midl_exports_TARGET := export