toolkit/locales/Makefile.in

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     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