build/pymake/tests/multiple-rules-prerequisite-merge.mk

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 # When a target is defined multiple times, the prerequisites should get
     2 # merged.
     4 default: foo bar baz
     6 foo:
     7 	test "$<" = "foo.in1"
     8 	@echo TEST-PASS
    10 foo: foo.in1
    12 bar: bar.in1
    13 	test "$<" = "bar.in1"
    14 	test "$^" = "bar.in1 bar.in2"
    15 	@echo TEST-PASS
    17 bar: bar.in2
    19 baz: baz.in2
    20 baz: baz.in1
    21 	test "$<" = "baz.in1"
    22 	test "$^" = "baz.in1 baz.in2"
    23 	@echo TEST-PASS
    25 foo.in1 bar.in1 bar.in2 baz.in1 baz.in2:

mercurial