common/build.postbuild.xml
changeset 744 22e6c7258a80
parent 743 19d0e93b3fe4
child 747 76f9aaeefbab
equal deleted inserted replaced
743:19d0e93b3fe4 744:22e6c7258a80
     8             <echo message="INFO Building ROMs defined for this project"/>
     8             <echo message="INFO Building ROMs defined for this project"/>
     9             <runtarget target="sf-rombuild"/>
     9             <runtarget target="sf-rombuild"/>
    10         </then>
    10         </then>
    11         </if>
    11         </if>
    12         
    12         
    13         <parallel>                
    13         <if><istrue value="${sf.relicense.exported.headers}"/>
       
    14         <then>
       
    15             <runtarget target="sf-run-sfl-licence-munging"/>
       
    16         </then>
       
    17         </if>
       
    18         
       
    19         <parallel>
    14             <!-- TAG SOURCE CODE -->
    20             <!-- TAG SOURCE CODE -->
    15             <if>
    21             <if>
    16                 <istrue value="${sf.spec.tagafterbuild.enable}" />
    22                 <istrue value="${sf.spec.tagafterbuild.enable}" />
    17                 <then>
    23                 <then>
    18                     <echo message="Apply tag to the source code used in this build"/>
    24                     <echo message="Apply tag to the source code used in this build"/>
   811                 <runtarget target="sf-publish"/>
   817                 <runtarget target="sf-publish"/>
   812             </then>
   818             </then>
   813         </if>
   819         </if>
   814     </target>
   820     </target>
   815 
   821 
   816 
       
   817     <target name="sf-run-sfl-licence-munging" depends="sf-check-utilities-dir" if="sf-utilities-available">    
   822     <target name="sf-run-sfl-licence-munging" depends="sf-check-utilities-dir" if="sf-utilities-available">    
   818         <echo message="Running SFL Licence Munging writing log to ${build.log.dir}"/>
   823         <echo message="Running SFL Licence Munging writing log to ${build.log.dir}"/>
       
   824         <stopwatch name="munge" action="start"/>
   819         <exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/postbuild_sfl-licence_munging_results.log">
   825         <exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/postbuild_sfl-licence_munging_results.log">
   820           <arg value="${build.drive}/utilities/williamr/convert_to_eula.pl"/>
   826           <arg value="${build.drive}/utilities/williamr/convert_to_eula.pl"/>
   821         </exec>
   827         </exec>
       
   828         <stopwatch name="munge" action="total"/>
   822     </target>
   829     </target>
   823 
   830 
   824 </project>
   831 </project>