From 66bacc025af1cf3dcd06f2d584e90dd20d38c420 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Mon, 16 Jun 2014 17:04:38 -0700 Subject: iosbuild.sh: Add missing function comments. Change-Id: Ib23a59475d566a7b7f44071614d730ceecfcfa60 --- build/make/iosbuild.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/make/iosbuild.sh') diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh index bc3cc94b0..230c0ce8c 100755 --- a/build/make/iosbuild.sh +++ b/build/make/iosbuild.sh @@ -31,6 +31,8 @@ TARGETS="armv6-darwin-gcc x86-iphonesimulator-gcc x86_64-iphonesimulator-gcc" +# Configures for the target specified by $1, and invokes make with the dist +# target using $DIST_DIR as the distribution output directory. build_target() { local target="$1" local old_pwd="$(pwd)" @@ -48,6 +50,8 @@ build_target() { vlog "***Done building target: ${target}***" } +# Configures and builds each target specified by $1, and then builds +# VPX.framework. build_targets() { local lib_list="" local targets="$1" @@ -89,6 +93,8 @@ build_targets() { # VPX.framework/VPX via lipo -info. } +# Trap function. Cleans up the subtree used to build all targets contained in +# $TARGETS. cleanup() { cd "${ORIG_PWD}" -- cgit v1.2.3