1#!/bin/bash 2 3############################################################################### 4# Copyright 2015 Google Inc. 5# 6# Use of this source code is governed by a BSD-style license that can be 7# found in the LICENSE file. 8############################################################################### 9# 10# Build the skia for ios. This assumes that GYP_DEFINES has been set. 11# 12set -x -e 13 14SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 15source $SCRIPT_DIR/ios_setup.sh 16 17OLD_DIR=`pwd` 18cd ${SKIA_SRC_DIR} 19"${SKIA_SRC_DIR}/gyp_skia" 20xcodebuild -project "$SKIA_OUT/gyp/iOSShell.xcodeproj" -configuration "$BUILDTYPE" 21cd $OLD_DIR 22