aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/buildConfig/allElements.xml
blob: b3b5c4e1c72561bfcb94ff67e623f4e037aeb1ee (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!-- ========================================================================= -->
<!-- Feature build ant targets                                                 -->
<!-- Template obtained from org.eclipse.pde.build/templates/headless-build     -->
<!-- ========================================================================= -->
<project name="allElements Delegator">

     <!-- ===================================================================== -->
     <!-- Run a given ${target} on all elements being built                     -->
     <!-- Replace element.id with the id of the top level element being built.    -->
     <!-- If element.id does not exist in ${buildDirectory}/features/element.id   -->
     <!-- or ${baseLocation}/features/element.id, then you must provide the       -->
     <!-- location by setting the property "pluginPath"                           -->
     <!-- Add on <ant> task for each top level element being built.             -->
     <!-- ===================================================================== -->
     <target name="allElementsDelegator">

         <ant antfile="${genericTargets}" target="${target}">
             <property name="type" value="feature" />
             <property name="id" value="com.android.ide.eclipse.ddms" />
         </ant>

         <ant antfile="${genericTargets}" target="${target}">
             <property name="type" value="feature" />
             <property name="id" value="com.android.ide.eclipse.hierarchyviewer" />
         </ant>

         <ant antfile="${genericTargets}" target="${target}">
             <property name="type" value="feature" />
             <property name="id" value="com.android.ide.eclipse.adt" />
         </ant>

         <ant antfile="${genericTargets}" target="${target}">
             <property name="type" value="feature" />
             <property name="id" value="com.android.ide.eclipse.ndk" />
         </ant>

         <ant antfile="${genericTargets}" target="${target}">
             <property name="type" value="feature" />
             <property name="id" value="com.android.ide.eclipse.traceview" />
         </ant>

        <ant antfile="${genericTargets}" target="${target}">
            <property name="type" value="feature" />
            <property name="id" value="com.android.ide.eclipse.gldebugger" />
        </ant>

         <antcall target="buildInternalFeatures"/>
     </target>

     <!-- ===================================================================== -->
     <!-- Conditional target for building the internal features                 -->
     <!-- Builds if property internalSite is set                                -->
     <!-- ===================================================================== -->
     <target name="buildInternalFeatures" if="internalSite">
        <ant antfile="${genericTargets}" target="${target}">
            <property name="type" value="feature" />
            <property name="id" value="com.android.ide.eclipse.tests" />
        </ant>

        <ant antfile="${genericTargets}" target="${target}">
            <property name="type" value="feature" />
            <property name="id" value="com.android.ide.eclipse.pdt" />
        </ant>
     </target>

     <!-- ===================================================================== -->
     <!-- Targets to assemble the built elements for particular configurations  -->
     <!-- These generally call the generated assemble scripts (named in         -->
     <!-- ${assembleScriptName}) but may also add pre and post processing       -->
     <!-- Add one target for each root element and each configuration           -->
     <!-- Replace element.id with the id of the top level element being built   -->
     <!-- ===================================================================== -->
     <target name="assemble.com.android.ide.eclipse.base">
         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     </target>

     <target name="assemble.com.android.ide.eclipse.adt">
         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     </target>

     <target name="assemble.com.android.ide.eclipse.adt.overlay">
         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     </target>

     <target name="assemble.com.android.ide.eclipse.ndk">
         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     </target>

     <target name="assemble.com.android.ide.eclipse.ddms">
         <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
     </target>

    <target name="assemble.com.android.ide.eclipse.tests">
        <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    </target>

    <target name="assemble.com.android.ide.eclipse.hierarchyviewer">
        <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    </target>

    <target name="assemble.com.android.ide.eclipse.pdt">
        <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    </target>

    <target name="assemble.com.android.ide.eclipse.traceview">
        <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    </target>

    <target name="assemble.com.android.ide.eclipse.gldebugger">
        <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
    </target>
</project>