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