sf-platform/build.xml
author Arnaud Lenoir
Wed, 26 Aug 2009 21:52:22 +0100
changeset 377 065183c4417b
parent 367 bed8f6bc974b
permissions -rw-r--r--
Arnaudl adding work done by Darios on raptor summarise.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
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: 57
diff changeset
     3
  <!-- location of this config -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
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: 57
diff changeset
     5
367
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 360
diff changeset
     6
  <!-- import package properties -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 360
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: 360
diff changeset
     8
  
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 360
diff changeset
     9
  <!-- import common properties/targets/references -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 360
diff changeset
    10
  <import file="../common/build.xml" />
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 360
diff changeset
    11
  
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 360
diff changeset
    12
  <!-- import package references -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 360
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: 360
diff changeset
    14
  
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    15
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    16
  * Property defaults
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    17
   -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    18
360
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 358
diff changeset
    19
  <!-- MattD - workaround until generating a model from package definitions works-->
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 358
diff changeset
    20
  <target name="sf-build-noprep" depends="sf-compile,sf-postbuild">
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 358
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: 358
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: 358
diff changeset
    23
  </target>
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 358
diff changeset
    24
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    25
  <!-- workaround until GenXML can merge v2.0.0 fragments -->
346
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: 338
diff changeset
    26
  <!--
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: 338
diff changeset
    27
    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: 338
diff changeset
    28
    Its responsibility is to convert the set of peices in ref "system.definition.files" into one sys def with absolute paths
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    29
346
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: 338
diff changeset
    30
    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: 338
diff changeset
    31
  -->
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: 338
diff changeset
    32
  <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: 338
diff changeset
    33
    <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: 338
diff changeset
    34
      <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: 338
diff changeset
    35
        <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: 338
diff changeset
    36
      </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: 338
diff changeset
    37
    </fail>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    38
346
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: 338
diff changeset
    39
    <!-- 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: 338
diff changeset
    40
    <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: 338
diff changeset
    41
      <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: 338
diff changeset
    42
      <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: 338
diff changeset
    43
        <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: 338
diff changeset
    44
        <!-- 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: 338
diff changeset
    45
        <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: 338
diff changeset
    46
      </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: 338
diff changeset
    47
    </for>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    48
346
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: 338
diff changeset
    49
    <!-- 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: 338
diff changeset
    50
    <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: 338
diff changeset
    51
      <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: 338
diff changeset
    52
        <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: 338
diff changeset
    53
        <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: 338
diff changeset
    54
        <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: 338
diff changeset
    55
        <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: 338
diff changeset
    56
        <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: 338
diff changeset
    57
        <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: 338
diff changeset
    58
        <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: 338
diff changeset
    59
        <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: 338
diff changeset
    60
        <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: 338
diff changeset
    61
        <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: 338
diff changeset
    62
        <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: 338
diff changeset
    63
      </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: 338
diff changeset
    64
    </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: 338
diff changeset
    65
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: 338
diff changeset
    66
 </target>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    67
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    68
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    69
    == Name: SF-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    70
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    71
    == Desc: Override of common sf-compile target defined in
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    72
    ==       common\build.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    73
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    74
    ==       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: 57
diff changeset
    75
    ==       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: 57
diff changeset
    76
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    77
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    78
  <target name="sf-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    79
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    80
    <!-- 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: 57
diff changeset
    81
    <if><istrue value="${sf.spec.splitbuild}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    82
       <then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    83
       <if><istrue value="${sf.spec.os.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    84
            <then><echo message="Skipping OS build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    85
       <else><runtarget target="sf-os-compile"/></else></if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    86
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    87
       <if><istrue value="${sf.spec.s60.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    88
            <then><echo message="Skipping S60 build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    89
       <else><runtarget target="sf-s60-compile"/></else></if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    90
	   </then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    91
	   <else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    92
	        <!-- TODO targets for single sysdef build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    93
	        <runtarget target="sf-os-compile"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    94
	   </else>
258
43d4995ff976 Move runtarget outside if conditional
Shabe Razvi <shaber@symbian.org>
parents: 257
diff changeset
    95
    </if>
257
3e6009eec7ed Fix cenrep to run for both single and split model builds
Shabe Razvi <shaber@symbian.org>
parents: 219
diff changeset
    96
       <!-- always run cenrep -->
3e6009eec7ed Fix cenrep to run for both single and split model builds
Shabe Razvi <shaber@symbian.org>
parents: 219
diff changeset
    97
       <runtarget target="sf-s60-create-cenrep"/>
258
43d4995ff976 Move runtarget outside if conditional
Shabe Razvi <shaber@symbian.org>
parents: 257
diff changeset
    98
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    99
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   100
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   101
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   102
    == Name: SF-OS-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   103
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   104
    == 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: 57
diff changeset
   105
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   106
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   107
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   108
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   109
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   110
  <target name="sf-os-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   111
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   112
        <hlm:argSet id="sbs.tools2.var">
134
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 103
diff changeset
   113
                <hlm:arg name="config" value="tools2_rel.whatlog" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   114
                <hlm:arg name="singlejob" value="false" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   115
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   116
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   117
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   118
		<hlm:argSet id="sbs.tools2.clean.var">
134
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 103
diff changeset
   119
                <hlm:arg name="config" value="tools2_rel.whatlog" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   120
                <hlm:arg name="singlejob" value="false" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   121
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
93
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: 92
diff changeset
   122
		<hlm:arg name="command" value="CLEAN --check" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   123
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   124
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   125
        <hlm:argSet id="sbs.tools.var">
134
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 103
diff changeset
   126
                <hlm:arg name="config" value="tools_rel.whatlog" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   127
                <hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   128
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   129
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   130
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   131
		<hlm:argSet id="sbs.tools.clean.var">
134
5b0bc2f89660 Add postbuild RnD packaging. Add .whatlog to os tools build.
Shabe Razvi <shaber@symbian.org>
parents: 103
diff changeset
   132
                <hlm:arg name="config" value="tools_rel.whatlog" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   133
                <hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   134
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
93
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: 92
diff changeset
   135
		<hlm:arg name="command" value="CLEAN --check" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   136
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   137
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   138
        <hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   139
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   140
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   141
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   142
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   143
		<hlm:argSet id="sbs.main.clean.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   144
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   145
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
93
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: 92
diff changeset
   146
		<hlm:arg name="command" value="CLEAN --check" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   147
        </hlm:argSet>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   148
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   149
		<hlm:argSet id="sbs.main.what.sbs.var">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   150
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   151
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
93
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: 92
diff changeset
   152
		<hlm:arg name="command" value="WHAT" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   153
        </hlm:argSet>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   154
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   155
        <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   156
        <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   157
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   158
		<!-- generate baseline dir list to allow delta creation -->
310
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   159
		<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: 298
diff changeset
   160
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   161
				<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: 298
diff changeset
   162
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   163
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   164
				<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: 298
diff changeset
   165
					<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: 298
diff changeset
   166
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   167
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   168
		</if>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   169
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   170
		<!-- OS what -->
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   171
		<!--
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   172
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   173
                <param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   174
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   175
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   176
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   177
                <reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   178
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   179
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   180
        </antcall>
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   181
		-->
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   182
		
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   183
		<!-- OS clean main build -->
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   184
		<if><istrue value="${sf.spec.baseline.clean}"/>
103
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   185
			<then>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   186
				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   187
						<param name="build.system" value="${sf.spec.build.system}" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   188
						<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: 102
diff changeset
   189
						<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: 102
diff changeset
   190
						<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: 102
diff changeset
   191
						<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   192
						<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   193
						<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: 102
diff changeset
   194
				</antcall>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   195
			</then>
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   196
		</if>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   197
		
310
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   198
		<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: 298
diff changeset
   199
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   200
				<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: 298
diff changeset
   201
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   202
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   203
				<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: 298
diff changeset
   204
					<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: 298
diff changeset
   205
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   206
				<!-- 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: 298
diff changeset
   207
				<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: 298
diff changeset
   208
					<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: 298
diff changeset
   209
					<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: 298
diff changeset
   210
				</antcall>		
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   211
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   212
		</if>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   213
		
310
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   214
		<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: 298
diff changeset
   215
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   216
				<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: 298
diff changeset
   217
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   218
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   219
				<!-- 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: 298
diff changeset
   220
				<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: 298
diff changeset
   221
						<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: 298
diff changeset
   222
						<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: 298
diff changeset
   223
						<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: 298
diff changeset
   224
						<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: 298
diff changeset
   225
						<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: 298
diff changeset
   226
						<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: 298
diff changeset
   227
						<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: 298
diff changeset
   228
				</antcall>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   229
310
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   230
				<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: 298
diff changeset
   231
					<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: 298
diff changeset
   232
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   233
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   234
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   235
				<!-- 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: 298
diff changeset
   236
				<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: 298
diff changeset
   237
						<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: 298
diff changeset
   238
						<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: 298
diff changeset
   239
						<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: 298
diff changeset
   240
						<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: 298
diff changeset
   241
						<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: 298
diff changeset
   242
						<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: 298
diff changeset
   243
						<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: 298
diff changeset
   244
				</antcall>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   245
310
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   246
				<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: 298
diff changeset
   247
					<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: 298
diff changeset
   248
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   249
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   250
		</if>
338
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: 310
diff changeset
   251
		<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: 310
diff changeset
   252
      <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: 310
diff changeset
   253
        <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: 310
diff changeset
   254
          <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: 310
diff changeset
   255
  				<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: 310
diff changeset
   256
  
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: 310
diff changeset
   257
          <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: 310
diff changeset
   258
                  <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: 310
diff changeset
   259
                  <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
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: 310
diff changeset
   260
          </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: 310
diff changeset
   261
          <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: 310
diff changeset
   262
                  <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: 310
diff changeset
   263
                  <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: 310
diff changeset
   264
                  <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: 310
diff changeset
   265
                  <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: 310
diff changeset
   266
                  <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: 310
diff changeset
   267
                  <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: 310
diff changeset
   268
                  <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: 310
diff changeset
   269
          </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: 310
diff changeset
   270
          </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: 310
diff changeset
   271
        </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: 310
diff changeset
   272
      </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: 310
diff changeset
   273
		  <else>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   274
        <!-- OS main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   275
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   276
                <param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   277
                <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: 57
diff changeset
   278
                <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: 57
diff changeset
   279
                <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: 57
diff changeset
   280
                <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   281
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   282
                <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: 57
diff changeset
   283
        </antcall>
338
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: 310
diff changeset
   284
		  </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: 310
diff changeset
   285
    </if>		
310
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   286
		<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: 298
diff changeset
   287
			<then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   288
				<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: 298
diff changeset
   289
			</then>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   290
			<else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   291
				<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: 298
diff changeset
   292
					<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: 298
diff changeset
   293
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   294
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   295
				<!-- 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: 298
diff changeset
   296
				<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: 298
diff changeset
   297
					<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: 298
diff changeset
   298
					<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: 298
diff changeset
   299
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   300
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   301
				<!-- 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: 298
diff changeset
   302
				<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: 298
diff changeset
   303
					<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: 298
diff changeset
   304
					<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: 298
diff changeset
   305
				</antcall>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   306
				
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   307
				<!-- 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: 298
diff changeset
   308
			</else>
1c53d9d8d78d Added a new "sf.os.compile.fast" parameter to skip redundant steps when executing the builds in separate config targets.
ThomasE
parents: 298
diff changeset
   309
		</if>
88
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   310
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   311
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   312
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   313
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   314
    == Name: SF-S60-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   315
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   316
    == 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: 57
diff changeset
   317
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   318
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   319
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   320
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   321
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   322
  <target name="sf-s60-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   323
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   324
        <hlm:argSet id="sbs.tools.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   325
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   326
          			<hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   327
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   328
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   329
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   330
			<hlm:argSet id="sbs.tools.clean.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   331
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   332
          			<hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   333
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   334
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   335
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   336
    		<hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   337
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   338
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   339
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   340
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   341
			<hlm:argSet id="sbs.main.clean.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   342
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   343
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
93
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: 92
diff changeset
   344
				<hlm:arg name="command" value="CLEAN --check" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   345
    		</hlm:argSet>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   346
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   347
			<hlm:argSet id="sbs.main.what.sbs.var">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   348
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   349
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
93
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: 92
diff changeset
   350
				<hlm:arg name="command" value="WHAT" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   351
    		</hlm:argSet>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   352
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   353
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   354
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   355
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   356
		<antcall target="sf-list-dir" inheritAll="false">
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   357
			<param name="sf.list.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   358
		</antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   359
		
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   360
			<!-- s60 what  -->
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   361
			<!--
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   362
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   363
          			<param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   364
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   365
                    <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   366
          			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   367
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   368
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   369
    		</antcall>
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   370
			-->
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   371
			<!-- s60 clean main build -->
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   372
			<if><istrue value="${sf.spec.baseline.clean}"/>
103
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   373
				<then>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   374
					<antcall target="compile-main" inheritAll="false" inheritRefs="true">
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   375
							<param name="build.system" value="${sf.spec.build.system}" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   376
							<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: 102
diff changeset
   377
							<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: 102
diff changeset
   378
							<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   379
							<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   380
							<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: 102
diff changeset
   381
					</antcall>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   382
				</then>
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   383
			</if>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   384
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   385
			<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: 59
diff changeset
   386
				<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: 59
diff changeset
   387
			</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   388
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   389
			<!-- what has been cleaned from baseline PDK by s60 model -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   390
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   391
				<param name="sf.list_a.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   392
				<param name="sf.list_b.name" value="post-s60-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   393
			</antcall>		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   394
			
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   395
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   396
            <!-- s60  tools build -->
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   397
    		<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: 59
diff changeset
   398
          			<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: 59
diff changeset
   399
          			<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: 59
diff changeset
   400
					<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: 59
diff changeset
   401
          			<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: 59
diff changeset
   402
          			<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: 59
diff changeset
   403
          			<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: 59
diff changeset
   404
    		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   405
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   406
			<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: 59
diff changeset
   407
				<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: 59
diff changeset
   408
			</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   409
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   410
    		<!-- s60 main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   411
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   412
          			<param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   413
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
93
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: 92
diff changeset
   414
                                <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   415
          			<reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   416
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   417
          			<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: 57
diff changeset
   418
    		</antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   419
			
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   420
			
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   421
			<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: 59
diff changeset
   422
				<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: 59
diff changeset
   423
			</antcall>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   424
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   425
			<!-- what has been built by tools+2+main -->
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   426
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   427
				<param name="sf.list_a.name" value="s60-baseline"/>
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   428
				<param name="sf.list_b.name" value="post-s60-build-main"/>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   429
			</antcall>		
88
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   430
			
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   431
			<!-- what has been cleaned and rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   432
			<antcall target="sf-intersect-dir" inheritAll="false">
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   433
				<param name="sf.list_a.name" value="post-s60-clean_delta"/>       <!-- clean list -->
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   434
				<param name="sf.list_b.name" value="post-s60-build-main_delta"/>  <!-- built list -->
88
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   435
			</antcall>
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   436
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   437
	</target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   438
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   439
	<target name="sf-s60-create-cenrep">
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   440
        <echo message="INFO Generating CenRep"/>
95
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   441
        <exec executable="${helium.dir}/../ConfigurationTool/cli_build.cmd" dir="${build.drive}" failonerror="false" output="${build.log.dir}/${build.id}_create_cenrep.log">
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   442
		  <arg value="-master_conf"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   443
		  <arg value="s60"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   444
		  <arg value="-impl"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   445
		  <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: 93
diff changeset
   446
		  <arg value="-confml"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   447
		  <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: 93
diff changeset
   448
		  <arg value="-ignore_errors"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   449
        </exec>
95
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   450
		
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   451
		<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: 94
diff changeset
   452
		<then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   453
            <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: 94
diff changeset
   454
    		<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: 94
diff changeset
   455
		</then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   456
		</if>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   457
		
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   458
	</target>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   459
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   460
</project>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   461