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 | DEFINES += -DAB_CD=$(AB_CD) |
michael@0 | 6 | |
michael@0 | 7 | XULPPFLAGS += -I$(LOCALE_SRCDIR)/defines.inc |
michael@0 | 8 | |
michael@0 | 9 | include $(topsrcdir)/config/rules.mk |
michael@0 | 10 | |
michael@0 | 11 | ifdef LOCALE_MERGEDIR |
michael@0 | 12 | vpath crashreporter.% $(LOCALE_MERGEDIR)/toolkit/crashreporter |
michael@0 | 13 | endif |
michael@0 | 14 | vpath crashreporter.% $(LOCALE_SRCDIR)/crashreporter |
michael@0 | 15 | ifdef LOCALE_MERGEDIR |
michael@0 | 16 | vpath crashreporter.% @srcdir@/en-US/crashreporter |
michael@0 | 17 | endif |
michael@0 | 18 | |
michael@0 | 19 | libs-%: |
michael@0 | 20 | @$(MAKE) -C ../../netwerk/locales/ libs AB_CD=$* XPI_NAME=locale-$* |
michael@0 | 21 | @$(MAKE) -C ../../dom/locales/ libs AB_CD=$* XPI_NAME=locale-$* |
michael@0 | 22 | @$(MAKE) -C ../../security/manager/locales/ libs AB_CD=$* XPI_NAME=locale-$* |
michael@0 | 23 | @$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* |
michael@0 | 24 | |
michael@0 | 25 | # target to be used by multi-locale l10n builds, just add this locale |
michael@0 | 26 | # like regular chrome code |
michael@0 | 27 | chrome-%: |
michael@0 | 28 | @$(MAKE) -C $(DEPTH)/netwerk/locales/ chrome AB_CD=$* |
michael@0 | 29 | @$(MAKE) -C $(DEPTH)/dom/locales/ chrome AB_CD=$* |
michael@0 | 30 | @$(MAKE) -C $(DEPTH)/security/manager/locales/ chrome AB_CD=$* |
michael@0 | 31 | @$(MAKE) chrome AB_CD=$* |
michael@0 | 32 | |
michael@0 | 33 | ifdef MOZ_UPDATER |
michael@0 | 34 | libs:: update.locale |
michael@0 | 35 | sed -e 's/%AB_CD%/$(AB_CD)/' $< > $(FINAL_TARGET)/update.locale |
michael@0 | 36 | endif |
michael@0 | 37 | |
michael@0 | 38 | ifdef MOZ_CRASHREPORTER |
michael@0 | 39 | libs:: crashreporter.ini |
michael@0 | 40 | ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) |
michael@0 | 41 | $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/MacOS |
michael@0 | 42 | else |
michael@0 | 43 | $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET) |
michael@0 | 44 | endif |
michael@0 | 45 | endif |