summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-06-20 18:03:05 +0200
committerParménides GV <parmegv@sdf.org>2013-06-20 18:03:05 +0200
commit3f8e2f6569f893a49bf1819416cae792c702d370 (patch)
tree81b6b0d0e0b374e82afa6fc15c32716f981f0aa4
parent65e2f56a8a10877964fb9fc57963d1bf8104801a (diff)
No untracked files.
Added two auxiliar files: prepareTestProviderAPI.sh is updated in feature/authGui_tests. proguard-project.txt is completely commented, but I think it may be suitable to version control.
-rw-r--r--.gitignore4
-rwxr-xr-xprepareTestProviderAPI.sh15
-rw-r--r--proguard-project.txt20
3 files changed, 39 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 11526f85..9aa5a039 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
obj
bin
gen
+libs
openvpn/.git
openvpn/autom4te.cache
openvpn/aclocal.m4
@@ -65,3 +66,6 @@ id.zip
/hosts-for-android-emulator.bk
/build-native.sh.bk
/build-native.sh~
+
+build.gradle
+local.properties
diff --git a/prepareTestProviderAPI.sh b/prepareTestProviderAPI.sh
new file mode 100755
index 00000000..0eca85a9
--- /dev/null
+++ b/prepareTestProviderAPI.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+if [ -z "$1" ]
+then
+ echo Usage: prepareTestProviderAPI.sh \"project folder\"
+ exit 0;
+fi
+
+PROJECT_FOLDER=$1
+hosts_file="hosts-for-tests"
+
+adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
+adb push $PROJECT_FOLDER/$hosts_file /system/etc/hosts
+
+echo "Pushed $PROJECT_FOLDER/$hosts_file"
diff --git a/proguard-project.txt b/proguard-project.txt
new file mode 100644
index 00000000..f2fe1559
--- /dev/null
+++ b/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}