NaCl libpcsc

Check-in [b60bdc45b5]
Login
Overview
SHA1:b60bdc45b516d298e2100c425a7bf61c66aca864
Date: 2016-04-14 18:10:48
User: rkeene
Comment:Added a small patch to the NaCl backend to allow it to initialize from an element directly
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-04-14
18:12
[a72d1992e9] Corrected typos (user: rkeene, tags: trunk)
18:10
[b60bdc45b5] Added a small patch to the NaCl backend to allow it to initialize from an element directly (user: rkeene, tags: trunk)
18:10
[f015f70ac8] Updated clean targets to require boost, which is required to assemble the Makefile.deps file, which must be present (user: rkeene, tags: trunk)
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Modified build/assemble-source-from-google.sh from [bea0137abe] to [a42241ccf7].

    32     32   	(
    33     33   		cd "${workdir}" || exit 1
    34     34   
    35     35   		# Copy out PC/SC headers for later use
    36     36   		mkdir -p "${instdir}/include/PCSC" || exit 1
    37     37   		cp third_party/pcsc-lite/src-*/src/PCSC/*.h "${instdir}/include/PCSC" || exit 1
    38     38   
           39  +		# Update one of the JavaScript files to provide a better interface
           40  +		sed '
           41  +			s@naclModuleMessageChannel.*opt_serverAppId@&, opt_naclElement@
           42  +			/opt_naclElement/ a \
           43  +if (naclModuleMessageChannel == null && opt_naclElement != null) { naclModuleMessageChannel = new GoogleSmartCard.NaclModuleMessageChannel(opt_naclElement, GoogleSmartCard.Logging.getScopedLogger("NaclModule<>")); }
           44  +		' third_party/pcsc-lite/naclport/cpp_client/src/nacl-client-backend.js
           45  +
    39     46   		# Copy out JavaScript files for later use
    40     47   		rm -f "${instdir}/libpcsc.js"
    41     48   		files=(
    42     49   			third_party/closure-library/src-20160208/closure/goog/base.js
    43     50   			third_party/closure-library/src-20160208/closure/goog/math/integer.js
    44     51   			common/js/src/fixed-size-integer.js
    45     52   			third_party/closure-library/src-20160208/closure/goog/debug/error.js