common/build.postbuild.xml
changeset 1036 1f465f774089
parent 1035 62b7cda1c2bb
child 1037 3011d062ba36
equal deleted inserted replaced
1035:62b7cda1c2bb 1036:1f465f774089
   239                 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   239                 <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_epoc32.log">
   240                     <arg value="a"/>
   240                     <arg value="a"/>
   241                     <arg value="-t${sf.spec.package.zip.format}"/>
   241                     <arg value="-t${sf.spec.package.zip.format}"/>
   242                     <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> <!-- rnd content taken from internal hg repos -->
   242                     <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/> <!-- rnd content taken from internal hg repos -->
   243                     <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   243                     <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   244                     <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/> <!-- merged list of prebuilt content such as binaries_prebuilt -->
   244                     <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/> <!-- merged list of prebuilt content such as binaries_prebuilt -->
   245                     <arg value="-x@${sf.epoc32.exclusions.file}"/>
   245                     <arg value="-x@${sf.epoc32.exclusions.file}"/>
   246                     <arg value="-x!epoc32\gcc"/>
   246                     <arg value="-x!epoc32\gcc"/>
   247                     <arg value="-x!epoc32\gcc_mingw"/>
   247                     <arg value="-x!epoc32\gcc_mingw"/>
   248                     <arg value="-x!epoc32\tools"/>
   248                     <arg value="-x!epoc32\tools"/>
   249                     <arg value="-x!epoc32\data\buildinfo.txt"/>
   249                     <arg value="-x!epoc32\data\buildinfo.txt"/>
   264                     <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log">
   264                     <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_sdk.log">
   265                         <arg value="a"/>
   265                         <arg value="a"/>
   266                         <arg value="-t${sf.spec.package.zip.format}"/>
   266                         <arg value="-t${sf.spec.package.zip.format}"/>
   267                         <arg value="-i@${sf.sdk.header.list.file}"/>
   267                         <arg value="-i@${sf.sdk.header.list.file}"/>
   268                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   268                         <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   269                         <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   269                         <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   270                         <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   270                         <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   271                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   271                         <arg value="${build.drive}/output/zips/release/binaries_epoc_sdk.zip"/>
   272                     </exec>
   272                     </exec>
   273                     <!-- Check that all the files we want in the SDK are zipped -->
   273                     <!-- Check that all the files we want in the SDK are zipped -->
   274                     <antcall target="sf-log-to-brag">
   274                     <antcall target="sf-log-to-brag">
   288             <!-- WinsCW binaries, by udeb/urel/lib -->
   288             <!-- WinsCW binaries, by udeb/urel/lib -->
   289             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_udeb.log">
   289             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_udeb.log">
   290                 <arg value="a"/>
   290                 <arg value="a"/>
   291                 <arg value="-t${sf.spec.package.zip.format}"/>
   291                 <arg value="-t${sf.spec.package.zip.format}"/>
   292                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   292                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   293                 <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   293                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   294                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   294                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   295                 <arg value="-xr!*.sym"/>
   295                 <arg value="-xr!*.sym"/>
   296                 <arg value="-xr!*.lib"/>
   296                 <arg value="-xr!*.lib"/>
   297                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
   297                 <arg value="${build.drive}/output/zips/release/binaries_winscw_udeb.zip"/>
   298                 <arg value="epoc32\release\winscw\udeb"/>
   298                 <arg value="epoc32\release\winscw\udeb"/>
   299             </exec>
   299             </exec>
   300             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   300             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_urel.log">
   301                 <arg value="a"/>
   301                 <arg value="a"/>
   302                 <arg value="-t${sf.spec.package.zip.format}"/>
   302                 <arg value="-t${sf.spec.package.zip.format}"/>
   303                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   303                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   304                 <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   304                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   305                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   305                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   306                 <arg value="-xr!*.sym"/>
   306                 <arg value="-xr!*.sym"/>
   307                 <arg value="-xr!*.lib"/>
   307                 <arg value="-xr!*.lib"/>
   308                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
   308                 <arg value="${build.drive}/output/zips/release/binaries_winscw_urel.zip"/>
   309                 <arg value="epoc32\release\winscw\urel"/>
   309                 <arg value="epoc32\release\winscw\urel"/>
   311             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   311             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_winscw_lib.log">
   312                 <arg value="a"/>
   312                 <arg value="a"/>
   313                 <arg value="-t${sf.spec.package.zip.format}"/>
   313                 <arg value="-t${sf.spec.package.zip.format}"/>
   314                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
   314                 <arg value="-ir!epoc32/release/winscw/*.lib"/>
   315                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   315                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   316                 <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   316                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   317                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   317                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   318                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   318                 <arg value="${build.drive}/output/zips/release/binaries_winscw_lib.zip"/>
   319             </exec>
   319             </exec>
   320             
   320             
   321             <!-- ARMv5 binaries, by udeb/urel/lib -->
   321             <!-- ARMv5 binaries, by udeb/urel/lib -->
   322             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   322             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_udeb.log">
   323                 <arg value="a"/>
   323                 <arg value="a"/>
   324                 <arg value="-t${sf.spec.package.zip.format}"/>
   324                 <arg value="-t${sf.spec.package.zip.format}"/>
   325                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   325                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   326                 <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   326                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   327                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   327                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   328                 <arg value="-xr!*.sym"/>
   328                 <arg value="-xr!*.sym"/>
   329                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   329                 <arg value="${build.drive}/output/zips/release/binaries_armv5_udeb.zip"/>
   330                 <arg value="epoc32\release\armv5\udeb"/>
   330                 <arg value="epoc32\release\armv5\udeb"/>
   331             </exec>
   331             </exec>
   332             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   332             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_urel.log">
   333                 <arg value="a"/>
   333                 <arg value="a"/>
   334                 <arg value="-t${sf.spec.package.zip.format}"/>
   334                 <arg value="-t${sf.spec.package.zip.format}"/>
   335                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   335                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   336                 <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   336                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   337                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   337                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   338                 <arg value="-xr!*.sym"/>
   338                 <arg value="-xr!*.sym"/>
   339                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
   339                 <arg value="${build.drive}/output/zips/release/binaries_armv5_urel.zip"/>
   340                 <arg value="epoc32\release\armv5\urel"/>
   340                 <arg value="epoc32\release\armv5\urel"/>
   341             </exec>
   341             </exec>
   342             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   342             <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_binaries_armv5_lib.log">
   343                 <arg value="a"/>
   343                 <arg value="a"/>
   344                 <arg value="-t${sf.spec.package.zip.format}"/>
   344                 <arg value="-t${sf.spec.package.zip.format}"/>
   345                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   345                 <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   346                 <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   346                 <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   347                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   347                 <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   348                 <arg value="-xr!*.sym"/>
   348                 <arg value="-xr!*.sym"/>
   349                 <arg value="-ir!epoc32/release/armv5/_*.bin"/> <!-- include bootloaders in common lib zipfile -->
   349                 <arg value="-ir!epoc32/release/armv5/_*.bin"/> <!-- include bootloaders in common lib zipfile -->
   350                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
   350                 <arg value="${build.drive}/output/zips/release/binaries_armv5_lib.zip"/>
   351                 <arg value="epoc32\release\armv5\lib"/>
   351                 <arg value="epoc32\release\armv5\lib"/>
   367             <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   367             <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   368             <param name="zip.target.name" value="rnd-postbuild" />
   368             <param name="zip.target.name" value="rnd-postbuild" />
   369         </antcall>
   369         </antcall>
   370     </target>
   370     </target>
   371 
   371 
   372     <target name="sf-package-tools" >
   372     <target name="sf-package-tools" depends="sf-merge-manifest">
   373         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log">
   373         <exec executable="7za" dir="${build.drive}" output="${build.log.dir}/zip_${build.id}_tools_epoc32.log">
   374             <arg value="a"/>
   374             <arg value="a"/>
   375             <arg value="-t${sf.spec.package.zip.format}"/>
   375             <arg value="-t${sf.spec.package.zip.format}"/>
   376             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   376             <arg value="-x@${build.log.dir}/rnd_excludefile.txt"/>
   377             <arg value="-x@$output/temp_build_files/manifest_excludelist.txt"/>
   377             <arg value="-x@output/temp_build_files/manifest_excludelist.txt"/>
   378             <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   378             <arg value="-x@${sf.spec.prebuilt.excludelist}"/>
   379             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/>
   379             <arg value="${build.drive}/output/zips/release/tools_epoc.zip"/>
   380             <arg value="epoc32/tools"/>
   380             <arg value="epoc32/tools"/>
   381             <arg value="epoc32/gcc"/>
   381             <arg value="epoc32/gcc"/>
   382             <arg value="epoc32/gcc_mingw"/>
   382             <arg value="epoc32/gcc_mingw"/>