summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Finegan <tomfinegan@google.com>2014-06-17 10:34:36 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-06-17 10:34:36 -0700
commitc19046a79516d8404ca8673f1cbedf2049346c84 (patch)
tree29ff0901def18f571d16cc88e7a72e311b1fac73
parent73e4e8b2bfea5d3799f44d86801accb75163e52d (diff)
parent66bacc025af1cf3dcd06f2d584e90dd20d38c420 (diff)
downloadlibvpx-c19046a79516d8404ca8673f1cbedf2049346c84.tar
libvpx-c19046a79516d8404ca8673f1cbedf2049346c84.tar.gz
libvpx-c19046a79516d8404ca8673f1cbedf2049346c84.tar.bz2
libvpx-c19046a79516d8404ca8673f1cbedf2049346c84.zip
Merge "iosbuild.sh: Add missing function comments."
-rwxr-xr-xbuild/make/iosbuild.sh6
1 files changed, 6 insertions, 0 deletions
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}"