Index: platform_tools/ios/bin/ios_ninja |
diff --git a/platform_tools/ios/bin/ios_ninja b/platform_tools/ios/bin/ios_ninja |
new file mode 100755 |
index 0000000000000000000000000000000000000000..054f1084e922ebb0a5fb69bb2623a8650ccd9a1c |
--- /dev/null |
+++ b/platform_tools/ios/bin/ios_ninja |
@@ -0,0 +1,20 @@ |
+#!/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. |
+# |
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
+source $SCRIPT_DIR/ios_setup.sh |
+ |
+pushd |
+cd ${SKIA_SRC_DIR} |
+"${SKIA_SRC_DIR}/gyp_skia" |
+xcodebuild -project "$SKIA_SRC_DIR/out/gyp/iOSShell.xcodeproj"\ |
+ -configuration "$BUILDTYPE" |
+popd |