sf-platform/build.xml
author shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
Fri, 27 Mar 2009 13:13:04 +0000
changeset 52 c54ae3330cbd
parent 0 571f289c60b8
child 55 c10840c6fcbb
permissions -rw-r--r--
Add config changes in order to support s60 and os platform builds
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
52
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
     2
<project name="SF-PLATFORM-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     3
  <!-- location of this config -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     4
  <dirname property="sf.platform.config.dir" file="${ant.file.SF-PLATFORM-CONFIG}"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     5
  
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     6
  <!--
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     7
  * Property defaults
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     8
   -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     9
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    10
  <!--
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    11
  
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    12
  * Load platform specific properties. Mandatory that this file exists otherwise
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    13
  * the target will fail.
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    14
  
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    15
   -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    16
  <loadproperties srcFile="${sf.platform.config.dir}/platform.properties"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    17
  
52
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    18
  <!-- workaround until GenXML can merge v2.0.0 fragments -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    19
  <target name="create-canonical-sysdef-file">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    20
            
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    21
       <if>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    22
          <!-- TODO use scripting to match this -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    23
          <equals arg1="${sf.spec.sysdef.version}" arg2="1.4.0" /> 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    24
          <then>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    25
            <echo message="Using System Definition v1.4.0 "/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    26
            <runtarget target="compile.create-canonical-sysdef-file"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    27
          </then>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    28
          <else>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    29
            <runtarget target="preprocess-sysdef-files"/>  
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    30
            <echo message="Exporting preprocessed System Definition"/> 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    31
            
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    32
            <!-- TODO use better method to export or wait for GenXML fix?-->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    33
            <copy file="${build.output.dir}\build\input\0000000000000001_system_definition.xml" 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    34
                  tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    35
          </else>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    36
        </if>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    37
          
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    38
  </target>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    39
    
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    40
  <!-- 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    41
    == Name: PREPROCESS-SYSDEF-FILES
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    42
    ==
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    43
    == Desc: Override of default target in order to deal with symbian os
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    44
    ==       system_definition.xml that does not have /sf source prefix    
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    45
    ==       
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    46
    ==       TODO get this moved as a Helium core target?
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    47
    -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    48
  <target name="preprocess-sysdef-files">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    49
        <mkdir dir="${build.output.dir}/build/input"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    50
        <delete verbose="true">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    51
            <fileset dir="${build.output.dir}/build/input/" includes="**"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    52
        </delete>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    53
        
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    54
        <for param="file">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    55
            <resources refid="system.definition.files"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    56
            <sequential>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    57
                <copy todir="${build.output.dir}/build/input" verbose="true">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    58
                    <fileset file="@{file}"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    59
                    <filterchain>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    60
                        <replaceregex pattern="bldFile=&quot;os" replace="bldFile=&quot;sf\\\\os" flags="gi"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    61
                        <replaceregex pattern="mrp=&quot;os" replace="mrp=&quot;sf\\\\os" flags="gi"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    62
                        <replaceregex pattern="bldFile=&quot;mw" replace="bldFile=&quot;sf\\\\mw" flags="gi"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    63
                        <replaceregex pattern="mrp=&quot;mw" replace="mrp=&quot;sf\\\\mw" flags="gi"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    64
                        <replaceregex pattern="bldFile=&quot;app" replace="bldFile=&quot;sf\\\\app" flags="gi"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    65
                        <replaceregex pattern="mrp=&quot;app" replace="mrp=&quot;sf\\\\app" flags="gi"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    66
                        <expandproperties/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    67
                    </filterchain>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    68
                    <mapper>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    69
                        <scriptmapper language="jep" src="${helium.dir}/tools/common/jep/unique_filename.jep"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    70
                    </mapper>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    71
                </copy>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    72
            </sequential>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    73
        </for>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    74
    </target>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    75
  
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    76
  <!-- 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    77
    == Name: SF-COMPILE
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    78
    ==
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    79
    == Desc: Override of common sf-compile target defined in
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    80
    ==       common\build.xml
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    81
    ==       
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    82
    ==       os  build will be skipped if sf.spec.os.skipbuild=true
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    83
    ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    84
    == 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    85
    -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    86
  <target name="sf-compile">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    87
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    88
       <if><istrue value="${sf.spec.os.skipbuild}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    89
            <then><echo message="Skipping OS build"/></then>      
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    90
       <else><runtarget target="sf-os-compile"/></else></if>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    91
       
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    92
       <if><istrue value="${sf.spec.s60.skipbuild}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    93
            <then><echo message="Skipping S60 build"/></then>       
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    94
       <else><runtarget target="sf-s60-compile"/></else></if>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    95
       
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    96
  </target>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    97
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    98
  <!-- 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
    99
    == Name: SF-OS-COMPILE
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   100
    ==
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   101
    == Desc: Compile OS part of build using the spec defined in:
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   102
    == 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   103
    ==         - job_props.ant.xml
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   104
    ==         - job_refs.ant.xml
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   105
    ==
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   106
    -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   107
  <target name="sf-os-compile">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   108
      
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   109
        <hlm:argSet id="sbs.tools.var">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   110
                <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   111
                <hlm:arg name="singlejob" value="true" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   112
                <hlm:arg name="enable-filter" value="true" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   113
        </hlm:argSet>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   114
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   115
        <hlm:argSet id="sbs.main.sbs.var">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   116
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   117
                <hlm:arg name="enable-filter" value="true" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   118
        </hlm:argSet>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   119
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   120
        <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   121
        <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   122
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   123
        <!-- OS tools build -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   124
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   125
                <param name="build.system" value="${sf.spec.build.system}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   126
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   127
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   128
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   129
                <reference refid="sbs.tools.var" torefid="sbs.var" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   130
                <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   131
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   132
        </antcall>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   133
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   134
        <!-- OS main build -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   135
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   136
                <param name="build.system" value="${sf.spec.build.system}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   137
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   138
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   139
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>                    
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   140
                <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   141
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   142
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   143
        </antcall>            
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   144
  </target>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   145
  
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   146
  <!-- 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   147
    == Name: SF-S60-COMPILE
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   148
    ==
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   149
    == Desc: Compile S60 part of build using the spec defined in:
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   150
    == 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   151
    ==         - job_props.ant.xml
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   152
    ==         - job_refs.ant.xml
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   153
    ==
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   154
    -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   155
  <target name="sf-s60-compile">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   156
  
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   157
        <hlm:argSet id="sbs.tools.var">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   158
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   159
          			<hlm:arg name="singlejob" value="true" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   160
          			<hlm:arg name="enable-filter" value="true" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   161
    		</hlm:argSet>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   162
    
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   163
    		<hlm:argSet id="sbs.main.sbs.var">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   164
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   165
          			<hlm:arg name="enable-filter" value="true" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   166
    		</hlm:argSet>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   167
        
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   168
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   169
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   170
    
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   171
        <!-- s60 clean tools build -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   172
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   173
          			<param name="build.system" value="${sf.spec.build.system}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   174
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   175
                <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/> 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   176
                                  
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   177
          			<reference refid="sbs.tools.var" torefid="sbs.var" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   178
          			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   179
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   180
    		</antcall>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   181
    
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   182
    		<!-- s60 clean main build -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   183
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   184
          			<param name="build.system" value="${sf.spec.build.system}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   185
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   186
                <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/> 
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   187
          			<reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   188
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   189
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   190
    		</antcall>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   191
    
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   192
    		<!-- s60 postbuild bldmelast using ebs -->
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   193
    		<antcall target="compile-main" inheritAll="false">
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   194
          			<param name="build.system" value="ebs" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   195
          			<param name="sysdef.configurations.list" value="S60_bldmelast" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   196
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   197
    		</antcall>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   198
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   199
	</target>
c54ae3330cbd Add config changes in order to support s60 and os platform builds
shaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
parents: 0
diff changeset
   200
  
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   201
  <!-- import sf-common-config -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   202
  <import file="../common/build.xml" />
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   203
  
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   204
</project>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
   205