common/build.postbuild.xml
changeset 1002 3cb49f24dbca
parent 960 b0315c337be6
child 1004 bd44a5c3330c
equal deleted inserted replaced
982:c4c1cf594032 1002:3cb49f24dbca
   239                 <property name="sf.epoc32.exclusions.file" value="nul:"/>
   239                 <property name="sf.epoc32.exclusions.file" value="nul:"/>
   240                 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   240                 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   241                     <arg value="a"/>
   241                     <arg value="a"/>
   242                     <arg value="-t${sf.spec.package.zip.format}"/>
   242                     <arg value="-t${sf.spec.package.zip.format}"/>
   243                     <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   243                     <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   244 					<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   244                     <arg value="-x@${sf.epoc32.exclusions.file}"/>
   245                     <arg value="-x@${sf.epoc32.exclusions.file}"/>
   245                     <arg value="-x!epoc32\gcc"/>
   246                     <arg value="-x!epoc32\gcc"/>
   246                     <arg value="-x!epoc32\gcc_mingw"/>
   247                     <arg value="-x!epoc32\gcc_mingw"/>
   247                     <arg value="-x!epoc32\tools"/>
   248                     <arg value="-x!epoc32\tools"/>
   248                     <arg value="-x!epoc32\build"/>
   249                     <arg value="-x!epoc32\build"/>
   260                     <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log">
   261                     <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log">
   261                         <arg value="a"/>
   262                         <arg value="a"/>
   262                         <arg value="-t${sf.spec.package.zip.format}"/>
   263                         <arg value="-t${sf.spec.package.zip.format}"/>
   263                         <arg value="-i@${sf.sdk.header.list.file}"/>
   264                         <arg value="-i@${sf.sdk.header.list.file}"/>
   264                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   265                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   266 						<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   265                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   267                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   266                     </exec>
   268                     </exec>
   267                     <!-- Check that all the files we want in the SDK are zipped -->
   269                     <!-- Check that all the files we want in the SDK are zipped -->
   268                     <antcall target="sf-log-to-brag">
   270                     <antcall target="sf-log-to-brag">
   269                         <param name="sf.brag.id" value="SDK"/>
   271                         <param name="sf.brag.id" value="SDK"/>
   282             <!-- WinsCW binaries, by udeb/urel/lib -->
   284             <!-- WinsCW binaries, by udeb/urel/lib -->
   283             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_udeb.log">
   285             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_udeb.log">
   284                 <arg value="a"/>
   286                 <arg value="a"/>
   285                 <arg value="-t${sf.spec.package.zip.format}"/>
   287                 <arg value="-t${sf.spec.package.zip.format}"/>
   286                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   288                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   289 				<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   287                 <arg value="-xr!*.sym"/>
   290                 <arg value="-xr!*.sym"/>
   288                 <arg value="-xr!*.lib"/>
   291                 <arg value="-xr!*.lib"/>
   289                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
   292                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
   290                 <arg value="epoc32\release\winscw\udeb"/>
   293                 <arg value="epoc32\release\winscw\udeb"/>
   291             </exec>
   294             </exec>
   292             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   295             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   293                 <arg value="a"/>
   296                 <arg value="a"/>
   294                 <arg value="-t${sf.spec.package.zip.format}"/>
   297                 <arg value="-t${sf.spec.package.zip.format}"/>
   295                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   298                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   299 				<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   296                 <arg value="-xr!*.sym"/>
   300                 <arg value="-xr!*.sym"/>
   297                 <arg value="-xr!*.lib"/>
   301                 <arg value="-xr!*.lib"/>
   298                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
   302                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
   299                 <arg value="epoc32\release\winscw\urel"/>
   303                 <arg value="epoc32\release\winscw\urel"/>
   300             </exec>
   304             </exec>
   301             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   305             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   302                 <arg value="a"/>
   306                 <arg value="a"/>
   303                 <arg value="-t${sf.spec.package.zip.format}"/>
   307                 <arg value="-t${sf.spec.package.zip.format}"/>
   304                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
   308                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
   305                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   309                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   310 				<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   306                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   311                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   307             </exec>
   312             </exec>
   308             
   313             
   309             <!-- ARMv5 binaries, by udeb/urel/lib -->
   314             <!-- ARMv5 binaries, by udeb/urel/lib -->
   310             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   315             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   311                 <arg value="a"/>
   316                 <arg value="a"/>
   312                 <arg value="-t${sf.spec.package.zip.format}"/>
   317                 <arg value="-t${sf.spec.package.zip.format}"/>
   313                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   318                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   319 				<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   314                 <arg value="-xr!*.sym"/>
   320                 <arg value="-xr!*.sym"/>
   315                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   321                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   316                 <arg value="epoc32\release\armv5\udeb"/>
   322                 <arg value="epoc32\release\armv5\udeb"/>
   317             </exec>
   323             </exec>
   318             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   324             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   319                 <arg value="a"/>
   325                 <arg value="a"/>
   320                 <arg value="-t${sf.spec.package.zip.format}"/>
   326                 <arg value="-t${sf.spec.package.zip.format}"/>
   321                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   327                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   328 				<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   322                 <arg value="-xr!*.sym"/>
   329                 <arg value="-xr!*.sym"/>
   323                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
   330                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
   324                 <arg value="epoc32\release\armv5\urel"/>
   331                 <arg value="epoc32\release\armv5\urel"/>
   325             </exec>
   332             </exec>
   326             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   333             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   327                 <arg value="a"/>
   334                 <arg value="a"/>
   328                 <arg value="-t${sf.spec.package.zip.format}"/>
   335                 <arg value="-t${sf.spec.package.zip.format}"/>
   329                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   336                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   337 				<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   330                 <arg value="-xr!*.sym"/>
   338                 <arg value="-xr!*.sym"/>
   331                 <arg value="-ir!epoc32/release/armv5/_*.bin"/> <!-- include bootloaders in common lib zipfile -->
   339                 <arg value="-ir!epoc32/release/armv5/_*.bin"/> <!-- include bootloaders in common lib zipfile -->
   332                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
   340                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
   333                 <arg value="epoc32\release\armv5\lib"/>
   341                 <arg value="epoc32\release\armv5\lib"/>
   334             </exec>
   342             </exec>
   352     <target name="sf-package-tools" >
   360     <target name="sf-package-tools" >
   353         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log">
   361         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log">
   354             <arg value="a"/>
   362             <arg value="a"/>
   355             <arg value="-t${sf.spec.package.zip.format}"/>
   363             <arg value="-t${sf.spec.package.zip.format}"/>
   356             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   364             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
       
   365 			<arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   357             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> 
   366             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/> 
   358             <arg value="epoc32/tools"/>
   367             <arg value="epoc32/tools"/>
   359             <arg value="epoc32/gcc"/>
   368             <arg value="epoc32/gcc"/>
   360             <arg value="epoc32/gcc_mingw"/>
   369             <arg value="epoc32/gcc_mingw"/>
   361         </exec>
   370         </exec>