Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: platform_tools/ios/bin/ios_ninja

Issue 1085583006: iOS platform scripts to be used by buildbots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 ############################################################################### 3 ###############################################################################
4 # Copyright 2015 Google Inc. 4 # Copyright 2015 Google Inc.
5 # 5 #
6 # Use of this source code is governed by a BSD-style license that can be 6 # Use of this source code is governed by a BSD-style license that can be
7 # found in the LICENSE file. 7 # found in the LICENSE file.
8 ############################################################################### 8 ###############################################################################
9 # 9 #
10 # Build the skia for ios. This assumes that GYP_DEFINES has been set. 10 # Build the skia for ios. This assumes that GYP_DEFINES has been set.
11 # 11 #
12 set -x
borenet 2015/05/05 12:59:02 I think we should add "set -e" to all of these scr
stephana-chromium 2015/05/05 13:30:25 Done.
13
12 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 14 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
13 source $SCRIPT_DIR/ios_setup.sh 15 source $SCRIPT_DIR/ios_setup.sh
14 16
15 pushd 17 OLD_DIR=`pwd`
16 cd ${SKIA_SRC_DIR} 18 cd ${SKIA_SRC_DIR}
17 "${SKIA_SRC_DIR}/gyp_skia" 19 "${SKIA_SRC_DIR}/gyp_skia"
18 xcodebuild -project "$SKIA_SRC_DIR/out/gyp/iOSShell.xcodeproj"\ 20 xcodebuild -project "$SKIA_SRC_DIR/out/gyp/iOSShell.xcodeproj"\
19 -configuration "$BUILDTYPE" 21 -configuration "$BUILDTYPE"
20 popd 22 cd $OLD_DIR
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698