summaryrefslogtreecommitdiff
path: root/Source/Android/custom_rules.xml
diff options
context:
space:
mode:
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>