sf-platform/build.xml
author Shabe Razvi <shaber@symbian.org>
Mon, 22 Jun 2009 17:35:46 +0100
changeset 218 36d82a2f1f92
parent 213 a4bfc8ed3b04
child 219 d5045b96f54a
permissions -rw-r--r--
Tidy up generate-layers and add missing quote
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
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     6
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     7
  * Property defaults
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     8
   -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     9
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    10
  <!-- workaround until GenXML can merge v2.0.0 fragments -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    11
  <target name="create-canonical-sysdef-file">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    12
89
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    13
    <runtarget target="preprocess-sysdef-files"/>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    14
    <echo message="Exporting preprocessed System Definition"/>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    15
    <if><istrue value="${sf.spec.splitbuild}"/>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    16
       <then>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    17
       <if><istrue value="${sf.spec.os.skipbuild}" />
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    18
            <then><echo message="Skipping OS sysdef creation"/></then>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    19
       <else>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    20
            <!-- TODO use better method to export or wait for GenXML fix?-->
92
c933fe776713 Fix generated sysdef filename and also remove erroneous comment
BuildAdmin@LON-ENGBUILD87
parents: 90
diff changeset
    21
            <copy file="${build.output.dir}\build\input\0000000000000001_system_model_os.xml"
89
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    22
            tofile="${canonical.sysdef.file}" failonerror="false" verbose="true"/>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    23
       </else>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    24
       </if>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    25
89
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    26
       <if><istrue value="${sf.spec.s60.skipbuild}" />
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    27
            <then><echo message="Skipping S60 sysdef creation"/></then>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    28
       <else>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    29
            <!-- TODO use better method to export or wait for GenXML fix?-->
92
c933fe776713 Fix generated sysdef filename and also remove erroneous comment
BuildAdmin@LON-ENGBUILD87
parents: 90
diff changeset
    30
            <copy file="${build.output.dir}\build\input\0000000000000001_system_model_s60.xml"
89
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    31
            tofile="${canonical.sysdef.file}" failonerror="false" verbose="true"/>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    32
	   </else>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    33
	   </if>
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    34
	   </then>
92
c933fe776713 Fix generated sysdef filename and also remove erroneous comment
BuildAdmin@LON-ENGBUILD87
parents: 90
diff changeset
    35
	
90
69c57a9ccb7d Fix missing <if> typo
ShabeR@UK-SHABER
parents: 89
diff changeset
    36
	<else>
69c57a9ccb7d Fix missing <if> typo
ShabeR@UK-SHABER
parents: 89
diff changeset
    37
	    <!-- TODO use better method to export or wait for GenXML fix?-->
69c57a9ccb7d Fix missing <if> typo
ShabeR@UK-SHABER
parents: 89
diff changeset
    38
        <copy file="${build.output.dir}\build\input\*_system_model_os.xml"
69c57a9ccb7d Fix missing <if> typo
ShabeR@UK-SHABER
parents: 89
diff changeset
    39
        tofile="${canonical.sysdef.file}" failonerror="false" verbose="true"/>
89
ddfb6b8da4b4 Remove GenXML filtering and merge as platform System Model xml files should now be complete
ShabeR@UK-SHABER
parents: 88
diff changeset
    40
90
69c57a9ccb7d Fix missing <if> typo
ShabeR@UK-SHABER
parents: 89
diff changeset
    41
	    <!-- TODO targets for single sysdef build -->
69c57a9ccb7d Fix missing <if> typo
ShabeR@UK-SHABER
parents: 89
diff changeset
    42
	    <runtarget target="sf-os-compile"/>
69c57a9ccb7d Fix missing <if> typo
ShabeR@UK-SHABER
parents: 89
diff changeset
    43
	</else>
92
c933fe776713 Fix generated sysdef filename and also remove erroneous comment
BuildAdmin@LON-ENGBUILD87
parents: 90
diff changeset
    44
        </if>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    45
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    46
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    47
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    48
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    49
    == Name: PREPROCESS-SYSDEF-FILES
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    50
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    51
    == Desc: Override of default target in order to deal with symbian os
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    52
    ==       system_definition.xml that does not have /sf source prefix
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    53
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    54
    ==       TODO get this moved as a Helium core target?
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    55
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    56
  <target name="preprocess-sysdef-files">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    57
        <mkdir dir="${build.output.dir}/build/input"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    58
        <delete verbose="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    59
            <fileset dir="${build.output.dir}/build/input/" includes="**"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    60
        </delete>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    61
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    62
        <for param="file">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    63
            <resources refid="system.definition.files"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    64
            <sequential>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    65
                <copy todir="${build.output.dir}/build/input" verbose="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    66
                    <fileset file="@{file}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    67
                    <filterchain>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    68
                        <replaceregex pattern="bldFile=&quot;os" replace="bldFile=&quot;sf\\\\os" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    69
                        <replaceregex pattern="mrp=&quot;os" replace="mrp=&quot;sf\\\\os" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    70
                        <replaceregex pattern="bldFile=&quot;mw" replace="bldFile=&quot;sf\\\\mw" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    71
                        <replaceregex pattern="mrp=&quot;mw" replace="mrp=&quot;sf\\\\mw" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    72
                        <replaceregex pattern="bldFile=&quot;app" replace="bldFile=&quot;sf\\\\app" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    73
                        <replaceregex pattern="mrp=&quot;app" replace="mrp=&quot;sf\\\\app" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    74
                        <expandproperties/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    75
                    </filterchain>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    76
                    <mapper>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    77
                        <scriptmapper language="jep" src="${helium.dir}/tools/common/jep/unique_filename.jep"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    78
                    </mapper>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    79
                </copy>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    80
            </sequential>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    81
        </for>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    82
    </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    83
218
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    84
211
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    85
    <target name="generate-layers">
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    86
       <echo message="canno-file:${canonical.sysdef.file}"/>
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    87
       <echo message="raptor-filters:raptor_${sysdef.configuration}"/>
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    88
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    89
       <!-- All we want is a sysdef with the config name appended, so just copy it -->
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    90
       <echo message="INFO: Skip GenXML and copy sysdef to sysdef+config name"/>
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    91
       <copy file="${canonical.sysdef.file}" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
    92
218
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    93
        <copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml">
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    94
        <filterchain>
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    95
            <linecontainsregexp negate="true">
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    96
                <regexp pattern="^\s*$"/>
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    97
            </linecontainsregexp>
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    98
        </filterchain>
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
    99
        </copy>
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
   100
        <copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" todir="${build.log.dir}/BOM/"/>
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
   101
        <delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
36d82a2f1f92 Tidy up generate-layers and add missing quote
Shabe Razvi <shaber@symbian.org>
parents: 213
diff changeset
   102
    </target>
211
29424d1bc56b Rollback the removal of overriden generate-layers target - required platform build
Shabe Razvi <shaber@symbian.org>
parents: 209
diff changeset
   103
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   104
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   105
    == Name: SF-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   106
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   107
    == 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
   108
    ==       common\build.xml
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
    ==       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
   111
    ==       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
   112
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   113
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   114
  <target name="sf-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   115
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   116
    <!-- 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
   117
    <if><istrue value="${sf.spec.splitbuild}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   118
       <then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   119
       <if><istrue value="${sf.spec.os.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   120
            <then><echo message="Skipping OS build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   121
       <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
   122
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   123
       <if><istrue value="${sf.spec.s60.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   124
            <then><echo message="Skipping S60 build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   125
       <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
   126
	   </then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   127
	   <else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   128
	        <!-- TODO targets for single sysdef build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   129
	        <runtarget target="sf-os-compile"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   130
	   </else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   131
    </if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   132
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   133
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   134
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   135
    == Name: SF-OS-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   136
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   137
    == 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
   138
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   139
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   140
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   141
    ==
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
  <target name="sf-os-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   144
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   145
        <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
   146
                <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
   147
                <hlm:arg name="singlejob" value="false" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   148
                <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
   149
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   150
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   151
		<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
   152
                <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
   153
                <hlm:arg name="singlejob" value="false" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   154
                <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
   155
		<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
   156
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   157
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   158
        <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
   159
                <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
   160
                <hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   161
                <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
   162
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   163
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   164
		<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
   165
                <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
   166
                <hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   167
                <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
   168
		<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
   169
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   170
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   171
        <hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   172
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   173
                <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
   174
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   175
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   176
		<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
   177
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   178
                <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
   179
		<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
   180
        </hlm:argSet>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   181
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   182
		<hlm:argSet id="sbs.main.what.sbs.var">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   183
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   184
                <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
   185
		<hlm:arg name="command" value="WHAT" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   186
        </hlm:argSet>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   187
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   188
        <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
   189
        <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
   190
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   191
		<!-- generate baseline dir list to allow delta creation -->
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   192
		<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
   193
			<param name="sf.list.name" value="baseline"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   194
		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   195
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   196
		<!-- OS what -->
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   197
		<!--
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   198
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   199
                <param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   200
                <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
   201
                <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
   202
                <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
   203
                <reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   204
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   205
                <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
   206
        </antcall>
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   207
		-->
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   208
		
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   209
		<!-- OS clean main build -->
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   210
		<if><istrue value="${sf.spec.baseline.clean}"/>
103
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   211
			<then>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   212
				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   213
						<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
   214
						<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
   215
						<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
   216
						<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
   217
						<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
   218
						<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
   219
						<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
   220
				</antcall>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   221
			</then>
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   222
		</if>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   223
		
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   224
		<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
   225
			<param name="sf.list.name" value="post-clean"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   226
		</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   227
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   228
		<!-- what has been cleaned from baseline PDK by sos model -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   229
		<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   230
			<param name="sf.list_a.name" value="baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   231
			<param name="sf.list_b.name" value="post-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   232
		</antcall>		
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   233
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   234
        <!-- OS tools2 build first-->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   235
        <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
   236
                <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
   237
                <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
   238
                <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
   239
                <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
   240
                <reference refid="sbs.tools2.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   241
                <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   242
                <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
   243
        </antcall>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   244
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   245
		<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
   246
			<param name="sf.list.name" value="post-build-tools2"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   247
		</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   248
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   249
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   250
        <!-- OS tools build after tools2 -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   251
        <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
   252
                <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
   253
                <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
   254
                <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
   255
                <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
   256
                <reference refid="sbs.tools.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   257
                <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   258
                <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
   259
        </antcall>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   260
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   261
		<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
   262
			<param name="sf.list.name" value="post-build-tools"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   263
		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   264
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   265
        <!-- OS main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   266
        <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
   267
                <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
   268
                <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
   269
                <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
   270
                <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
   271
                <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
   272
                <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
   273
                <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
   274
        </antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   275
		
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   276
		<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
   277
			<param name="sf.list.name" value="post-build-main"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   278
		</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   279
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   280
		<!-- what has been built in tools2+tools+main -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   281
		<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   282
			<param name="sf.list_a.name" value="post-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   283
			<param name="sf.list_b.name" value="post-build-main"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   284
		</antcall>
88
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   285
		
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   286
		<!-- what has been cleaned and rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   287
		<antcall target="sf-intersect-dir" inheritAll="false">
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   288
			<param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   289
			<param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   290
		</antcall>
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   291
		
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   292
		<!-- what has been cleaned and not rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   293
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   294
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   295
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   296
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   297
    == Name: SF-S60-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   298
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   299
    == 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
   300
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   301
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   302
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   303
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   304
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   305
  <target name="sf-s60-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   306
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   307
        <hlm:argSet id="sbs.tools.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   308
          			<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
   309
          			<hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   310
          			<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
   311
    		</hlm:argSet>
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
			<hlm:argSet id="sbs.tools.clean.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   314
          			<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
   315
          			<hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   316
          			<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
   317
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   318
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   319
    		<hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   320
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   321
          			<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
   322
    		</hlm:argSet>
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.main.clean.sbs.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.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   326
          			<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
   327
				<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
   328
    		</hlm:argSet>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   329
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   330
			<hlm:argSet id="sbs.main.what.sbs.var">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   331
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   332
          			<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
   333
				<hlm:arg name="command" value="WHAT" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   334
    		</hlm:argSet>
59
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:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   337
    		<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
   338
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   339
		<antcall target="sf-list-dir" inheritAll="false">
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   340
			<param name="sf.list.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   341
		</antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   342
		
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   343
			<!-- s60 what  -->
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   344
			<!--
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   345
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   346
          			<param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   347
          			<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
   348
                    <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
   349
          			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   350
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   351
          			<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
   352
    		</antcall>
195
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 134
diff changeset
   353
			-->
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   354
			<!-- s60 clean main build -->
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   355
			<if><istrue value="${sf.spec.baseline.clean}"/>
103
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   356
				<then>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   357
					<antcall target="compile-main" inheritAll="false" inheritRefs="true">
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   358
							<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
   359
							<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
   360
							<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
   361
							<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
   362
							<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
   363
							<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
   364
					</antcall>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 102
diff changeset
   365
				</then>
102
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 95
diff changeset
   366
			</if>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   367
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   368
			<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
   369
				<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
   370
			</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   371
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   372
			<!-- what has been cleaned from baseline PDK by s60 model -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   373
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   374
				<param name="sf.list_a.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   375
				<param name="sf.list_b.name" value="post-s60-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   376
			</antcall>		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   377
			
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   378
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   379
            <!-- 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
   380
    		<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
   381
          			<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
   382
          			<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
   383
					<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
   384
          			<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
   385
          			<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
   386
          			<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
   387
    		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   388
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   389
			<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
   390
				<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
   391
			</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   392
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   393
    		<!-- s60 main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   394
    		<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
   395
          			<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
   396
          			<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
   397
                                <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
   398
          			<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
   399
          			<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
   400
          			<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
   401
    		</antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   402
			
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   403
			<runtarget target="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
   404
			
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   405
			<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
   406
				<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
   407
			</antcall>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   408
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   409
			<!-- what has been built by tools+2+main -->
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   410
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   411
				<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
   412
				<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
   413
			</antcall>		
88
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   414
			
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   415
			<!-- what has been cleaned and rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   416
			<antcall target="sf-intersect-dir" inheritAll="false">
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   417
				<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
   418
				<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
   419
			</antcall>
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   420
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   421
	</target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   422
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   423
	<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
   424
        <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
   425
        <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
   426
		  <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
   427
		  <arg value="s60"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   428
		  <arg value="-impl"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   429
		  <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
   430
		  <arg value="-confml"/>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   431
		  <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
   432
		  <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
   433
        </exec>
95
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   434
		
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   435
		<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
   436
		<then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   437
            <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
   438
    		<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
   439
		</then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   440
		</if>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 94
diff changeset
   441
		
94
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   442
	</target>
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 93
diff changeset
   443
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   444
  <!-- import sf-common-config -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   445
  <import file="../common/build.xml" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   446
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   447
</project>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   448