other-licenses/nsis/Contrib/ExDLL/SConscript

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 # FIXME: install assembly and pascal includes into the correct locations
     3 c_devel = Split("""
     4 	exdll.h
     5 """)
     7 example = Split("""
     8 	exdll.c
     9 	exdll.dpr
    10 	exdll.dsp
    11 	exdll.dsw
    12 	exdll_with_unit.dpr
    13 	nsis.pas
    14 	extdll.inc
    15 """)
    17 Import('defenv')
    19 if defenv['PLATFORM'] == 'win32':
    20 	example += c_devel
    21 else:
    22 	defenv.DistributeIncC(c_devel)
    24 defenv.DistributeExamples(example, path='Plugin')

mercurial