common/build.xml
changeset 721 555e9b4085ea
parent 698 382728cd25d2
child 792 893b85cda81b
equal deleted inserted replaced
720:44dd64cfb32b 721:555e9b4085ea
    70             <echo message="Generated source spec found, importing..." />
    70             <echo message="Generated source spec found, importing..." />
    71             <import file="${temp.build.dir}/source-spec.ant.xml"/>
    71             <import file="${temp.build.dir}/source-spec.ant.xml"/>
    72         </then>
    72         </then>
    73     </if>
    73     </if>
    74     
    74     
    75     <target name="sf-prep" depends="prep-drive,init-build-area,sf-generate-source-spec,check-tool-dependencies,create-bom,log-build-env">
    75     <target name="sf-prep" depends="prep-drive,init-build-area,check-tool-dependencies,create-bom,log-build-env">
    76         <echo>[SF-PREP]</echo>
    76         <echo>[SF-PREP]</echo>
    77         <!-- Test for the disk space we would like for this build -->
    77         <!-- Test for the disk space we would like for this build -->
    78 	<fail>
    78 	<fail>
    79             <condition>
    79             <condition>
    80                 <not>
    80                 <not>
   205         <copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" todir="${build.log.dir}/BOM/"/>
   205         <copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" todir="${build.log.dir}/BOM/"/>
   206         <delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
   206         <delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
   207     </target>
   207     </target>
   208 
   208 
   209     <target name="sf-prebuild" depends="sf-prep,sf-prebuild-noprep"/>
   209     <target name="sf-prebuild" depends="sf-prep,sf-prebuild-noprep"/>
   210     <target name="sf-prebuild-noprep" depends="sf-prebuild-announce,sf-diamonds-connect,sf-diamonds-tag-build,sf-record-proj-conf-bom,sf-getenvs,sf-syncsource,sf-diamondize-bom"/>
   210     <target name="sf-prebuild-noprep" depends="sf-prebuild-announce,sf-diamonds-connect,sf-diamonds-tag-build,sf-getenvs,sf-syncsource,sf-diamondize-bom"/>
   211     
   211     
   212     <target name="sf-prebuild-announce">
   212     <target name="sf-prebuild-announce">
   213         <echo>[SF-PREBUILD]</echo>
   213         <echo>[SF-PREBUILD]</echo>
   214     </target>
   214     </target>
   215     
   215     
   267         </exec>
   267         </exec>
   268 	<echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/>
   268 	<echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/>
   269     </target>
   269     </target>
   270 
   270 
   271     <target name="sf-getenvs">
   271     <target name="sf-getenvs">
       
   272         <!-- create BOM dir -->
       
   273         <mkdir dir="${build.drive}/output/logs/BOM"/>
       
   274         
   272         <!-- tools baseline must come before epoc baseline to allow clean listing -->
   275         <!-- tools baseline must come before epoc baseline to allow clean listing -->
   273         <touch file="${build.drive}/output/logs/BOM/toolsbaseline.txt"/>
   276         <touch file="${build.drive}/output/logs/BOM/toolsbaseline.txt"/>
   274         <if>
   277         <if>
   275             <istrue value="${sf.spec.toolsbaseline.enable}" />
   278             <istrue value="${sf.spec.toolsbaseline.enable}" />
   276             <then>
   279             <then>
   377                 </exec>
   380                 </exec>
   378             </then>
   381             </then>
   379         </if>
   382         </if>
   380     </target>
   383     </target>
   381 
   384 
       
   385     <!-- This target is overridden in platform builds, but used directly in package builds -->
   382     <target name="sf-build-noprep" depends="sf-truclean,sf-model-from-project,sf-compile,sf-postbuild">
   386     <target name="sf-build-noprep" depends="sf-truclean,sf-model-from-project,sf-compile,sf-postbuild">
   383         <echo>[SF-BUILD-NOPREP]</echo>
   387         <echo>[SF-BUILD-NOPREP]</echo>
   384     </target>
   388     </target>
   385     
   389     
   386     <target name="create-canonical-sysdef-file">
   390     <target name="create-canonical-sysdef-file">