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 testing_modules := \
6 mocks.jsm \
7 $(NULL)
9 # We install Metrics.jsm into the "main" JSM repository and the rest in
10 # services. External consumers should only go through Metrics.jsm.
11 MAIN_JS_MODULE := Metrics.jsm
12 MAIN_JS_MODULE_PATH = $(FINAL_TARGET)/modules
13 PP_TARGETS += MAIN_JS_MODULE
15 TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules))
16 TESTING_JS_MODULE_DIR := services/metrics
18 include $(topsrcdir)/config/rules.mk
20 # Add extra prerequisites until bug 837792 is addressed.
21 $(FINAL_TARGET)/modules/Metrics.jsm: Metrics.jsm providermanager.jsm dataprovider.jsm storage.jsm