Home | History | Annotate | Download | only in buildConfig
      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          <antcall target="buildInternalFeatures"/>
     43 
     44      </target>
     45 
     46      <!-- ===================================================================== -->
     47      <!-- Conditional target for building the internal features                 -->
     48      <!-- Builds if property internalSite is set                                -->
     49      <!-- ===================================================================== -->
     50      <target name="buildInternalFeatures" if="internalSite">
     51         <ant antfile="${genericTargets}" target="${target}">
     52             <property name="type" value="feature" />
     53             <property name="id" value="com.android.ide.eclipse.tests" />
     54         </ant>
     55 
     56         <ant antfile="${genericTargets}" target="${target}">
     57             <property name="type" value="feature" />
     58             <property name="id" value="com.android.ide.eclipse.pdt" />
     59         </ant>
     60 
     61         <ant antfile="${genericTargets}" target="${target}">
     62             <property name="type" value="feature" />
     63             <property name="id" value="com.android.ide.eclipse.gldebugger" />
     64         </ant>
     65      </target>
     66 
     67      <!-- ===================================================================== -->
     68      <!-- Targets to assemble the built elements for particular configurations  -->
     69      <!-- These generally call the generated assemble scripts (named in         -->
     70      <!-- ${assembleScriptName}) but may also add pre and post processing       -->
     71      <!-- Add one target for each root element and each configuration           -->
     72      <!-- Replace element.id with the id of the top level element being built   -->
     73      <!-- ===================================================================== -->
     74      <target name="assemble.com.android.ide.eclipse.base">
     75          <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     76      </target>
     77 
     78      <target name="assemble.com.android.ide.eclipse.adt">
     79          <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     80      </target>
     81 
     82      <target name="assemble.com.android.ide.eclipse.adt.overlay">
     83          <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     84      </target>
     85 
     86      <target name="assemble.com.android.ide.eclipse.ndk">
     87          <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     88      </target>
     89 
     90      <target name="assemble.com.android.ide.eclipse.ddms">
     91          <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     92      </target>
     93 
     94     <target name="assemble.com.android.ide.eclipse.tests">
     95         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     96     </target>
     97 
     98     <target name="assemble.com.android.ide.eclipse.hierarchyviewer">
     99         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    100     </target>
    101 
    102     <target name="assemble.com.android.ide.eclipse.pdt">
    103         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    104     </target>
    105 
    106     <target name="assemble.com.android.ide.eclipse.traceview">
    107         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    108     </target>
    109 
    110     <target name="assemble.com.android.ide.eclipse.gldebugger">
    111         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    112     </target>
    113 </project>
    114