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 Unified Diffs Ignore Whitespace Patch

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

47
48
49
50
51
52
53





54
55
56
57
58
59
60
		## Do not log errors parsing messages -- not all of them are intended for you !
		sed -i '
			/if (!typedMessage)/,/}$/ d
			/parseTypedMessage/ a \
if (!typedMessage) { return; }
		' common/js/src/nacl-module/nacl-module-messaging-channel.js






		# Copy out JavaScript files for later use
		rm -f "${instdir}/libpcsc.js"
		files=(
			third_party/closure-library/src-20160208/closure/goog/base.js
			third_party/closure-library/src-20160208/closure/goog/math/integer.js
			common/js/src/fixed-size-integer.js
			third_party/closure-library/src-20160208/closure/goog/debug/error.js







>
>
>
>
>







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
		## Do not log errors parsing messages -- not all of them are intended for you !
		sed -i '
			/if (!typedMessage)/,/}$/ d
			/parseTypedMessage/ a \
if (!typedMessage) { return; }
		' common/js/src/nacl-module/nacl-module-messaging-channel.js

		## Returning a null logger breaks several things apparently
		sed -i '
			s@return null;@var logger = goog.debug.LogManager.getLogger(name); logger.setLevel(goog.debug.Logger.Level.INFO); return(logger);@
		' third_party/closure-library/src-20160208/closure/goog/log/log.js

		# Copy out JavaScript files for later use
		rm -f "${instdir}/libpcsc.js"
		files=(
			third_party/closure-library/src-20160208/closure/goog/base.js
			third_party/closure-library/src-20160208/closure/goog/math/integer.js
			common/js/src/fixed-size-integer.js
			third_party/closure-library/src-20160208/closure/goog/debug/error.js