forked from avs333/Nougat_dlfunctions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_rules.xml
29 lines (20 loc) · 866 Bytes
/
custom_rules.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<project xmlns='antlib:org.apache.tools.ant'>
<target name="-pre-build">
<exec executable="ndk-build" failonerror="true"/>
</target>
<target name="clean" depends="android_rules.clean">
<exec executable="$(ndk-dir)/ndk-build" failonerror="true">
<arg value="clean"/>
</exec>
</target>
<target name="-post-package">
<exec executable="androsign" failonerror="false" failifexecutionfails="false">
<arg value="bin/test2-release-unsigned.apk"/>
</exec>
<!--copy file="bin/test2-release-unsigned-signed.apk" tofile="test2.apk"/-->
<exec executable="cp" failonerror="false" failifexecutionfails="false">
<arg value="bin/test2-release-unsigned-signed.apk"/>
<arg value="test2.apk"/>
</exec>
</target>
</project>