aboutsummaryrefslogtreecommitdiff
path: root/eclipse/buildConfig/allElements.xml
diff options
context:
space:
mode:
Diffstat (limited to 'eclipse/buildConfig/allElements.xml')
-rw-r--r--eclipse/buildConfig/allElements.xml112
1 files changed, 112 insertions, 0 deletions
diff --git a/eclipse/buildConfig/allElements.xml b/eclipse/buildConfig/allElements.xml
new file mode 100644
index 000000000..b3b5c4e1c
--- /dev/null
+++ b/eclipse/buildConfig/allElements.xml
@@ -0,0 +1,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>