Index: platform_tools/android/bin/android_ninja |
diff --git a/platform_tools/android/bin/android_ninja b/platform_tools/android/bin/android_ninja |
new file mode 100755 |
index 0000000000000000000000000000000000000000..1af7ae1ac865ce500ceb477554936a83db0e60c1 |
--- /dev/null |
+++ b/platform_tools/android/bin/android_ninja |
@@ -0,0 +1,14 @@ |
+#!/bin/bash |
+set -e |
+ |
+rm -f .android_config # If no -d flag is given, force the default device (not the last one). |
scroggo
2013/09/26 21:23:25
Should all android building behave this way?
mtklein
2013/09/26 21:39:55
Yep, this is only here because android_make does t
|
+source android_setup.sh |
+echo $DEVICE_ID > .android_config |
+ |
+exportVar GYP_GENERATORS ninja |
scroggo
2013/09/26 21:23:25
Does this change my gyp generators for building no
mtklein
2013/09/26 21:39:55
Nope. In fact, android_make does the same thing s
|
+./gyp_skia |
+ |
+OUT=$SKIA_OUT/${BUILDTYPE-Debug} |
+ninja -C $OUT $APP_ARGS |
+cd $OUT; ln -sf lib lib.target; cd - # android_run_skia looks in lib.target. |
+ |