aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/ios/bin/ios_ninja
blob: 55f30bb0f37fd78b5a4df0b16895134a0b7df26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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.
###############################################################################
#
# Build the skia for ios. This assumes that GYP_DEFINES has been set.
#
set -x -e

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/ios_setup.sh

OLD_DIR=`pwd`
cd ${SKIA_SRC_DIR}
"${SKIA_SRC_DIR}/gyp_skia"
xcodebuild -project "$SKIA_SRC_DIR/out/gyp/iOSShell.xcodeproj"\
       -configuration "$BUILDTYPE"
cd $OLD_DIR