summaryrefslogtreecommitdiff
path: root/Source/Android/custom_rules.xml
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-04-14 23:36:00 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2013-04-14 23:36:00 -0500
commit7772f0d071cd8f1c6b44036207b4e6f9da4d9bf7 (patch)
tree6dbe1cff255abe6e35f51910df73daf5eecbec88 /Source/Android/custom_rules.xml
parent8a9fcd3014a4aee23b6fb7008a02679f8bf96200 (diff)
parent44bbb54a62a58be4ad39caf6ba55ff98244223d5 (diff)
Merge branch 'Android-trash' since it is no longer quite so trashy.
Diffstat (limited to 'Source/Android/custom_rules.xml')
-rw-r--r--Source/Android/custom_rules.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/Android/custom_rules.xml b/Source/Android/custom_rules.xml
new file mode 100644
index 0000000000..3c6d5b53ba
--- /dev/null
+++ b/Source/Android/custom_rules.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Dolphin" default="help">
+ <property name="ndkbuildopt" value=""/>
+ <target name="-pre-build">
+ <exec executable="${ndk.dir}/ndk-build" failonerror="true">
+ <arg line="-j4 ${ndkbuildopt}"/>
+ <env key="NDK_MODULE_PATH" path="..:../native/ext"/>
+ </exec>
+ </target>
+ <target name="clean" depends="android_rules.clean">
+ <exec executable="${ndk.dir}/ndk-build" failonerror="true">
+ <arg value="clean"/>
+ <env key="NDK_MODULE_PATH" path="..:../native/ext"/>
+ </exec>
+ </target>
+</project>