Home | History | Annotate | Download | only in templates
      1 <?xml version="1.0" encoding="ISO-8859-1"?>
      2 <template
      3 	type="ProjTempl"
      4 	version="1.0"
      5 	revision="1.0"
      6 	id="AddNdkSupport"
      7 	label="Add Android NDK Support"
      8 	description="Adds NDK support to Android Java projects"
      9 	help="help.html">
     10 	<process type="com.android.ide.eclipse.ndk.SetFolders">
     11 		<simple name="projectName" value="$(projectName)"/>
     12 		<simple-array name="sourceFolders">
     13 			<element value="jni"/>
     14 		</simple-array>
     15 		<simple-array name="outputFolders">
     16 			<element value="obj"/>
     17 			<element value="libs"/>
     18 		</simple-array>
     19 	</process>
     20 	<process type="com.android.ide.eclipse.ndk.SimpleFile">
     21 		<simple name="projectName" value="$(projectName)"/>
     22 		<complex-array name="files">
     23 			<element>
     24 				<simple name="source" value="templates/resources/tAndroid.mk"/>
     25 				<simple name="destination" value="jni/Android.mk"/>
     26 			</element>
     27 			<element>
     28 				<simple name="source" value="templates/resources/main.cpp"/>
     29 				<simple name="destination"	value="jni/$(libraryName).cpp"/>
     30 			</element>
     31 		</complex-array>
     32 	</process>
     33 </template>
     34