NaCl libpcsc

Check-in [889f3554e9]
Login

Check-in [889f3554e9]

Overview
Comment:Updated to always return a logger
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 889f3554e9582467ca4e724276a4c1be69cba189
User & Date: rkeene on 2016-04-14 19:26:02
Other Links: manifest | tags
Context
2019-01-30
17:18
Apply patch from Google Leaf check-in: e1fc5a5e98 user: rkeene tags: trunk
2016-04-14
19:26
Updated to always return a logger check-in: 889f3554e9 user: rkeene tags: trunk
19:13
Typo, extra close paren check-in: a31210a9e4 user: rkeene tags: trunk
Changes

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
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