toolkit/locales/Makefile.in

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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

mercurial