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.
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | modules := \ |
michael@0 | 6 | healthreporter.jsm \ |
michael@0 | 7 | profile.jsm \ |
michael@0 | 8 | providers.jsm \ |
michael@0 | 9 | $(NULL) |
michael@0 | 10 | |
michael@0 | 11 | testing_modules := \ |
michael@0 | 12 | utils.jsm \ |
michael@0 | 13 | $(NULL) |
michael@0 | 14 | |
michael@0 | 15 | healthreport_depends = \ |
michael@0 | 16 | HealthReport.jsm \ |
michael@0 | 17 | ../common/async.js \ |
michael@0 | 18 | ../common/bagheeraclient.js \ |
michael@0 | 19 | ../metrics/Metrics.jsm \ |
michael@0 | 20 | ../metrics/providermanager.jsm \ |
michael@0 | 21 | ../metrics/dataprovider.jsm \ |
michael@0 | 22 | ../metrics/storage.jsm \ |
michael@0 | 23 | healthreporter.jsm \ |
michael@0 | 24 | profile.jsm \ |
michael@0 | 25 | providers.jsm \ |
michael@0 | 26 | $(NULL) |
michael@0 | 27 | |
michael@0 | 28 | |
michael@0 | 29 | MAIN_JS_MODULE := HealthReport.jsm |
michael@0 | 30 | MAIN_JS_MODULE_PATH = $(FINAL_TARGET)/modules |
michael@0 | 31 | MAIN_JS_MODULE_FLAGS := $(extra_pp_flags) |
michael@0 | 32 | PP_TARGETS += MAIN_JS_MODULE |
michael@0 | 33 | |
michael@0 | 34 | MODULES := $(modules) |
michael@0 | 35 | MODULES_PATH = $(FINAL_TARGET)/modules/services/healthreport |
michael@0 | 36 | MODULES_FLAGS := $(extra_pp_flags) |
michael@0 | 37 | PP_TARGETS += MODULES |
michael@0 | 38 | |
michael@0 | 39 | TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules)) |
michael@0 | 40 | TESTING_JS_MODULE_DIR := services/healthreport |
michael@0 | 41 | |
michael@0 | 42 | include $(topsrcdir)/config/rules.mk |
michael@0 | 43 | |
michael@0 | 44 | # Add extra prerequisites until bug 837792 is addressed. |
michael@0 | 45 | $(FINAL_TARGET)/modules/HealthReport.jsm: $(healthreport_depends) |