skia2/platform_tools/ios/bin/ios_ninja
stephana c9b8276bc9 BUG=skia:
NOTRY=true
TBR=borenet

Review URL: https://codereview.chromium.org/1153783003
2015-05-22 10:55:33 -07:00

22 lines
642 B
Bash
Executable File

#!/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_OUT/gyp/iOSShell.xcodeproj" -configuration "$BUILDTYPE"
cd $OLD_DIR