js/src/shell/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 # -*- Mode: makefile -*-
     2 #
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 LIBS      = $(NSPR_LIBS) $(EDITLINE_LIBS) ../$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(MOZ_ZLIB_LIBS)
     8 ifdef MOZ_NATIVE_FFI
     9 EXTRA_LIBS += $(MOZ_FFI_LIBS)
    10 endif
    11 ifdef MOZ_SHARED_ICU
    12 EXTRA_LIBS += $(MOZ_ICU_LIBS)
    13 endif
    15 ifeq ($(OS_ARCH),Darwin)
    16 ifeq ($(TARGET_CPU),x86_64)
    17 DARWIN_EXE_LDFLAGS += -pagezero_size 10000 -image_base 100000000
    18 endif
    19 endif
    21 ifdef QEMU_EXE
    22 MOZ_POST_PROGRAM_COMMAND = $(topsrcdir)/build/qemu-wrap --qemu $(QEMU_EXE) --libdir $(CROSS_LIB)
    23 endif
    25 # Place a GDB Python auto-load file next to the shell executable, both in
    26 # the build directory and in the dist/bin directory.
    27 PP_TARGETS += SHELL_AUTOLOAD
    28 SHELL_AUTOLOAD := js-gdb.py.in
    29 SHELL_AUTOLOAD_FLAGS := -Dtopsrcdir=$(abspath $(srcdir)/..)
    31 INSTALL_TARGETS += SHELL_INSTALL_AUTOLOAD
    32 SHELL_INSTALL_AUTOLOAD_FILES := $(CURDIR)/js-gdb.py
    33 SHELL_INSTALL_AUTOLOAD_DEST := $(DIST)/bin
    35 INSTALL_TARGETS += SHELL_INSTALL_AUTOLOAD_SCRIPT
    36 SHELL_INSTALL_AUTOLOAD_SCRIPT_FILES := js-gdb.gdb
    37 SHELL_INSTALL_AUTOLOAD_SCRIPT_DEST := $(CURDIR)
    39 include $(topsrcdir)/config/rules.mk
    41 # People expect the js shell to wind up in the top-level JS dir.
    42 libs::
    43 	$(INSTALL) $(IFLAGS2) $(PROGRAM) ..
    45 GARBAGE += ../$(PROGRAM)
    47 install:: $(PROGRAM)
    48 	$(SYSINSTALL) $^ $(DESTDIR)$(bindir)

mercurial