Adds android example using jni.
This commit is contained in:
parent
b1ad04e306
commit
3492bb7744
13 changed files with 373 additions and 0 deletions
17
examples/cross_calculator/android/custom_rules.xml
Normal file
17
examples/cross_calculator/android/custom_rules.xml
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue