toolkit/crashreporter/client/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 # vim:set ts=8 sw=8 sts=8 noet:
     2 # This Source Code Form is subject to the terms of the Mozilla Public
     3 # License, v. 2.0. If a copy of the MPL was not distributed with this
     4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 ifneq ($(OS_TARGET),Android)
     7 DIST_PROGRAM = crashreporter$(BIN_SUFFIX)
     9 # Don't link the updater against libmozglue.
    10 MOZ_GLUE_LDFLAGS =
    11 MOZ_GLUE_PROGRAM_LDFLAGS =
    12 endif
    14 ifeq ($(OS_ARCH),WINNT)
    15 LIBS += \
    16   $(DEPTH)/toolkit/crashreporter/breakpad-windows-libxul/$(LIB_PREFIX)google_breakpad_libxul_s.$(LIB_SUFFIX)
    17   $(NULL)
    18 OS_LIBS += $(call EXPAND_LIBNAME,comctl32 shell32 wininet shlwapi)
    19 MOZ_WINCONSOLE = 0
    20 endif
    22 ifeq ($(OS_ARCH),Darwin)
    23 LIBS += \
    24   $(DEPTH)/toolkit/crashreporter/google-breakpad/src/common/$(LIB_PREFIX)breakpad_common_s.$(LIB_SUFFIX) \
    25   $(DEPTH)/toolkit/crashreporter/google-breakpad/src/common/mac/$(LIB_PREFIX)breakpad_mac_common_s.$(LIB_SUFFIX) \
    26   $(NULL)
    27 endif
    29 ifdef MOZ_WIDGET_GTK
    31 LIBS += \
    32   $(DEPTH)/toolkit/crashreporter/google-breakpad/src/common/linux/$(LIB_PREFIX)breakpad_linux_common_s.$(LIB_SUFFIX) \
    33   $(NULL)
    34 OS_CXXFLAGS += $(TK_CFLAGS) $(MOZ_GTHREAD_CFLAGS)
    35 OS_LIBS += $(TK_LIBS) $(MOZ_GTHREAD_LIBS)
    36 endif
    38 ifeq ($(OS_ARCH),SunOS)
    39 LIBS += \
    40   $(DEPTH)/toolkit/crashreporter/google-breakpad/src/common/solaris/$(LIB_PREFIX)breakpad_solaris_common_s.$(LIB_SUFFIX) \
    41   $(NULL)
    42 OS_CXXFLAGS += $(MOZ_GTK2_CFLAGS) $(MOZ_GTHREAD_CFLAGS)
    43 OS_LIBS += $(MOZ_GTK2_LIBS) $(MOZ_GTHREAD_LIBS)
    44 endif
    46 include $(topsrcdir)/config/rules.mk
    48 ifeq ($(OS_ARCH),Darwin)
    49 libs::
    50 	$(NSINSTALL) -D $(DIST)/bin/crashreporter.app
    51 	rsync -a -C --exclude '*.in' $(srcdir)/macbuild/Contents $(DIST)/bin/crashreporter.app 
    52 	sed -e 's/%APP_NAME%/$(MOZ_APP_DISPLAYNAME)/' $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | \
    53 	  iconv -f UTF-8 -t UTF-16 > $(DIST)/bin/crashreporter.app/Contents/Resources/English.lproj/InfoPlist.strings
    54 	$(NSINSTALL) -D $(DIST)/bin/crashreporter.app/Contents/MacOS
    55 	$(NSINSTALL) $(DIST)/bin/crashreporter $(DIST)/bin/crashreporter.app/Contents/MacOS
    56 	rm -f $(DIST)/bin/crashreporter
    57 endif
    59 ifeq (,$(filter-out Linux SunOS,$(OS_ARCH)))
    60 libs:: $(topsrcdir)/toolkit/themes/windows/global/throbber/Throbber-small.gif
    61 	$(INSTALL) $^ $(DIST)/bin
    62 endif

mercurial