2015-04-21 15:31:59 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
###############################################################################
|
|
|
|
#
|
2015-05-05 14:55:06 +00:00
|
|
|
# Build the skia for ios. This assumes that GYP_DEFINES has been set.
|
2015-04-21 15:31:59 +00:00
|
|
|
#
|
2015-05-05 14:55:06 +00:00
|
|
|
set -x -e
|
|
|
|
|
2015-04-21 15:31:59 +00:00
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
source $SCRIPT_DIR/ios_setup.sh
|
|
|
|
|
2015-05-05 14:55:06 +00:00
|
|
|
OLD_DIR=`pwd`
|
|
|
|
cd ${SKIA_SRC_DIR}
|
2015-04-21 15:31:59 +00:00
|
|
|
"${SKIA_SRC_DIR}/gyp_skia"
|
2015-05-22 17:55:32 +00:00
|
|
|
xcodebuild -project "$SKIA_OUT/gyp/iOSShell.xcodeproj" -configuration "$BUILDTYPE"
|
2015-05-05 14:55:06 +00:00
|
|
|
cd $OLD_DIR
|