NaCl libpcsc

Check-in [b60bdc45b5]
Login

Check-in [b60bdc45b5]

Overview
Comment:Added a small patch to the NaCl backend to allow it to initialize from an element directly
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b60bdc45b516d298e2100c425a7bf61c66aca864
User & Date: rkeene on 2016-04-14 18:10:48
Other Links: manifest | tags
Context
2016-04-14
18:12
Corrected typos check-in: a72d1992e9 user: rkeene tags: trunk
18:10
Added a small patch to the NaCl backend to allow it to initialize from an element directly check-in: b60bdc45b5 user: rkeene tags: trunk
18:10
Updated clean targets to require boost, which is required to assemble the Makefile.deps file, which must be present check-in: f015f70ac8 user: rkeene tags: trunk
Changes

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

32
33
34
35
36
37
38







39
40
41
42
43
44
45
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52







+
+
+
+
+
+
+







	(
		cd "${workdir}" || exit 1

		# Copy out PC/SC headers for later use
		mkdir -p "${instdir}/include/PCSC" || exit 1
		cp third_party/pcsc-lite/src-*/src/PCSC/*.h "${instdir}/include/PCSC" || exit 1

		# Update one of the JavaScript files to provide a better interface
		sed '
			s@naclModuleMessageChannel.*opt_serverAppId@&, opt_naclElement@
			/opt_naclElement/ a \
if (naclModuleMessageChannel == null && opt_naclElement != null) { naclModuleMessageChannel = new GoogleSmartCard.NaclModuleMessageChannel(opt_naclElement, GoogleSmartCard.Logging.getScopedLogger("NaclModule<>")); }
		' third_party/pcsc-lite/naclport/cpp_client/src/nacl-client-backend.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