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

Unified Diff: platform_tools/android/bin/android_ninja

Issue 24833002: Add android_ninja, like android_make for ninja. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: still bad Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform_tools/android/bin/android_make ('k') | platform_tools/android/bin/android_setup.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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).
+source android_setup.sh
+echo $DEVICE_ID > .android_config
djsollen 2013/09/27 14:07:50 seems like we could refactor android_make so that
mtklein 2013/09/30 15:41:58 Yup. As we talked about before, all that ccache l
+
+exportVar GYP_GENERATORS ninja
+./gyp_skia
+
+OUT=$SKIA_OUT/${BUILDTYPE-Debug}
djsollen 2013/09/27 14:07:50 The default string value is something I didn't kno
mtklein 2013/09/30 15:41:58 Yeah, it's handy. Done.
+ninja -C $OUT $APP_ARGS
+cd $OUT; ln -sf lib lib.target; cd - # android_run_skia looks in lib.target.
+
« no previous file with comments | « platform_tools/android/bin/android_make ('k') | platform_tools/android/bin/android_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698