sf-platform/compile-hlm-5.ant.xml
changeset 1170 6dad376b9835
parent 1169 5fafe4f9fda8
equal deleted inserted replaced
1169:5fafe4f9fda8 1170:6dad376b9835
   182           <param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
   182           <param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
   183           <param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
   183           <param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
   184         </antcall>
   184         </antcall>
   185       </else>
   185       </else>
   186     </if>
   186     </if>
   187     
       
   188   </target>
   187   </target>
   189 
   188 
   190   <!--
       
   191     == Name: SF-S60-COMPILE
       
   192     ==
       
   193     == Desc: Compile S60 part of build using the spec defined in:
       
   194     ==
       
   195     ==         - job_props.ant.xml
       
   196     ==         - job_refs.ant.xml
       
   197     ==
       
   198     -->
       
   199   <target name="sf-s60-compile" depends="sf-compile-options">
       
   200 
       
   201         <hlm:argSet id="sbs.tools.var">
       
   202           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
       
   203           			<hlm:arg name="singlejob" value="true" />
       
   204           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   205                                 <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   206     		</hlm:argSet>
       
   207 
       
   208 			<hlm:argSet id="sbs.tools.clean.var">
       
   209           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
       
   210           			<hlm:arg name="singlejob" value="true" />
       
   211           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   212     		</hlm:argSet>
       
   213 
       
   214     		<hlm:argSet id="sbs.main.sbs.var">
       
   215           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   216           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   217                                 <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   218     		</hlm:argSet>
       
   219 
       
   220 			<hlm:argSet id="sbs.main.clean.sbs.var">
       
   221           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   222           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   223 				<hlm:arg name="command" value="CLEAN --check" />
       
   224     		</hlm:argSet>
       
   225 			
       
   226           			<hlm:argSet id="sbs.main.what.sbs.var">
       
   227           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   228           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   229 				<hlm:arg name="command" value="WHAT" />
       
   230     		</hlm:argSet>
       
   231 
       
   232     		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
       
   233     		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
       
   234 
       
   235 		<antcall target="sf-list-dir" inheritAll="false">
       
   236 			<param name="sf.list.name" value="s60-baseline"/>
       
   237 		</antcall>
       
   238 		
       
   239 			<!-- s60 what  -->
       
   240 			<!--
       
   241     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   242           			<param name="build.system" value="${sf.spec.build.system}" />
       
   243           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
       
   244           			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
       
   245           			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   246           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
       
   247     		</antcall>
       
   248 			-->
       
   249 			<!-- s60 clean main build -->
       
   250 			<if><istrue value="${sf.spec.baseline.clean}"/>
       
   251 				<then>
       
   252 					<antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   253 							<param name="build.system" value="${sf.spec.build.system}" />
       
   254 							<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
       
   255 							<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
       
   256 							<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   257 							<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
       
   258 					</antcall>
       
   259 				</then>
       
   260 			</if>
       
   261 
       
   262 			<antcall target="sf-list-dir" inheritAll="false">
       
   263 				<param name="sf.list.name" value="post-s60-clean"/>
       
   264 			</antcall>
       
   265 			
       
   266 			<!-- what has been cleaned from baseline PDK by s60 model -->
       
   267 			<antcall target="sf-delta-dir" inheritAll="false">
       
   268 				<param name="sf.list_a.name" value="s60-baseline"/>
       
   269 				<param name="sf.list_b.name" value="post-s60-clean"/>
       
   270 			</antcall>		
       
   271 			
       
   272 
       
   273             <!-- s60  tools build -->
       
   274     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   275           			<param name="build.system" value="${sf.spec.build.system}" />
       
   276           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
       
   277           			<reference refid="sbs.tools.var" torefid="sbs.var" />
       
   278           			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
       
   279           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
       
   280     		</antcall>
       
   281 
       
   282 			<antcall target="sf-list-dir" inheritAll="false">
       
   283 				<param name="sf.list.name" value="post-s60-build-tools"/>
       
   284 			</antcall>
       
   285 
       
   286     		<!-- s60 main build -->
       
   287     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   288           			<param name="build.system" value="${sf.spec.build.system}" />
       
   289           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
       
   290           			<reference refid="sbs.main.sbs.var" torefid="sbs.var" />
       
   291           			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   292           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
       
   293     		</antcall>
       
   294 			
       
   295 			
       
   296 			<antcall target="sf-list-dir" inheritAll="false">
       
   297 				<param name="sf.list.name" value="post-s60-build-main"/>
       
   298 			</antcall>
       
   299 
       
   300 			<!-- what has been built by tools+2+main -->
       
   301 			<antcall target="sf-delta-dir" inheritAll="false">
       
   302 				<param name="sf.list_a.name" value="s60-baseline"/>
       
   303 				<param name="sf.list_b.name" value="post-s60-build-main"/>
       
   304 			</antcall>		
       
   305 			
       
   306 			<!-- what has been cleaned and rebuilt -->
       
   307 			<antcall target="sf-intersect-dir" inheritAll="false">
       
   308 				<param name="sf.list_a.name" value="post-s60-clean_delta"/>       <!-- clean list -->
       
   309 				<param name="sf.list_b.name" value="post-s60-build-main_delta"/>  <!-- built list -->
       
   310 			</antcall>
       
   311 		
       
   312 	</target>
       
   313     
       
   314 </project>
   189 </project>
   315 
   190