sf-platform/build.xml
author Simon Howkins <simonh@symbian.org>
Fri, 05 Mar 2010 16:20:28 +0000
changeset 911 49d8149ba655
parent 899 d80a65072ed8
child 913 eeffe74cd1b2
permissions -rw-r--r--
Changes to zipping during platform build; binary files are divided into 4 more zips, reducing individual sizes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     2
<project name="SF-PLATFORM-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     3
  <!-- location of this config -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     4
  <dirname property="sf.platform.config.dir" file="${ant.file.SF-PLATFORM-CONFIG}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
     5
367
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     6
  <!-- import package properties -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     7
  <import file="${sf.platform.config.dir}/platform_props.ant.xml" optional="true"/>
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     8
  
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
     9
  <!-- import common properties/targets/references -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    10
  <import file="../common/build.xml" />
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    11
  
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    12
  <!-- import package references -->
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    13
  <import file="${sf.platform.config.dir}/platform_refs.ant.xml"  optional="true"/>
bed8f6bc974b Added disk space check for all builds.
Simon Howkins <simonh@symbian.org>
parents: 359
diff changeset
    14
  
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    15
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    16
  * Property defaults
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    17
   -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    18
359
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    19
  <!-- MattD - workaround until generating a model from package definitions works-->
899
d80a65072ed8 Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents: 870
diff changeset
    20
  <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile,sf-postbuild">
359
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    21
    <echo>[SF-BUILD-NOPREP] (platform)</echo>
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    22
    <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    23
  </target>
16775fa40f8c Moved comments around to be adjacent to the thing that they're describing.
Simon Howkins <simonh@symbian.org>
parents: 357
diff changeset
    24
482
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    25
  <target name="sf-platform-bootstrap" depends="sf-gen-buildinfo-txt,sf-platform-bootstrap-gt,sf-platform-bootstrap-s60"/>
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    26
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    27
  <target name="sf-gen-buildinfo-txt">
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    28
    <mkdir dir="${build.drive}/epoc32/data/"/> 
645
212217a07072 sf-gen-buildinfo-txt target in platform build - De-CamelCasing buildinfo.txt deletion and creation to fix zip inclusion/exclusion problems.
MattD <mattd@symbian.org>
parents: 637
diff changeset
    29
    <delete file="${build.drive}/epoc32/data/buildinfo.txt"/>
212217a07072 sf-gen-buildinfo-txt target in platform build - De-CamelCasing buildinfo.txt deletion and creation to fix zip inclusion/exclusion problems.
MattD <mattd@symbian.org>
parents: 637
diff changeset
    30
    <echo file="${build.drive}/epoc32/data/buildinfo.txt" append="true" message="DeviceFamily               100 ${line.separator}"/>
212217a07072 sf-gen-buildinfo-txt target in platform build - De-CamelCasing buildinfo.txt deletion and creation to fix zip inclusion/exclusion problems.
MattD <mattd@symbian.org>
parents: 637
diff changeset
    31
    <echo file="${build.drive}/epoc32/data/buildinfo.txt" append="true" message="DeviceFamilyRev            0x900 ${line.separator}"/>
212217a07072 sf-gen-buildinfo-txt target in platform build - De-CamelCasing buildinfo.txt deletion and creation to fix zip inclusion/exclusion problems.
MattD <mattd@symbian.org>
parents: 637
diff changeset
    32
    <echo file="${build.drive}/epoc32/data/buildinfo.txt" append="true" message="ManufacturerSoftwareBuild  ${build.id}_Symbian_OS_v${sf.spec.sbs.variant} ${line.separator}"/>
482
81211967e594 Generate BuildInfo.txt based upon new sf.spec.sbs.variant property
Shabe Razvi <shaber@symbian.org>
parents: 453
diff changeset
    33
  </target>
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    34
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    35
  <target name="sf-platform-bootstrap-gt" >
391
bb7bd27a0a82 bldmefirst fix for symbian^2 symbian^3 builds - getting location of symbian_OS.hrh and variant.cfg from the project config.
MattD <mattd@symbian.org>
parents: 375
diff changeset
    36
    <echo>[SF-platform-bootstrap-gt]</echo>
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    37
    <!-- do initial stuff to get raptor working -->
453
ab0e196dc2a6 Export all required .hrh files
Shabe Razvi <shaber@symbian.org>
parents: 394
diff changeset
    38
    <copy todir="${build.drive}/epoc32/include/variant/" failonerror="true" verbose="true">
ab0e196dc2a6 Export all required .hrh files
Shabe Razvi <shaber@symbian.org>
parents: 394
diff changeset
    39
        <fileset dir="${build.drive}/${sf.spec.bldmefirst.gt.hrh}" includes="*.hrh"/>
ab0e196dc2a6 Export all required .hrh files
Shabe Razvi <shaber@symbian.org>
parents: 394
diff changeset
    40
    </copy>
619
5a46e24ea747 Fixed md5 zipping in case no publish is requested.
ThomasE
parents: 598
diff changeset
    41
    <copy file="${build.drive}/${sf.spec.bldmefirst.gt.variant}" tofile="${build.drive}/epoc32/tools/variant/variant.cfg" failonerror="true" verbose="true" overwrite="true" preservelastmodified="true" />
532
082968cf2c9e Updated mechanism to manage Symbian_OS.hrh file to be inline with latest Nokia drop.
ThomasE
parents: 482
diff changeset
    42
	<if><isset property="sf.spec.bldmefirst.gt.hrh.os"/>
082968cf2c9e Updated mechanism to manage Symbian_OS.hrh file to be inline with latest Nokia drop.
ThomasE
parents: 482
diff changeset
    43
	 <then>
598
8d55bb26ab6f Copy Symbian_OS.HRH to required location
Shabe Razvi <shaber@symbian.org>
parents: 539
diff changeset
    44
	  <copy file="${build.drive}/${sf.spec.bldmefirst.gt.hrh.os}" tofile="${build.drive}/epoc32/include/variant/Symbian_OS.hrh" failonerror="false" overwrite="true" verbose="true" preservelastmodified="true" />
532
082968cf2c9e Updated mechanism to manage Symbian_OS.hrh file to be inline with latest Nokia drop.
ThomasE
parents: 482
diff changeset
    45
	 </then>
082968cf2c9e Updated mechanism to manage Symbian_OS.hrh file to be inline with latest Nokia drop.
ThomasE
parents: 482
diff changeset
    46
	</if>
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    47
  </target>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    48
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    49
  <target name="sf-platform-bootstrap-s60" >    
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    50
    <!-- Do touch on S60 variant.cfg to force raptor to export -->
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    51
    <touch file="${build.drive}/${sf.spec.bldmefirst.s60.sbs.variant.cfg}" />
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    52
    <delete file="${build.log.dir}/${build.id}_bldmefirst-s60.log"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    53
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    54
    <property name="sf.compile.bldmefirst.command.sbsexport" value="sbs EXPORT --ignore-os-detection --export-only"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    55
    <!-- do bldmefirst stage 1-->
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    56
    <for list="${sf.spec.bldmefirst.s60.exports}" delimiter="," param="sf.spec.bldmefirst.s60.export">
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    57
      <sequential>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    58
          <echo message="Performing bldmefirst export on @{sf.spec.bldmefirst.s60.export}"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    59
          <exec executable="cmd" dir="${build.drive}" failonerror="true" append="true" output="${build.log.dir}/${build.id}_bldmefirst-s60.log">
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    60
            <arg value="/c"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    61
            <arg value="${sf.compile.bldmefirst.command.sbsexport}" />
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    62
            <arg value="-b"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    63
            <arg value="${build.drive}/@{sf.spec.bldmefirst.s60.export}/bld.inf"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    64
          </exec>  
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    65
      </sequential>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    66
    </for>  
700
660b634546aa If makefile_template copy fails then ignore, as its no longer needed for S^3.
Shabe Razvi <shaber@symbian.org>
parents: 645
diff changeset
    67
    <!-- needed for s^2 but not s^3 - so ignore if not present -->
660b634546aa If makefile_template copy fails then ignore, as its no longer needed for S^3.
Shabe Razvi <shaber@symbian.org>
parents: 645
diff changeset
    68
    <copy todir="${build.drive}/epoc32/tools/makefile_templates/s60" failonerror="false">
375
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    69
        <fileset dir="${build.drive}/sf/tools/makefile_templates">
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    70
          <exclude name=".hg*"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    71
          <exclude name=".hg/**"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    72
          <exclude name="layers.sysdef.xml"/>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    73
        </fileset>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    74
    </copy>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    75
  </target>
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    76
            
65e81f48fe17 platform build - first cut of 'bldmefirst' stage to get rid of bldmefirst repo. Should probably add a check to see if it's enabled.
MattD <mattd@symbian.org>
parents: 367
diff changeset
    77
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    78
  <!-- 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
    79
  <!--
bf437da77ab4 Simplify the create-canonical-sysdef-file target as we can depend on there only being a single sysdef in the supplied reference.
Simon Howkins <simonh@symbian.org>
parents: 311
diff changeset
    80
    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
    81
    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
    82
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
    83
    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
    84
  -->
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
    85
  <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
    86
    <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
    87
      <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
    88
        <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
    89
      </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
    90
    </fail>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
    91
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
    92
    <!-- 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
    93
    <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
    94
      <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
    95
      <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
    96
        <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
    97
        <!-- 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
    98
        <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
    99
      </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
   100
    </for>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   101
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
   102
    <!-- 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
   103
    <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
   104
      <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
   105
        <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
   106
        <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
   107
        <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
   108
        <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
   109
        <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
   110
        <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
   111
        <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
   112
        <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
   113
        <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
   114
        <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
   115
        <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
   116
      </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
   117
    </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
   118
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
   119
 </target>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   120
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   121
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   122
    == Name: SF-COMPILE
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
    == 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
   125
    ==       common\build.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   126
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   127
    ==       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
   128
    ==       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
   129
    ==
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
  <target name="sf-compile">
861
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   132
    <stopwatch name="sf-compile"/>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   133
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   134
    <!-- 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
   135
    <if><istrue value="${sf.spec.splitbuild}"/>
861
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   136
      <then>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   137
        <if><istrue value="${sf.spec.os.skipbuild}" />
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   138
          <then><echo message="Skipping OS build"/></then>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   139
          <else><runtarget target="sf-os-compile"/></else>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   140
        </if>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   141
861
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   142
        <if><istrue value="${sf.spec.s60.skipbuild}" />
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   143
          <then><echo message="Skipping S60 build"/></then>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   144
          <else><runtarget target="sf-s60-compile"/></else>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   145
        </if>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   146
      </then>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   147
      <else>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   148
        <!-- TODO targets for single sysdef build -->
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   149
        <runtarget target="sf-os-compile"/>
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   150
      </else>
238
43d4995ff976 Move runtarget outside if conditional
Shabe Razvi <shaber@symbian.org>
parents: 237
diff changeset
   151
    </if>
43d4995ff976 Move runtarget outside if conditional
Shabe Razvi <shaber@symbian.org>
parents: 237
diff changeset
   152
861
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   153
    <!-- always run cenrep -->
869
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   154
    <if><equals arg1="${sf.spec.job.name}" arg2="symbian2"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   155
    <then>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   156
        <runtarget target="sf-s60-create-cenrep"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   157
    </then>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   158
    <else>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   159
        <!-- symbian3+ should use ConE -->
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   160
        <runtarget target="sf-s60-cone-cenrep"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   161
    </else>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   162
    </if>
861
caa0601f50c5 Added stopwatch tasks through most of the code hit during a platform build.
Simon Howkins <simonh@symbian.org>
parents: 830
diff changeset
   163
    <stopwatch name="sf-compile" action="elapsed"/>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   164
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   165
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   166
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   167
    == Name: SF-OS-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   168
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   169
    == 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
   170
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   171
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   172
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   173
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   174
    -->
637
3effbd6728d4 Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents: 619
diff changeset
   175
  <target name="sf-os-compile" depends="sf-compile-options">
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   176
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   177
    <!-- generate baseline dir list to allow delta creation -->
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   178
    <if><isset property="sf.os.compile.fast"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   179
      <then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   180
        <echo message="INFO [FAST COMPILE] Skipping baseline dir list generation"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   181
      </then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   182
      <else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   183
        <antcall target="sf-list-dir" inheritAll="false">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   184
          <param name="sf.list.name" value="baseline"/>
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   185
        </antcall>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   186
      </else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   187
    </if>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   188
    
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   189
    <!-- OS clean main build -->
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   190
    <if><istrue value="${sf.spec.baseline.clean}"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   191
      <then>
827
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   192
        <hlm:argSet id="sbs.main.clean.sbs.var">
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   193
          <hlm:arg name="config" value="${sf.spec.sbs.config}" />
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   194
          <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   195
          <hlm:arg name="command" value="CLEAN --check" />
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   196
        </hlm:argSet>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   197
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   198
          <param name="build.system" value="${sf.spec.build.system}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   199
          <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   200
          <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   201
          <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   202
          <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   203
          <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   204
          <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   205
        </antcall>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   206
      </then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   207
    </if>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   208
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   209
    <if><isset property="sf.os.compile.fast"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   210
      <then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   211
        <echo message="INFO [FAST COMPILE] Skipping baseline vs post-clean delta generation"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   212
      </then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   213
      <else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   214
        <antcall target="sf-list-dir" inheritAll="false">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   215
          <param name="sf.list.name" value="post-clean"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   216
        </antcall>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   217
        <!-- what has been cleaned from baseline PDK by sos model -->
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   218
        <antcall target="sf-delta-dir" inheritAll="false">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   219
          <param name="sf.list_a.name" value="baseline"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   220
          <param name="sf.list_b.name" value="post-clean"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   221
        </antcall>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   222
      </else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   223
    </if>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   224
    
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   225
    <if><isset property="sf.os.compile.fast"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   226
      <then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   227
        <echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   228
      </then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   229
      <else>
828
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   230
      
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   231
        <for list="${sf.spec.sbs.tools.config}" delimiter="," param="sf.spec.sbs.tools.splitconfig">
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   232
          <sequential>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   233
            <echo message="INFO [Iterative tools compile] @{sf.spec.sbs.tools.splitconfig}"/>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   234
            <propertyregex property="sf.building.tools2" override="true" input="@{sf.spec.sbs.tools.splitconfig}" regexp="^tools2" select="true" defaultValue="false"/>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   235
828
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   236
            <if>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   237
              <istrue value="${sf.building.tools2}"/>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   238
              <then>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   239
                <!-- "tools2" build -->
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   240
                <hlm:argSet id="sbs.tools2.var">
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   241
                  <hlm:arg name="config" value="@{sf.spec.sbs.tools.splitconfig}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   242
                  <hlm:arg name="singlejob" value="false" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   243
                  <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   244
                  <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   245
                </hlm:argSet>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   246
                <antcall target="compile-main" inheritAll="false" inheritRefs="true">
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   247
                  <param name="build.system" value="${sf.spec.build.system}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   248
                  <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   249
                  <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   250
                  <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   251
                  <reference refid="sbs.tools2.var" torefid="sbs.var" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   252
                  <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   253
                  <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   254
                </antcall>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   255
828
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   256
                <antcall target="sf-list-dir" inheritAll="false">
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   257
                  <param name="sf.list.name" value="post-build-tools2"/>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   258
                </antcall>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   259
              </then>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   260
828
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   261
              <else>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   262
                <!-- "tools" build -->
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   263
                <hlm:argSet id="sbs.tools.var">
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   264
                  <hlm:arg name="config" value="@{sf.spec.sbs.tools.splitconfig}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   265
                  <hlm:arg name="singlejob" value="true" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   266
                  <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   267
                  <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   268
                </hlm:argSet>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   269
                <antcall target="compile-main" inheritAll="false" inheritRefs="true">
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   270
                  <param name="build.system" value="${sf.spec.build.system}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   271
                  <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   272
                  <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   273
                  <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   274
                  <reference refid="sbs.tools.var" torefid="sbs.var" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   275
                  <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   276
                  <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   277
                </antcall>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   278
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   279
                <antcall target="sf-list-dir" inheritAll="false">
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   280
                  <param name="sf.list.name" value="post-build-tools"/>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   281
                </antcall>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   282
              </else>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   283
	    </if>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   284
          </sequential>    
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   285
        </for>
f19c94ca8982 Changed building of tools targets so that it builds the targets listed in ${sf.spec.sbs.tools.config}, in sequence,
Simon Howkins <simonh@symbian.org>
parents: 827
diff changeset
   286
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   287
      </else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   288
    </if>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   289
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   290
    <if><istrue value="${sf.os.compile.iterate}"/>
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
   291
      <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
   292
        <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
   293
          <sequential>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   294
            <echo message="INFO [Iterative compile] @{sf.spec.sbs.splitconfig}"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   295
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   296
            <hlm:argSet id="sbs.main.iterate.sbs.var">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   297
              <hlm:arg name="config" value="@{sf.spec.sbs.splitconfig}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   298
              <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   299
              <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   300
            </hlm:argSet>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   301
            <antcall target="compile-main" inheritAll="false" inheritRefs="true">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   302
              <param name="build.system" value="${sf.spec.build.system}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   303
              <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   304
              <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   305
              <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   306
              <reference refid="sbs.main.iterate.sbs.var" torefid="sbs.var" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   307
              <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   308
              <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   309
            </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
   310
          </sequential>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   311
        </for>
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
   312
      </then>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   313
      <else>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   314
        <!-- OS main build -->
827
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   315
        <hlm:argSet id="sbs.main.sbs.var">
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   316
          <hlm:arg name="config" value="${sf.spec.sbs.config}" />
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   317
          <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   318
          <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
b671b85a0863 Moved hlm:argSet definitions in sf-os-compile to be adjacent to the call that uses them. (And deleted three unused ones in the process.)
Simon Howkins <simonh@symbian.org>
parents: 816
diff changeset
   319
        </hlm:argSet>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   320
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   321
          <param name="build.system" value="${sf.spec.build.system}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   322
          <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   323
          <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   324
          <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   325
          <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   326
          <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   327
          <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   328
        </antcall>
816
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   329
      </else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   330
    </if>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   331
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   332
    <if><isset property="sf.os.compile.fast"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   333
      <then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   334
        <echo message="INFO [FAST COMPILE] Skipping delta and intersect list generation"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   335
      </then>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   336
      <else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   337
        <antcall target="sf-list-dir" inheritAll="false">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   338
          <param name="sf.list.name" value="post-build-main"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   339
        </antcall>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   340
        
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   341
        <!-- what has been built in tools2+tools+main -->
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   342
        <antcall target="sf-delta-dir" inheritAll="false">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   343
          <param name="sf.list_a.name" value="post-clean"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   344
          <param name="sf.list_b.name" value="post-build-main"/>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   345
        </antcall>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   346
        
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   347
        <!-- what has been cleaned and rebuilt -->
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   348
        <antcall target="sf-intersect-dir" inheritAll="false">
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   349
          <param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   350
          <param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   351
        </antcall>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   352
      </else>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   353
    </if>
4fbec78cd97f Re-indented target "sf-os-compile" (following best guess as to the standard) to make it easier to read.
Simon Howkins <simonh@symbian.org>
parents: 808
diff changeset
   354
    
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   355
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   356
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   357
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   358
    == Name: SF-S60-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   359
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   360
    == 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
   361
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   362
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   363
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   364
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   365
    -->
637
3effbd6728d4 Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents: 619
diff changeset
   366
  <target name="sf-s60-compile" depends="sf-compile-options">
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   367
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   368
        <hlm:argSet id="sbs.tools.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   369
          			<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
   370
          			<hlm:arg name="singlejob" value="true" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   371
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   372
                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   373
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   374
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   375
			<hlm:argSet id="sbs.tools.clean.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   376
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   377
          			<hlm:arg name="singlejob" value="true" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   378
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   379
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   380
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   381
    		<hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   382
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   383
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   384
                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   385
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   386
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   387
			<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
   388
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   389
          			<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
   390
				<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
   391
    		</hlm:argSet>
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   392
			
394
44cbd546e285 Add SBS retry controlled by sbs.spec.sbs.retry.limit property. Default is 5.
Shabe Razvi <shaber@symbian.org>
parents: 391
diff changeset
   393
          			<hlm:argSet id="sbs.main.what.sbs.var">
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   394
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   395
          			<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
   396
				<hlm:arg name="command" value="WHAT" />
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   397
    		</hlm:argSet>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   398
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   399
    		<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
   400
    		<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
   401
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   402
		<antcall target="sf-list-dir" inheritAll="false">
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   403
			<param name="sf.list.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   404
		</antcall>
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   405
		
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   406
			<!-- s60 what  -->
155
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 111
diff changeset
   407
			<!--
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   408
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   409
          			<param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   410
          			<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
   411
                    <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
   412
          			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   413
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   414
          			<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
   415
    		</antcall>
155
c46069cf2fc7 'WHAT' build removed. parselistdirs.pl fixes for raptor logs.
matt.davies@SYM-BUILD02.ad-sfpd.intra
parents: 111
diff changeset
   416
			-->
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   417
			<!-- s60 clean main build -->
79
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 72
diff changeset
   418
			<if><istrue value="${sf.spec.baseline.clean}"/>
80
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   419
				<then>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   420
					<antcall target="compile-main" inheritAll="false" inheritRefs="true">
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   421
							<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
   422
							<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
   423
							<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
   424
							<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
   425
							<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
   426
							<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
   427
					</antcall>
5e7e3b1825aa Fixed ant syntax from previous commit.
ThomasE@UK-ThomasE.symbian.int
parents: 79
diff changeset
   428
				</then>
79
d9875e573161 Implemented the "sf.spec.baseline.clean" switch.
ThomasE@UK-ThomasE.symbian.int
parents: 72
diff changeset
   429
			</if>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   430
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   431
			<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
   432
				<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
   433
			</antcall>
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   434
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   435
			<!-- what has been cleaned from baseline PDK by s60 model -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   436
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   437
				<param name="sf.list_a.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   438
				<param name="sf.list_b.name" value="post-s60-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   439
			</antcall>		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   440
			
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   441
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   442
            <!-- 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
   443
    		<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
   444
          			<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
   445
          			<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
   446
					<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
   447
          			<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
   448
          			<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
   449
          			<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
   450
    		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   451
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   452
			<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
   453
				<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
   454
			</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   455
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   456
    		<!-- s60 main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   457
    		<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
   458
          			<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
   459
          			<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
   460
                                <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
   461
          			<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
   462
          			<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
   463
          			<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
   464
    		</antcall>
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   465
			
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   466
			
39
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 38
diff changeset
   467
			<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
   468
				<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
   469
			</antcall>
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   470
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   471
			<!-- what has been built by tools+2+main -->
40
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   472
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 39
diff changeset
   473
				<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
   474
				<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
   475
			</antcall>		
65
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   476
			
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   477
			<!-- what has been cleaned and rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   478
			<antcall target="sf-intersect-dir" inheritAll="false">
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   479
				<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
   480
				<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
   481
			</antcall>
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 40
diff changeset
   482
		
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   483
	</target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   484
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   485
	<target name="sf-s60-create-cenrep">
785
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   486
    <echo message="INFO Generating CenRep"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   487
    <echo message="Move 'sf.spec.s60.cenrep.export.location' out of the build..."/>
804
4d736e733cd5 Fix cenrep export location
Shabe Razvi <shaber@symbian.org>
parents: 785
diff changeset
   488
    <property name="sf.spec.s60.cenrep.export.location.1" value="/epoc32/rom/config/confml_data/s60"/>
808
8f386eeff5ad Remove s60 postfix from sf-s60-create-cenrep for Symbian^3
Shabe Razvi <shaber@symbian.org>
parents: 804
diff changeset
   489
    <property name="sf.spec.s60.cenrep.export.location.2" value="/epoc32/rom/config/assets"/>
785
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   490
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   491
		<if><available file="${build.drive}/${sf.spec.s60.cenrep.export.location.1}" type="dir"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   492
  		<then>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   493
    		<property name="sf.spec.s60.cenrep.export.location" value="${sf.spec.s60.cenrep.export.location.1}"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   494
      </then>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   495
      <else>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   496
    		<property name="sf.spec.s60.cenrep.export.location" value="${sf.spec.s60.cenrep.export.location.2}"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   497
      </else>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   498
      </if>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   499
    <echo message="${helium.dir}/../ConfigurationTool/cli_build.cmd -master_conf s60 -impl ${sf.spec.s60.cenrep.export.location} -confml ${sf.spec.s60.cenrep.export.location} -ignore_errors" />  
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   500
    <exec executable="${helium.dir}/../ConfigurationTool/cli_build.cmd" dir="${build.drive}" failonerror="false" output="${build.log.dir}/${build.id}_create_cenrep.log">
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   501
      <arg value="-master_conf"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   502
      <arg value="s60"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   503
      <arg value="-impl"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   504
      <arg value="${sf.spec.s60.cenrep.export.location}"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   505
      <arg value="-confml"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   506
      <arg value="${sf.spec.s60.cenrep.export.location}"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   507
      <arg value="-ignore_errors"/>
cf98fb6a1da9 Platform Build cenrep generatation - modified 'sf-s60-create-cenrep' to hopefully cope with the different CRML export paths coming from the different platform_paths.hrh. This isn't pretty.
MattD <mattd@symbian.org>
parents: 700
diff changeset
   508
    </exec>
72
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   509
		
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   510
		<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
   511
		<then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   512
            <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
   513
    		<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
   514
		</then>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   515
		</if>
4846dd5df20a If found then export cli_build_error.log to logs directory
shaber@UK-SHABER
parents: 71
diff changeset
   516
		
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   517
	</target>
869
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   518
    
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   519
    <target name="sf-s60-cone-cenrep">
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   520
        <!-- TODO: Make this better, as multiple exec calls are a bit clunky -->
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   521
        <if><available file="${helium.dir}/../ConE/" type="dir"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   522
        <then>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   523
        <echo message="INFO Generating ConE CenRep"/>
71
cc9038ba0f21 Remove old s60 bldmelast step and replace with call to generate cenrep files.
shaber@UK-SHABER
parents: 70
diff changeset
   524
869
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   525
            <exec executable="cmd" dir="${build.drive}/epoc32/rom/config" failonerror="false" output="${build.log.dir}/${build.id}_cenrep.log">
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   526
              <arg value="/c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   527
              <arg value="cone"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   528
              <arg value="generate"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   529
              <arg value="-c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   530
              <arg value="convert.confml"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   531
              <arg value="-o"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   532
              <arg value="."/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   533
            </exec>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   534
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   535
            <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   536
              <arg value="/c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   537
              <arg value="cone"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   538
              <arg value="generate"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   539
              <arg value="-p"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   540
              <arg value="\epoc32\rom\config"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   541
              <arg value="-o"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   542
              <arg value="\epoc32\release\winscw\udeb\z"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   543
              <arg value="-c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   544
              <arg value="s60_root.confml"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   545
              <arg value="-v"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   546
              <arg value="5"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   547
            </exec>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   548
            
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   549
            <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   550
              <arg value="/c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   551
              <arg value="cone"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   552
              <arg value="generate"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   553
              <arg value="-p"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   554
              <arg value="\epoc32\rom\config"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   555
              <arg value="-o"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   556
              <arg value="\epoc32\release\winscw\urel\z"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   557
              <arg value="-c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   558
              <arg value="s60_root.confml"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   559
              <arg value="-v"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   560
              <arg value="5"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   561
            </exec>
870
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   562
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   563
            <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   564
              <arg value="/c"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   565
              <arg value="cone"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   566
              <arg value="generate"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   567
              <arg value="-p"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   568
              <arg value="\epoc32\rom\config"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   569
              <arg value="-o"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   570
              <arg value="\epoc32\data\z"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   571
              <arg value="-c"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   572
              <arg value="s60_root.confml"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   573
              <arg value="-v"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   574
              <arg value="5"/>
62d784756974 sf-s60-cone-cenrep - S60 config with epoc32/data/z combintation was missing.
MattD <mattd@symbian.org>
parents: 869
diff changeset
   575
            </exec>
869
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   576
            
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   577
            <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   578
              <arg value="/c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   579
              <arg value="cone"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   580
              <arg value="generate"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   581
              <arg value="-p"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   582
              <arg value="\epoc32\rom\config"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   583
              <arg value="-o"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   584
              <arg value="\epoc32\release\winscw\udeb\z"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   585
              <arg value="-c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   586
              <arg value="symbianos_root.confml"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   587
              <arg value="-v"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   588
              <arg value="5"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   589
            </exec>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   590
            
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   591
            <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   592
              <arg value="/c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   593
              <arg value="cone"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   594
              <arg value="generate"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   595
              <arg value="-p"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   596
              <arg value="\epoc32\rom\config"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   597
              <arg value="-o"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   598
              <arg value="\epoc32\release\winscw\urel\z"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   599
              <arg value="-c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   600
              <arg value="symbianos_root.confml"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   601
              <arg value="-v"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   602
              <arg value="5"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   603
            </exec>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   604
            
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   605
            <exec executable="cmd" dir="${build.drive}/epoc32/tools" failonerror="false" append="true" output="${build.log.dir}/${build.id}_cenrep.log">
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   606
              <arg value="/c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   607
              <arg value="cone"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   608
              <arg value="generate"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   609
              <arg value="-p"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   610
              <arg value="\epoc32\rom\config"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   611
              <arg value="-o"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   612
              <arg value="\epoc32\data\z"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   613
              <arg value="-c"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   614
              <arg value="symbianos_root.confml"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   615
              <arg value="-v"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   616
              <arg value="5"/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   617
            </exec>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   618
        
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   619
        </then>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   620
        <else>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   621
            <echo message="WARNING ConE is required to run this target. ConE not found, please update your PDT."/>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   622
        </else>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   623
        </if>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   624
    </target>
11f6b5e5cd2d Add ConE or ConfigurationTool support. ConfigurationTool is used for Symbian2 only.
Shabe Razvi <shaber@symbian.org>
parents: 861
diff changeset
   625
    
38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   626
</project>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 36
diff changeset
   627