OLD | NEW |
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 -e | 12 set -x -e |
13 | 13 |
14 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | 14 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
15 source $SCRIPT_DIR/ios_setup.sh | 15 source $SCRIPT_DIR/ios_setup.sh |
16 | 16 |
17 OLD_DIR=`pwd` | 17 OLD_DIR=`pwd` |
18 cd ${SKIA_SRC_DIR} | 18 cd ${SKIA_SRC_DIR} |
19 "${SKIA_SRC_DIR}/gyp_skia" | 19 "${SKIA_SRC_DIR}/gyp_skia" |
20 xcodebuild -project "$SKIA_SRC_DIR/out/gyp/iOSShell.xcodeproj"\ | 20 xcodebuild -project "$SKIA_OUT/gyp/iOSShell.xcodeproj" -configuration "$BUILDTYP
E" |
21 -configuration "$BUILDTYPE" | |
22 cd $OLD_DIR | 21 cd $OLD_DIR |
OLD | NEW |