common/build.postbuild.xml
changeset 1259 5f8149838262
parent 1252 f2fbf395f696
child 1261 dd40521a5759
equal deleted inserted replaced
1258:7c13417d5e31 1259:5f8149838262
   739             <arg value="${build.log.dir}/diamonds_uh.xml"/>
   739             <arg value="${build.log.dir}/diamonds_uh.xml"/>
   740           </exec>
   740           </exec>
   741         </then>
   741         </then>
   742       </if>
   742       </if>
   743     </target>
   743     </target>
   744     
   744 
       
   745 
       
   746     <target name="sf-run-analysis-depends">
       
   747 
       
   748         <for param="binary" parallel="true" threadCount="${env.NUMBER_OF_PROCESSORS}">
       
   749 
       
   750         <fileset dir="${build.drive}/epoc32/release/winscw/udeb">
       
   751             <filename name="*.dll"/>
       
   752             <filename name="*.exe"/>
       
   753         </fileset>
       
   754 
       
   755         <sequential>
       
   756 
       
   757         <propertyregex property="binary.filename"  override="true" input="@{binary}" regexp="\\([^\\]*)$" select="\1" casesensitive="false"/>
       
   758         <echo message="INFO Processing ${binary.filename}"/>
       
   759 
       
   760         <exec executable="cmd" dir="${sf.common.config.dir}/tools/analysis/" output="${temp.build.dir}/${binary.filename}.depends.out">
       
   761             <arg value="/c"/>            
       
   762             <arg value="perl"/>            
       
   763             <arg value="depends.pl"/>            
       
   764  	    <arg value="@{binary}"/>
       
   765         </exec>
       
   766 
       
   767         </sequential>  
       
   768       </for>
       
   769 
       
   770       <concat destfile="${build.log.dir}\analysis\${build.id}_depends.log">
       
   771         <fileset dir="${temp.build.dir}" includes="*depends.out"/>
       
   772       </concat>
       
   773 
       
   774     </target>
       
   775 
   745     <target name="sf-links-to-diamonds">
   776     <target name="sf-links-to-diamonds">
   746       <fmpp sourceFile="${sf.common.config.dir}/diamonds/linksForDiamonds.xml.ftl" outputFile="${build.log.dir}/linksForDiamonds.xml">
   777       <fmpp sourceFile="${sf.common.config.dir}/diamonds/linksForDiamonds.xml.ftl" outputFile="${build.log.dir}/linksForDiamonds.xml">
   747         <data expandProperties="yes">
   778         <data expandProperties="yes">
   748           ant: antProperties()
   779           ant: antProperties()
   749         </data>
   780         </data>