1 <!-- ========================================================================= --> 2 <!-- Feature build ant targets --> 3 <!-- Template obtained from org.eclipse.pde.build/templates/headless-build --> 4 <!-- ========================================================================= --> 5 <project name="allElements Delegator"> 6 7 <!-- ===================================================================== --> 8 <!-- Run a given ${target} on all elements being built --> 9 <!-- Replace element.id with the id of the top level element being built. --> 10 <!-- If element.id does not exist in ${buildDirectory}/features/element.id --> 11 <!-- or ${baseLocation}/features/element.id, then you must provide the --> 12 <!-- location by setting the property "pluginPath" --> 13 <!-- Add on <ant> task for each top level element being built. --> 14 <!-- ===================================================================== --> 15 <target name="allElementsDelegator"> 16 17 <ant antfile="${genericTargets}" target="${target}"> 18 <property name="type" value="feature" /> 19 <property name="id" value="com.android.ide.eclipse.ddms" /> 20 </ant> 21 22 <ant antfile="${genericTargets}" target="${target}"> 23 <property name="type" value="feature" /> 24 <property name="id" value="com.android.ide.eclipse.hierarchyviewer" /> 25 </ant> 26 27 <ant antfile="${genericTargets}" target="${target}"> 28 <property name="type" value="feature" /> 29 <property name="id" value="com.android.ide.eclipse.adt" /> 30 </ant> 31 32 <ant antfile="${genericTargets}" target="${target}"> 33 <property name="type" value="feature" /> 34 <property name="id" value="com.android.ide.eclipse.ndk" /> 35 </ant> 36 37 <ant antfile="${genericTargets}" target="${target}"> 38 <property name="type" value="feature" /> 39 <property name="id" value="com.android.ide.eclipse.traceview" /> 40 </ant> 41 42 <ant antfile="${genericTargets}" target="${target}"> 43 <property name="type" value="feature" /> 44 <property name="id" value="com.android.ide.eclipse.gldebugger" /> 45 </ant> 46 47 <antcall target="buildInternalFeatures"/> 48 </target> 49 50 <!-- ===================================================================== --> 51 <!-- Conditional target for building the internal features --> 52 <!-- Builds if property internalSite is set --> 53 <!-- ===================================================================== --> 54 <target name="buildInternalFeatures" if="internalSite"> 55 <ant antfile="${genericTargets}" target="${target}"> 56 <property name="type" value="feature" /> 57 <property name="id" value="com.android.ide.eclipse.tests" /> 58 </ant> 59 60 <ant antfile="${genericTargets}" target="${target}"> 61 <property name="type" value="feature" /> 62 <property name="id" value="com.android.ide.eclipse.pdt" /> 63 </ant> 64 </target> 65 66 <!-- ===================================================================== --> 67 <!-- Targets to assemble the built elements for particular configurations --> 68 <!-- These generally call the generated assemble scripts (named in --> 69 <!-- ${assembleScriptName}) but may also add pre and post processing --> 70 <!-- Add one target for each root element and each configuration --> 71 <!-- Replace element.id with the id of the top level element being built --> 72 <!-- ===================================================================== --> 73 <target name="assemble.com.android.ide.eclipse.base"> 74 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 75 </target> 76 77 <target name="assemble.com.android.ide.eclipse.adt"> 78 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 79 </target> 80 81 <target name="assemble.com.android.ide.eclipse.adt.overlay"> 82 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 83 </target> 84 85 <target name="assemble.com.android.ide.eclipse.ndk"> 86 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 87 </target> 88 89 <target name="assemble.com.android.ide.eclipse.ddms"> 90 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 91 </target> 92 93 <target name="assemble.com.android.ide.eclipse.tests"> 94 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 95 </target> 96 97 <target name="assemble.com.android.ide.eclipse.hierarchyviewer"> 98 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 99 </target> 100 101 <target name="assemble.com.android.ide.eclipse.pdt"> 102 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 103 </target> 104 105 <target name="assemble.com.android.ide.eclipse.traceview"> 106 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 107 </target> 108 109 <target name="assemble.com.android.ide.eclipse.gldebugger"> 110 <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/> 111 </target> 112 </project> 113