File: custom_rules.xml

package info (click to toggle)
fwknop 2.6.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,420 kB
  • sloc: ansic: 30,106; perl: 20,346; sh: 5,560; makefile: 955; xml: 937; python: 797; java: 444; objc: 292; erlang: 128
file content (25 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (6)
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="fwknop-android_custom_rules" default="help">
	<target name="-pre-build" depends="get-libfko-files, get-libfko-header">
		<exec executable="${ndk.dir}/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="get-libfko-files">
		<echo>Copying ../../lib files to ./jni/libfwknop</echo>
		<exec dir="./jni/libfwknop" executable="./get_libfko_files.sh">
		</exec>
	</target>

	<target name="get-libfko-header">
        <echo>Copying ../../lib/fko.h file to ./jni/fwknop</echo>
		<exec dir="./jni/fwknop" executable="./get_libfko_header.sh">
		</exec>
	</target>
</project>