blob: 40c79546058e7f5a3d90fbc6c22191fdcedfe615 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<template
type="ProjTempl"
version="1.0"
revision="1.0"
id="AddNdkSupport"
label="Add Android NDK Support"
description="Adds NDK support to Android Java projects"
help="help.html">
<process type="com.android.ide.eclipse.ndk.SetFolders">
<simple name="projectName" value="$(projectName)"/>
<simple-array name="sourceFolders">
<element value="jni"/>
</simple-array>
<simple-array name="outputFolders">
<element value="obj"/>
<element value="libs"/>
</simple-array>
</process>
<process type="com.android.ide.eclipse.ndk.SimpleFile">
<simple name="projectName" value="$(projectName)"/>
<complex-array name="files">
<element>
<simple name="source" value="templates/resources/tAndroid.mk"/>
<simple name="destination" value="jni/Android.mk"/>
</element>
<element>
<simple name="source" value="templates/resources/main.cpp"/>
<simple name="destination" value="jni/$(libraryName).cpp"/>
</element>
</complex-array>
</process>
</template>