Check-in [ce27ad0559]
Overview
Comment:More work towards standardizing NaCl build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ce27ad05595e32820663c763856279717c603ff1
User & Date: rkeene on 2016-02-03 17:42:09
Other Links: manifest | tags
Context
2016-02-03
18:50
Updated to cast length variable to the correct type for formatting check-in: df8d7782c8 user: rkeene tags: trunk
17:42
More work towards standardizing NaCl build check-in: ce27ad0559 user: rkeene tags: trunk
08:03
Removed extra debugging symbols no longer needed check-in: 378c58fb5a user: rkeene tags: trunk
Changes

Modified build/chrome/build-deps from [d77e49c779] to [bf636f72b1].

9
10
11
12
13
14
15
16
17








18
19
20
21
22
23
24
9
10
11
12
13
14
15


16
17
18
19
20
21
22
23
24
25
26
27
28
29
30







-
-
+
+
+
+
+
+
+
+







	exit 1
fi

cd "$(dirname "${ourScript}")" || exit 1

patchDir="$(pwd)/patches"

if [ -z "${NACL_SDK_PEPPER}" ]; then
	echo "error: Please set NACL_SDK_PEPPER to the path of the current pepper target" >&2
if [ -z "${NACL_SDK_ROOT}" ]; then
	echo "error: Please set NACL_SDK_ROOT to the path of the current NaCl SDK target" >&2

	exit 1
fi

if [ ! -d "${NACL_SDK_ROOT}/toolchain" ]; then
	echo "error: Invalid NACL_SDK_ROOT, not found: ${NACL_SDK_ROOT}/toolchain" >&2

	exit 1
fi

function download() {
	local url file hash
	local hashMethod
349
350
351
352
353
354
355
356

357
358
359
360
355
356
357
358
359
360
361

362
363
364
365
366







-
+




		;;
	*)
		echo "error: Unrecognized platform output: \"${buildOutputType}\"" >&2

		exit 1
		;;
esac
PATH="${PATH}:${NACL_SDK_PEPPER}/toolchain/${naclTopDir}/bin" buildCACKey "${naclPlatform}" --host="${naclPlatform}" CC=${naclPlatform}-gcc LD=${naclPlatform}-ld OBJCOPY=${naclPlatform}-objcopy STRIP=${naclPlatform}-strip || exit 1
PATH="${PATH}:${NACL_SDK_ROOT}/toolchain/${naclTopDir}/bin" buildCACKey "${naclPlatform}" --host="${naclPlatform}" CC=${naclPlatform}-gcc LD=${naclPlatform}-ld OBJCOPY=${naclPlatform}-objcopy STRIP=${naclPlatform}-strip || exit 1

cleanup

exit 0