Index: build/android_jar_location.sh |
diff --git a/build/android_jar_location.sh b/build/android_jar_location.sh |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e4db025e0b186f6a614818a5c70ded0a17de8395 |
--- /dev/null |
+++ b/build/android_jar_location.sh |
@@ -0,0 +1,12 @@ |
+#!/bin/sh |
Nico
2012/07/31 14:07:13
checkdeps will go red after check-in for files wit
felipeg
2012/07/31 14:54:36
Done.
|
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# Tries to find the locaiton of android.jar in the android SDK root dir. |
Nico
2012/07/31 14:07:13
typo location
felipeg
2012/07/31 14:54:36
Done.
|
+# This script is called from system_classes_jni_generator.gypi |
+if [ -f $ANDROID_SDK_ROOT/android.jar ]; then |
+ /bin/echo -n $ANDROID_SDK_ROOT ; |
+else /bin/echo -n |
+ /bin/echo -n $ANDROID_SDK_ROOT/platforms/android-${ANDROID_SDK_VERSION} ; |
+fi |