diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2012-09-08 19:16:28 +0200 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2012-09-08 22:41:18 +0200 |
commit | 3492bb7744bd7b7a90eed6f839fdbb2582b447b6 (patch) | |
tree | abddb07bbcaba9b519d6b02898072979230323d2 /examples/cross_calculator/android/custom_rules.xml | |
parent | b1ad04e30654264da13d84038dc24b551b619604 (diff) | |
download | Nim-3492bb7744bd7b7a90eed6f839fdbb2582b447b6.tar.gz |
Adds android example using jni.
Diffstat (limited to 'examples/cross_calculator/android/custom_rules.xml')
-rw-r--r-- | examples/cross_calculator/android/custom_rules.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/cross_calculator/android/custom_rules.xml b/examples/cross_calculator/android/custom_rules.xml new file mode 100644 index 000000000..91783a50e --- /dev/null +++ b/examples/cross_calculator/android/custom_rules.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="custom_rules" default="debug"> + <target name="nim"> + <exec executable="scripts/nimbuild.sh" failonerror="true"> + </exec> + </target> + <target name="jni"> + <exec executable="scripts/jnibuild.sh" failonerror="true"> + </exec> + </target> + <target name="ndk"> + <exec executable="ndk-build" failonerror="true"> + </exec> + </target> + <target name="-post-compile" depends="nim, jni, ndk"> + </target> +</project> |