Bug 975622 - Part 1: Rename existing builder and target to pre. r=bnicholson

--HG--
rename : python/mozbuild/mozbuild/backend/templates/android_eclipse/.externalToolBuilders/Builder.launch => python/mozbuild/mozbuild/backend/templates/android_eclipse/.externalToolBuilders/PreBuilder.launch
rename : python/mozbuild/mozbuild/backend/templates/android_eclipse/build.xml => python/mozbuild/mozbuild/backend/templates/android_eclipse/pre_build.xml
This commit is contained in:
Nick Alexander 2014-02-24 18:14:03 -08:00
parent fa9c928be9
commit 7db75ef759
3 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
#filter substitution
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="compile,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="compile,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="pre_build,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="pre_build,"/>
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.capture_output" value="true"/>
@ -12,7 +12,7 @@
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="@IDE_PROJECT_NAME@"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/@IDE_PROJECT_NAME@/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/@IDE_PROJECT_NAME@/pre_build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="incremental,auto"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dbuild_type=&quot;${build_type}&quot;&#10;-Dbuild_files=&quot;DUMMY ${build_files}&quot;"/>

View File

@ -11,7 +11,7 @@
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/Builder.launch</value>
<value>&lt;project&gt;/.externalToolBuilders/PreBuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>

View File

@ -70,7 +70,7 @@
</script>
</target>
<target name="compile" depends="build_needed" if="build_needed">
<target name="pre_build" depends="build_needed" if="build_needed">
<exec executable="${topsrcdir}/mach" dir="${topobjdir}" failonerror="true">
<arg value="build"/>
<arg value="${objdir}/ANDROID_ECLIPSE_PROJECT_${project_name}"/>