NaCl libpcsc

Check-in [889f3554e9]
Login
Overview
SHA1:889f3554e9582467ca4e724276a4c1be69cba189
Date: 2016-04-14 19:26:02
User: rkeene
Comment:Updated to always return a logger
Timelines: family | ancestors | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-04-14
19:26
[889f3554e9] Leaf: Updated to always return a logger (user: rkeene, tags: trunk)
19:13
[a31210a9e4] Typo, extra close paren (user: rkeene, tags: trunk)
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Modified build/assemble-source-from-google.sh from [0ef73ed36e] to [787ba2e2c0].

    47     47   		## Do not log errors parsing messages -- not all of them are intended for you !
    48     48   		sed -i '
    49     49   			/if (!typedMessage)/,/}$/ d
    50     50   			/parseTypedMessage/ a \
    51     51   if (!typedMessage) { return; }
    52     52   		' common/js/src/nacl-module/nacl-module-messaging-channel.js
    53     53   
           54  +		## Returning a null logger breaks several things apparently
           55  +		sed -i '
           56  +			s@return null;@var logger = goog.debug.LogManager.getLogger(name); logger.setLevel(goog.debug.Logger.Level.INFO); return(logger);@
           57  +		' third_party/closure-library/src-20160208/closure/goog/log/log.js
           58  +
    54     59   		# Copy out JavaScript files for later use
    55     60   		rm -f "${instdir}/libpcsc.js"
    56     61   		files=(
    57     62   			third_party/closure-library/src-20160208/closure/goog/base.js
    58     63   			third_party/closure-library/src-20160208/closure/goog/math/integer.js
    59     64   			common/js/src/fixed-size-integer.js
    60     65   			third_party/closure-library/src-20160208/closure/goog/debug/error.js