xpcom/idl-parser/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 #
     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 PARSER_SRCS = \
     7   header.py \
     8   typelib.py \
     9   xpidl.py \
    10   $(NULL)
    12 SDK_BINARY = \
    13   $(PARSER_SRCS) \
    14   $(IDL_PARSER_CACHE_DIR)/xpidllex.py \
    15   $(IDL_PARSER_CACHE_DIR)/xpidlyacc.py \
    16   $(NULL)
    18 SDK_BINARY_TARGET = xpidl-parser
    20 PLY_FILES = \
    21   $(topsrcdir)/other-licenses/ply/ply/__init__.py \
    22   $(topsrcdir)/other-licenses/ply/ply/lex.py \
    23   $(topsrcdir)/other-licenses/ply/ply/yacc.py \
    24   $(NULL)
    26 PLY_DEST = $(SDK_BIN_DIR)/ply
    27 INSTALL_TARGETS += PLY
    28 PLY_TARGET = xpidl-parser
    30 include $(topsrcdir)/config/rules.mk
    32 # Generate the PLY lexer and parser.
    33 $(IDL_PARSER_CACHE_DIR)/xpidllex.py: $(PARSER_SRCS) $(PLY_FILES)
    34 	$(PYTHON_PATH) \
    35 	  $(PLY_INCLUDE) \
    36 	  $(srcdir)/header.py --cachedir=$(IDL_PARSER_CACHE_DIR) --regen
    38 # generating xpidllex.py generates xpidlyacc.py too
    39 $(IDL_PARSER_CACHE_DIR)/xpidlyacc.py: $(IDL_PARSER_CACHE_DIR)/xpidllex.py
    41 check::
    42 	$(PYTHON_PATH) \
    43 	  $(PLY_INCLUDE) \
    44 	  -I. \
    45 	  $(srcdir)/runtests.py
    47 garbage_files := \
    48   xpidllex.py \
    49   xpidllex.pyc \
    50   xpidlyacc.py \
    51   xpidlyacc.pyc \
    52   xpidl_debug \
    53   $(NULL)
    55 GARBAGE += $(addprefix $(IDL_PARSER_CACHE_DIR)/,$(garbage_files))

mercurial