sf-platform/build.xml
author Maciej Seroka <maciejs@symbian.org>
Thu, 24 Sep 2009 14:35:33 +0100
changeset 513 c3c4bd651f18
parent 482 81211967e594
child 532 082968cf2c9e
permissions -rw-r--r--
Files required to build 50_Symbian_T_MdaAudioToneUtility.SIS
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     2
<project name="SF-PLATFORM-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     3
  <!-- location of this config -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     4
  <dirname property="sf.platform.config.dir" file="${ant.file.SF-PLATFORM-CONFIG}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     5
367
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     6
  <!-- import package properties -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     7
  <import file="${sf.platform.config.dir}/platform_props.ant.xml" optional="true"/>
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     8
  
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     9
  <!-- import common properties/targets/references -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    10
  <import file="../common/build.xml" />
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    11
  
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    12
  <!-- import package references -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    13
  <import file="${sf.platform.config.dir}/platform_refs.ant.xml"  optional="true"/>
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    14
  
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    15
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    16
  * Property defaults
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    17
   -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    18
359
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    19
  <!-- MattD - workaround until generating a model from package definitions works-->
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    20
  <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile,sf-postbuild">
359
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    21
    <echo>[SF-BUILD-NOPREP] (platform)</echo>
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    22
    <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    23
  </target>
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    24
482
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    25
  <target name="sf-platform-bootstrap" depends="sf-gen-buildinfo-txt,sf-platform-bootstrap-gt,sf-platform-bootstrap-s60"/>
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    26
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    27
  <target name="sf-gen-buildinfo-txt">
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    28
    <mkdir dir="${build.drive}/epoc32/data/"/> 
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    29
    <delete file="${build.drive}/epoc32/data/BuildInfo.txt"/>
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    30
    <echo file="${build.drive}/epoc32/data/BuildInfo.txt" append="true" message="DeviceFamily               100 ${line.separator}"/>
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    31
    <echo file="${build.drive}/epoc32/data/BuildInfo.txt" append="true" message="DeviceFamilyRev            0x900 ${line.separator}"/>
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    32
    <echo file="${build.drive}/epoc32/data/BuildInfo.txt" append="true" message="ManufacturerSoftwareBuild  ${build.id}_Symbian_OS_v${sf.spec.sbs.variant} ${line.separator}"/>
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    33
  </target>
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    34
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    35
  <target name="sf-platform-bootstrap-gt" >
391
bb7bd27a0a82 bldmefirst fix for symbian^2 symbian^3 builds - getting location of symbian_OS.hrh and variant.cfg from the project config.
MattD <mattd@symbian.org>
parents: 375
diff changeset
    36
    <echo>[SF-platform-bootstrap-gt]</echo>
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    37
    <!-- do initial stuff to get raptor working -->
453
ab0e196dc2a6 Export all required .hrh files
Shabe Razvi <shaber@symbian.org>
parents: 394
diff changeset
    38
    <copy todir="${build.drive}/epoc32/include/variant/" failonerror="true" verbose="true">
ab0e196dc2a6 Export all required .hrh files
Shabe Razvi <shaber@symbian.org>
parents: 394
diff changeset
    39
        <fileset dir="${build.drive}/${sf.spec.bldmefirst.gt.hrh}" includes="*.hrh"/>
ab0e196dc2a6 Export all required .hrh files
Shabe Razvi <shaber@symbian.org>
parents: 394
diff changeset
    40
    </copy>
391
bb7bd27a0a82 bldmefirst fix for symbian^2 symbian^3 builds - getting location of symbian_OS.hrh and variant.cfg from the project config.
MattD <mattd@symbian.org>
parents: 375
diff changeset
    41
    <copy file="${build.drive}/${sf.spec.bldmefirst.gt.variant}" tofile="${build.drive}/epoc32/tools/variant/variant.cfg" failonerror="true" verbose="true" preservelastmodified="true" />
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    42
  </target>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    43
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    44
  <target name="sf-platform-bootstrap-s60" >    
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    45
    <!-- Do touch on S60 variant.cfg to force raptor to export -->
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    46
    <touch file="${build.drive}/${sf.spec.bldmefirst.s60.sbs.variant.cfg}" />
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    47
    <delete file="${build.log.dir}/${build.id}_bldmefirst-s60.log"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    48
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    49
    <property name="sf.compile.bldmefirst.command.sbsexport" value="sbs EXPORT --ignore-os-detection --export-only"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    50
    <!-- do bldmefirst stage 1-->
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    51
    <for list="${sf.spec.bldmefirst.s60.exports}" delimiter="," param="sf.spec.bldmefirst.s60.export">
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    52
      <sequential>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    53
          <echo message="Performing bldmefirst export on @{sf.spec.bldmefirst.s60.export}"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    54
          <exec executable="cmd" dir="${build.drive}" failonerror="true" append="true" output="${build.log.dir}/${build.id}_bldmefirst-s60.log">
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    55
            <arg value="/c"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    56
            <arg value="${sf.compile.bldmefirst.command.sbsexport}" />
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    57
            <arg value="-b"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    58
            <arg value="${build.drive}/@{sf.spec.bldmefirst.s60.export}/bld.inf"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    59
          </exec>  
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    60
      </sequential>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    61
    </for>  
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    62
    <copy todir="${build.drive}/epoc32/tools/makefile_templates/s60">
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    63
        <fileset dir="${build.drive}/sf/tools/makefile_templates">
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    64
          <exclude name=".hg*"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    65
          <exclude name=".hg/**"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    66
          <exclude name="layers.sysdef.xml"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    67
        </fileset>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    68
    </copy>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    69
  </target>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    70
            
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    71
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    72
  <!-- workaround until GenXML can merge v2.0.0 fragments -->
348
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    73
  <!--
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    74
    This target is effectively a callback, called from compile-main.
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    75
    Its responsibility is to convert the set of peices in ref "system.definition.files" into one sys def with absolute paths
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    76
348
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    77
    However, in our builds, we know that there will only be one sysdef peice passed in, so that makes things a lot simpler
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    78
  -->
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    79
  <target name="create-canonical-sysdef-file">
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    80
    <fail message="Symbian builds create a canonical system definition from exactly one peice">
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    81
      <condition>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    82
        <resourcecount refid="system.definition.files" when="ne" count="1"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    83
      </condition>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    84
    </fail>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    85
348
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    86
    <!-- Locate the first/only item referenced -->
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    87
    <for param="file">
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    88
      <resources refid="system.definition.files"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    89
      <sequential>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    90
        <echo message="@{file}"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    91
        <!-- Once a property is set, it stays set - bingo! -->
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    92
        <property name="sf.first.system.definition" value="@{file}"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    93
      </sequential>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    94
    </for>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    95
348
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    96
    <!-- Having located the file, copy it to the final desired location, absoluting tha paths as we go -->
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    97
    <copy tofile="${canonical.sysdef.file}" file="${sf.first.system.definition}" overwrite="true" verbose="true">
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    98
      <filterchain>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    99
        <replaceregex pattern="bldFile=&quot;os" replace="bldFile=&quot;/sf/os" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   100
        <replaceregex pattern="mrp=&quot;os" replace="mrp=&quot;/sf/os" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   101
        <replaceregex pattern="bldFile=&quot;mw" replace="bldFile=&quot;/sf/mw" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   102
        <replaceregex pattern="mrp=&quot;mw" replace="mrp=&quot;/sf/mw" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   103
        <replaceregex pattern="bldFile=&quot;app" replace="bldFile=&quot;/sf/app" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   104
        <replaceregex pattern="mrp=&quot;app" replace="mrp=&quot;/sf/app" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   105
        <replaceregex pattern="bldFile=&quot;tools" replace="bldFile=&quot;/sf/tools" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   106
        <replaceregex pattern="mrp=&quot;tools" replace="mrp=&quot;/sf/tools" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   107
        <replaceregex pattern="bldFile=&quot;adaptation" replace="bldFile=&quot;/sf/adaptation" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   108
        <replaceregex pattern="mrp=&quot;adaptation" replace="mrp=&quot;/sf/adaptation" flags="gi"/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   109
        <expandproperties/>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   110
      </filterchain>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   111
    </copy>
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   112
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
   113
 </target>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   114
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   115
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   116
    == Name: SF-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   117
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   118
    == Desc: Override of common sf-compile target defined in
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   119
    ==       common\build.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   120
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   121
    ==       os  build will be skipped if sf.spec.os.skipbuild=true
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   122
    ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   123
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   124
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   125
  <target name="sf-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   126
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   127
    <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   128
    <if><istrue value="${sf.spec.splitbuild}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   129
       <then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   130
       <if><istrue value="${sf.spec.os.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   131
            <then><echo message="Skipping OS build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   132
       <else><runtarget target="sf-os-compile"/></else></if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   133
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   134
       <if><istrue value="${sf.spec.s60.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   135
            <then><echo message="Skipping S60 build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   136
       <else><runtarget target="sf-s60-compile"/></else></if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   137
	   </then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   138
	   <else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   139
	        <!-- TODO targets for single sysdef build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   140
	        <runtarget target="sf-os-compile"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   141
	   </else>
238
43d4995ff976 Move runtarget outside if conditional
Shabe Razvi <shaber@symbian.org>
parents: 237
diff changeset
   142
    </if>
237
3e6009eec7ed Fix cenrep to run for both single and split model builds
Shabe Razvi <shaber@symbian.org>
parents: 217
diff changeset
   143
       <!-- always run cenrep -->
3e6009eec7ed Fix cenrep to run for both single and split model builds
Shabe Razvi <shaber@symbian.org>
parents: 217
diff changeset
   144
       <runtarget target="sf-s60-create-cenrep"/>
238
43d4995ff976 Move runtarget outside if conditional
Shabe Razvi <shaber@symbian.org>
parents: 237
diff changeset
   145
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   146
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   147
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   148
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   149
    == Name: SF-OS-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   150
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   151
    == Desc: Compile OS part of build using the spec defined in:
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   152
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   153
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   154
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   155
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   156
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   157
  <target name="sf-os-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   158
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   159
        <hlm:argSet id="sbs.tools2.var">
111
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 80
diff changeset
   160
                <hlm:arg name="config" value="tools2_rel.whatlog" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   161
                <hlm:arg name="singlejob" value="false" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   162
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   163
                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   164
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   165
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   166
		<hlm:argSet id="sbs.tools2.clean.var">
111
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 80
diff changeset
   167
                <hlm:arg name="config" value="tools2_rel.whatlog" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   168
                <hlm:arg name="singlejob" value="false" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   169
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
70
7f26de0cdae5 Include --check on CLEAN and also remove S60_bldmelast configuration. It didnt work anyway as s60cli.exe is not present.
ShabeR@UK-SHABER
parents: 69
diff changeset
   170
		<hlm:arg name="command" value="CLEAN --check" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   171
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   172
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   173
        <hlm:argSet id="sbs.tools.var">
111
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 80
diff changeset
   174
                <hlm:arg name="config" value="tools_rel.whatlog" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   175
                <hlm:arg name="singlejob" value="true" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   176
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   177
                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   178
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   179
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   180
		<hlm:argSet id="sbs.tools.clean.var">
111
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 80
diff changeset
   181
                <hlm:arg name="config" value="tools_rel.whatlog" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   182
                <hlm:arg name="singlejob" value="true" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   183
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
70
7f26de0cdae5 Include --check on CLEAN and also remove S60_bldmelast configuration. It didnt work anyway as s60cli.exe is not present.
ShabeR@UK-SHABER
parents: 69
diff changeset
   184
		<hlm:arg name="command" value="CLEAN --check" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   185
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   186
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   187
        <hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   188
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   189
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   190
                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   191
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   192
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   193
		<hlm:argSet id="sbs.main.clean.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   194
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   195
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
70
7f26de0cdae5 Include --check on CLEAN and also remove S60_bldmelast configuration. It didnt work anyway as s60cli.exe is not present.
ShabeR@UK-SHABER
parents: 69
diff changeset
   196
		<hlm:arg name="command" value="CLEAN --check" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   197
        </hlm:argSet>
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   198
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   199
		<hlm:argSet id="sbs.main.what.sbs.var">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   200
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   201
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
70
7f26de0cdae5 Include --check on CLEAN and also remove S60_bldmelast configuration. It didnt work anyway as s60cli.exe is not present.
ShabeR@UK-SHABER
parents: 69
diff changeset
   202
		<hlm:arg name="command" value="WHAT" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   203
        </hlm:argSet>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   204
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   205
        <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   206
        <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   207
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   208
		<!-- generate baseline dir list to allow delta creation -->
283
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   209
		<if><isset property="sf.os.compile.fast"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   210
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   211
				<echo message="INFO [FAST COMPILE] Skipping baseline dir list generation"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   212
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   213
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   214
				<antcall target="sf-list-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   215
					<param name="sf.list.name" value="baseline"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   216
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   217
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   218
		</if>
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   219
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   220
		<!-- OS what -->
155
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 111
diff changeset
   221
		<!--
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   222
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   223
                <param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   224
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   225
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   226
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   227
                <reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   228
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   229
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   230
        </antcall>
155
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 111
diff changeset
   231
		-->
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   232
		
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   233
		<!-- OS clean main build -->
79
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 72
diff changeset
   234
		<if><istrue value="${sf.spec.baseline.clean}"/>
80
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   235
			<then>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   236
				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   237
						<param name="build.system" value="${sf.spec.build.system}" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   238
						<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   239
						<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   240
						<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   241
						<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   242
						<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   243
						<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   244
				</antcall>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   245
			</then>
79
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 72
diff changeset
   246
		</if>
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   247
		
283
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   248
		<if><isset property="sf.os.compile.fast"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   249
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   250
				<echo message="INFO [FAST COMPILE] Skipping baseline vs post-clean delta generation"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   251
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   252
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   253
				<antcall target="sf-list-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   254
					<param name="sf.list.name" value="post-clean"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   255
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   256
				<!-- what has been cleaned from baseline PDK by sos model -->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   257
				<antcall target="sf-delta-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   258
					<param name="sf.list_a.name" value="baseline"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   259
					<param name="sf.list_b.name" value="post-clean"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   260
				</antcall>		
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   261
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   262
		</if>
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   263
		
283
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   264
		<if><isset property="sf.os.compile.fast"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   265
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   266
				<echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   267
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   268
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   269
				<!-- OS tools2 build first-->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   270
				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   271
						<param name="build.system" value="${sf.spec.build.system}" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   272
						<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   273
						<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   274
						<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   275
						<reference refid="sbs.tools2.var" torefid="sbs.var" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   276
						<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   277
						<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   278
				</antcall>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   279
283
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   280
				<antcall target="sf-list-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   281
					<param name="sf.list.name" value="post-build-tools2"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   282
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   283
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   284
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   285
				<!-- OS tools build after tools2 -->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   286
				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   287
						<param name="build.system" value="${sf.spec.build.system}" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   288
						<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   289
						<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   290
						<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   291
						<reference refid="sbs.tools.var" torefid="sbs.var" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   292
						<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   293
						<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   294
				</antcall>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   295
283
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   296
				<antcall target="sf-list-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   297
					<param name="sf.list.name" value="post-build-tools"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   298
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   299
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   300
		</if>
311
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   301
		<if><isset property="sf.os.compile.iterate"/>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   302
      <then>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   303
        <for list="${sf.spec.sbs.config}" delimiter="," param="sf.spec.sbs.splitconfig">
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   304
          <sequential>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   305
  				<echo message="INFO [Iterative compile] @{sf.spec.sbs.splitconfig}"/>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   306
  
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   307
          <hlm:argSet id="sbs.main.iterate.sbs.var">
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   308
                  <hlm:arg name="config" value="@{sf.spec.sbs.splitconfig}" />
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   309
                  <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   310
                  <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
311
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   311
          </hlm:argSet>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   312
          <antcall target="compile-main" inheritAll="false" inheritRefs="true">
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   313
                  <param name="build.system" value="${sf.spec.build.system}" />
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   314
                  <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   315
                  <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   316
                  <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   317
                  <reference refid="sbs.main.iterate.sbs.var" torefid="sbs.var" />
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   318
                  <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   319
                  <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   320
          </antcall>                
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   321
          </sequential>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   322
        </for>        
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   323
      </then>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   324
		  <else>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   325
        <!-- OS main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   326
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   327
                <param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   328
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   329
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   330
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   331
                <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   332
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   333
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   334
        </antcall>
311
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   335
		  </else>
7d60f71b6a78 platform build - added 'sf.os.compile.iterate' variable to iterate though the main targets rather than all at once to work around raptor problems with single model.
MattD <mattd@symbian.org>
parents: 283
diff changeset
   336
    </if>		
283
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   337
		<if><isset property="sf.os.compile.fast"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   338
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   339
				<echo message="INFO [FAST COMPILE] Skipping delta and intersect list generation"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   340
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   341
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   342
				<antcall target="sf-list-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   343
					<param name="sf.list.name" value="post-build-main"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   344
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   345
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   346
				<!-- what has been built in tools2+tools+main -->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   347
				<antcall target="sf-delta-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   348
					<param name="sf.list_a.name" value="post-clean"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   349
					<param name="sf.list_b.name" value="post-build-main"/>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   350
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   351
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   352
				<!-- what has been cleaned and rebuilt -->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   353
				<antcall target="sf-intersect-dir" inheritAll="false">
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   354
					<param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   355
					<param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   356
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   357
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   358
				<!-- what has been cleaned and not rebuilt -->
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   359
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 271
diff changeset
   360
		</if>
65
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   361
		
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   362
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   363
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   364
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   365
    == Name: SF-S60-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   366
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   367
    == Desc: Compile S60 part of build using the spec defined in:
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   368
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   369
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   370
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   371
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   372
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   373
  <target name="sf-s60-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   374
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   375
        <hlm:argSet id="sbs.tools.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   376
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   377
          			<hlm:arg name="singlejob" value="true" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   378
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   379
                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   380
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   381
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   382
			<hlm:argSet id="sbs.tools.clean.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   383
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   384
          			<hlm:arg name="singlejob" value="true" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   385
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   386
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   387
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   388
    		<hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   389
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   390
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   391
                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   392
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   393
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   394
			<hlm:argSet id="sbs.main.clean.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   395
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   396
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
70
7f26de0cdae5 Include --check on CLEAN and also remove S60_bldmelast configuration. It didnt work anyway as s60cli.exe is not present.
ShabeR@UK-SHABER
parents: 69
diff changeset
   397
				<hlm:arg name="command" value="CLEAN --check" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   398
    		</hlm:argSet>
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   399
			
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   400
          			<hlm:argSet id="sbs.main.what.sbs.var">
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   401
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   402
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
70
7f26de0cdae5 Include --check on CLEAN and also remove S60_bldmelast configuration. It didnt work anyway as s60cli.exe is not present.
ShabeR@UK-SHABER
parents: 69
diff changeset
   403
				<hlm:arg name="command" value="WHAT" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   404
    		</hlm:argSet>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   405
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   406
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   407
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   408
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   409
		<antcall target="sf-list-dir" inheritAll="false">
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   410
			<param name="sf.list.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   411
		</antcall>
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   412
		
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   413
			<!-- s60 what  -->
155
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 111
diff changeset
   414
			<!--
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   415
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   416
          			<param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   417
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   418
                    <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   419
          			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   420
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   421
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   422
    		</antcall>
155
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 111
diff changeset
   423
			-->
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   424
			<!-- s60 clean main build -->
79
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 72
diff changeset
   425
			<if><istrue value="${sf.spec.baseline.clean}"/>
80
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   426
				<then>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   427
					<antcall target="compile-main" inheritAll="false" inheritRefs="true">
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   428
							<param name="build.system" value="${sf.spec.build.system}" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   429
							<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   430
							<param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   431
							<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   432
							<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   433
							<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   434
					</antcall>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   435
				</then>
79
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 72
diff changeset
   436
			</if>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   437
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   438
			<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   439
				<param name="sf.list.name" value="post-s60-clean"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   440
			</antcall>
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   441
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   442
			<!-- what has been cleaned from baseline PDK by s60 model -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   443
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   444
				<param name="sf.list_a.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   445
				<param name="sf.list_b.name" value="post-s60-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   446
			</antcall>		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   447
			
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   448
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   449
            <!-- s60  tools build -->
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   450
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   451
          			<param name="build.system" value="${sf.spec.build.system}" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   452
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   453
					<param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   454
          			<reference refid="sbs.tools.var" torefid="sbs.var" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   455
          			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   456
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   457
    		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   458
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   459
			<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   460
				<param name="sf.list.name" value="post-s60-build-tools"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   461
			</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   462
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   463
    		<!-- s60 main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   464
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   465
          			<param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   466
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
70
7f26de0cdae5 Include --check on CLEAN and also remove S60_bldmelast configuration. It didnt work anyway as s60cli.exe is not present.
ShabeR@UK-SHABER
parents: 69
diff changeset
   467
                                <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   468
          			<reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   469
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   470
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   471
    		</antcall>
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   472
			
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   473
			
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   474
			<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   475
				<param name="sf.list.name" value="post-s60-build-main"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   476
			</antcall>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   477
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   478
			<!-- what has been built by tools+2+main -->
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   479
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   480
				<param name="sf.list_a.name" value="s60-baseline"/>
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   481
				<param name="sf.list_b.name" value="post-s60-build-main"/>
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   482
			</antcall>		
65
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   483
			
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   484
			<!-- what has been cleaned and rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   485
			<antcall target="sf-intersect-dir" inheritAll="false">
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   486
				<param name="sf.list_a.name" value="post-s60-clean_delta"/>       <!-- clean list -->
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   487
				<param name="sf.list_b.name" value="post-s60-build-main_delta"/>  <!-- built list -->
65
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   488
			</antcall>
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   489
		
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   490
	</target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   491
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   492
	<target name="sf-s60-create-cenrep">
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   493
        <echo message="INFO Generating CenRep"/>
72
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   494
        <exec executable="${helium.dir}/../ConfigurationTool/cli_build.cmd" dir="${build.drive}" failonerror="false" output="${build.log.dir}/${build.id}_create_cenrep.log">
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   495
		  <arg value="-master_conf"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   496
		  <arg value="s60"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   497
		  <arg value="-impl"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   498
		  <arg value="/epoc32/rom/config/confml_data/s60"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   499
		  <arg value="-confml"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   500
		  <arg value="/epoc32/rom/config/confml_data/s60"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   501
		  <arg value="-ignore_errors"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   502
        </exec>
72
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   503
		
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   504
		<if><available  file="${build.drive}/cli_build_error.log" />
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   505
		<then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   506
            <echo message="INFO CenRep error log found, moving to ${build.log.dir}" />
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   507
    		<move file="${build.drive}/cli_build_error.log" todir="${build.log.dir}" failonerror="false"/>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   508
		</then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   509
		</if>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   510
		
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   511
	</target>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   512
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   513
</project>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   514