sf-platform/build.xml
changeset 1169 5fafe4f9fda8
parent 1116 029af3c09d9d
child 1210 9a976c4078e9
equal deleted inserted replaced
1168:fab4ba9e8d93 1169:5fafe4f9fda8
   148     == Name: SF-COMPILE
   148     == Name: SF-COMPILE
   149     ==
   149     ==
   150     == Desc: Override of common sf-compile target defined in
   150     == Desc: Override of common sf-compile target defined in
   151     ==       common\build.xml
   151     ==       common\build.xml
   152     ==
   152     ==
   153     ==       os  build will be skipped if sf.spec.os.skipbuild=true
       
   154     ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
       
   155     ==
       
   156     -->
   153     -->
   157   <target name="sf-compile">
   154   <target name="sf-compile">
   158     <stopwatch name="sf-compile"/>
   155     <stopwatch name="sf-compile"/>
   159 
   156 
   160     <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed -->
   157     <runtarget target="sf-os-compile"/>
   161     <if><istrue value="${sf.spec.splitbuild}"/>
   158 
       
   159     <!-- always run cenrep -->
       
   160     <if><equals arg1="${sf.spec.job.name}" arg2="symbian2"/>
   162       <then>
   161       <then>
   163         <if><istrue value="${sf.spec.os.skipbuild}" />
   162         <runtarget target="sf-s60-create-cenrep"/>
   164           <then><echo message="Skipping OS build"/></then>
       
   165           <else><runtarget target="sf-os-compile"/></else>
       
   166         </if>
       
   167 
       
   168         <if><istrue value="${sf.spec.s60.skipbuild}" />
       
   169           <then><echo message="Skipping S60 build"/></then>
       
   170           <else><runtarget target="sf-s60-compile"/></else>
       
   171         </if>
       
   172       </then>
   163       </then>
   173       <else>
   164       <else>
   174         <!-- TODO targets for single sysdef build -->
       
   175         <runtarget target="sf-os-compile"/>
       
   176       </else>
       
   177     </if>
       
   178 
       
   179     <!-- always run cenrep -->
       
   180     <if><equals arg1="${sf.spec.job.name}" arg2="symbian2"/>
       
   181     <then>
       
   182         <runtarget target="sf-s60-create-cenrep"/>
       
   183     </then>
       
   184     <else>
       
   185         <!-- symbian3+ should use ConE -->
   165         <!-- symbian3+ should use ConE -->
   186         <runtarget target="sf-s60-cone-cenrep"/>
   166         <runtarget target="sf-s60-cone-cenrep"/>
   187     </else>
   167       </else>
   188     </if>
   168     </if>
   189     <stopwatch name="sf-compile" action="elapsed"/>
   169     <stopwatch name="sf-compile" action="elapsed"/>
   190   </target>
   170   </target>
   191 
   171 
   192   <target name="sf-s60-create-cenrep">
   172   <target name="sf-s60-create-cenrep">