sf-platform/build.xml
changeset 40 54444a2ae2db
parent 39 9edae8fe1416
child 65 0099c046d4f3
equal deleted inserted replaced
39:9edae8fe1416 40:54444a2ae2db
   140   <target name="sf-os-compile">
   140   <target name="sf-os-compile">
   141 
   141 
   142         <hlm:argSet id="sbs.tools2.var">
   142         <hlm:argSet id="sbs.tools2.var">
   143                 <hlm:arg name="config" value="tools2_rel" />
   143                 <hlm:arg name="config" value="tools2_rel" />
   144                 <hlm:arg name="singlejob" value="false" />
   144                 <hlm:arg name="singlejob" value="false" />
   145                 <hlm:arg name="enable-filter" value="true" />
   145                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   146         </hlm:argSet>
   146         </hlm:argSet>
   147 
   147 
   148 		<hlm:argSet id="sbs.tools2.clean.var">
   148 		<hlm:argSet id="sbs.tools2.clean.var">
   149                 <hlm:arg name="config" value="tools2_rel" />
   149                 <hlm:arg name="config" value="tools2_rel" />
   150                 <hlm:arg name="singlejob" value="false" />
   150                 <hlm:arg name="singlejob" value="false" />
   151                 <hlm:arg name="enable-filter" value="true" />
   151                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   152 				<hlm:arg name="command" value="CLEAN" />
   152 				<hlm:arg name="command" value="CLEAN" />
   153         </hlm:argSet>
   153         </hlm:argSet>
   154 
   154 
   155         <hlm:argSet id="sbs.tools.var">
   155         <hlm:argSet id="sbs.tools.var">
   156                 <hlm:arg name="config" value="tools_rel" />
   156                 <hlm:arg name="config" value="tools_rel" />
   157                 <hlm:arg name="singlejob" value="true" />
   157                 <hlm:arg name="singlejob" value="true" />
   158                 <hlm:arg name="enable-filter" value="true" />
   158                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   159         </hlm:argSet>
   159         </hlm:argSet>
   160 
   160 
   161 		<hlm:argSet id="sbs.tools.clean.var">
   161 		<hlm:argSet id="sbs.tools.clean.var">
   162                 <hlm:arg name="config" value="tools_rel" />
   162                 <hlm:arg name="config" value="tools_rel" />
   163                 <hlm:arg name="singlejob" value="true" />
   163                 <hlm:arg name="singlejob" value="true" />
   164                 <hlm:arg name="enable-filter" value="true" />
   164                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   165 				<hlm:arg name="command" value="CLEAN" />
   165 				<hlm:arg name="command" value="CLEAN" />
   166         </hlm:argSet>
   166         </hlm:argSet>
   167 
   167 
   168         <hlm:argSet id="sbs.main.sbs.var">
   168         <hlm:argSet id="sbs.main.sbs.var">
   169                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   169                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   170                 <hlm:arg name="enable-filter" value="true" />
   170                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   171         </hlm:argSet>
   171         </hlm:argSet>
   172 
   172 
   173 		<hlm:argSet id="sbs.main.clean.sbs.var">
   173 		<hlm:argSet id="sbs.main.clean.sbs.var">
   174                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   174                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   175                 <hlm:arg name="enable-filter" value="true" />
   175                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   176 				<hlm:arg name="command" value="CLEAN" />
   176 				<hlm:arg name="command" value="CLEAN" />
       
   177         </hlm:argSet>
       
   178 		
       
   179 		<hlm:argSet id="sbs.main.what.sbs.var">
       
   180                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   181                 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   182 				<hlm:arg name="command" value="WHAT" />
   177         </hlm:argSet>
   183         </hlm:argSet>
   178 
   184 
   179         <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   185         <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   180         <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   186         <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   181 
   187 
   182 		<!-- generate baseline dir list to allow delta creation -->
   188 		<!-- generate baseline dir list to allow delta creation -->
   183 		<antcall target="sf-list-dir" inheritAll="false">
   189 		<antcall target="sf-list-dir" inheritAll="false">
   184 			<param name="sf.list.name" value="baseline"/>
   190 			<param name="sf.list.name" value="baseline"/>
   185 		</antcall>
   191 		</antcall>
   186 
   192 
       
   193 		<!-- OS what -->
       
   194         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   195                 <param name="build.system" value="${sf.spec.build.system}" />
       
   196                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
       
   197                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
       
   198                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
       
   199                 <reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
       
   200                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   201                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
       
   202         </antcall>
       
   203 		
   187 		<!-- OS clean main build -->
   204 		<!-- OS clean main build -->
   188         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   205         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   189                 <param name="build.system" value="${sf.spec.build.system}" />
   206                 <param name="build.system" value="${sf.spec.build.system}" />
   190                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   207                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   191                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   208                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   196         </antcall>
   213         </antcall>
   197 		
   214 		
   198 		<antcall target="sf-list-dir" inheritAll="false">
   215 		<antcall target="sf-list-dir" inheritAll="false">
   199 			<param name="sf.list.name" value="post-clean"/>
   216 			<param name="sf.list.name" value="post-clean"/>
   200 		</antcall>
   217 		</antcall>
       
   218 
       
   219 		<!-- what has been cleaned from baseline PDK by sos model -->
       
   220 		<antcall target="sf-delta-dir" inheritAll="false">
       
   221 			<param name="sf.list_a.name" value="baseline"/>
       
   222 			<param name="sf.list_b.name" value="post-clean"/>
       
   223 		</antcall>		
   201 		
   224 		
   202         <!-- OS tools2 build first-->
   225         <!-- OS tools2 build first-->
   203         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   226         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   204                 <param name="build.system" value="${sf.spec.build.system}" />
   227                 <param name="build.system" value="${sf.spec.build.system}" />
   205                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   228                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   211         </antcall>
   234         </antcall>
   212 
   235 
   213 		<antcall target="sf-list-dir" inheritAll="false">
   236 		<antcall target="sf-list-dir" inheritAll="false">
   214 			<param name="sf.list.name" value="post-build-tools2"/>
   237 			<param name="sf.list.name" value="post-build-tools2"/>
   215 		</antcall>
   238 		</antcall>
   216 
   239 		
       
   240 		
   217         <!-- OS tools build after tools2 -->
   241         <!-- OS tools build after tools2 -->
   218         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   242         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   219                 <param name="build.system" value="${sf.spec.build.system}" />
   243                 <param name="build.system" value="${sf.spec.build.system}" />
   220                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   244                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   221                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   245                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   241         </antcall>
   265         </antcall>
   242 		
   266 		
   243 		<antcall target="sf-list-dir" inheritAll="false">
   267 		<antcall target="sf-list-dir" inheritAll="false">
   244 			<param name="sf.list.name" value="post-build-main"/>
   268 			<param name="sf.list.name" value="post-build-main"/>
   245 		</antcall>
   269 		</antcall>
       
   270 		
       
   271 		<!-- what has been built in tools2+tools+main -->
       
   272 		<antcall target="sf-delta-dir" inheritAll="false">
       
   273 			<param name="sf.list_a.name" value="post-clean"/>
       
   274 			<param name="sf.list_b.name" value="post-build-main"/>
       
   275 		</antcall>
   246   </target>
   276   </target>
   247 
   277 
   248   <!--
   278   <!--
   249     == Name: SF-S60-COMPILE
   279     == Name: SF-S60-COMPILE
   250     ==
   280     ==
   257   <target name="sf-s60-compile">
   287   <target name="sf-s60-compile">
   258 
   288 
   259         <hlm:argSet id="sbs.tools.var">
   289         <hlm:argSet id="sbs.tools.var">
   260           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   290           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   261           			<hlm:arg name="singlejob" value="true" />
   291           			<hlm:arg name="singlejob" value="true" />
   262           			<hlm:arg name="enable-filter" value="true" />
   292           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   263     		</hlm:argSet>
   293     		</hlm:argSet>
   264 
   294 
   265 			<hlm:argSet id="sbs.tools.clean.var">
   295 			<hlm:argSet id="sbs.tools.clean.var">
   266           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   296           			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
   267           			<hlm:arg name="singlejob" value="true" />
   297           			<hlm:arg name="singlejob" value="true" />
   268           			<hlm:arg name="enable-filter" value="true" />
   298           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   269     		</hlm:argSet>
   299     		</hlm:argSet>
   270 
   300 
   271     		<hlm:argSet id="sbs.main.sbs.var">
   301     		<hlm:argSet id="sbs.main.sbs.var">
   272           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   302           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   273           			<hlm:arg name="enable-filter" value="true" />
   303           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   274     		</hlm:argSet>
   304     		</hlm:argSet>
   275 
   305 
   276 			<hlm:argSet id="sbs.main.clean.sbs.var">
   306 			<hlm:argSet id="sbs.main.clean.sbs.var">
   277           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   307           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
   278           			<hlm:arg name="enable-filter" value="true" />
   308           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   279 					<hlm:arg name="command" value="CLEAN" />
   309 					<hlm:arg name="command" value="CLEAN" />
   280     		</hlm:argSet>
   310     		</hlm:argSet>
       
   311 			
       
   312 			<hlm:argSet id="sbs.main.what.sbs.var">
       
   313           			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   314           			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   315 					<hlm:arg name="command" value="WHAT" />
       
   316     		</hlm:argSet>
   281 
   317 
   282     		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   318     		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   283     		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   319     		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   284 
   320 
   285 		<antcall target="sf-list-dir" inheritAll="false">
   321 		<antcall target="sf-list-dir" inheritAll="false">
   286 			<param name="sf.list.name" value="pre-s60-clean"/>
   322 			<param name="sf.list.name" value="s60-baseline"/>
   287 		</antcall>	        
   323 		</antcall>
   288 		
   324 		
       
   325 			<!-- s60 what  -->
       
   326     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   327           			<param name="build.system" value="${sf.spec.build.system}" />
       
   328           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
       
   329                     <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
       
   330           			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
       
   331           			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   332           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
       
   333     		</antcall>
       
   334 			
   289 			<!-- s60 clean main build -->
   335 			<!-- s60 clean main build -->
   290     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   336     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   291           			<param name="build.system" value="${sf.spec.build.system}" />
   337           			<param name="build.system" value="${sf.spec.build.system}" />
   292           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   338           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   293                     <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
   339                     <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
   297     		</antcall>
   343     		</antcall>
   298 
   344 
   299 			<antcall target="sf-list-dir" inheritAll="false">
   345 			<antcall target="sf-list-dir" inheritAll="false">
   300 				<param name="sf.list.name" value="post-s60-clean"/>
   346 				<param name="sf.list.name" value="post-s60-clean"/>
   301 			</antcall>
   347 			</antcall>
       
   348 			
       
   349 			<!-- what has been cleaned from baseline PDK by s60 model -->
       
   350 			<antcall target="sf-delta-dir" inheritAll="false">
       
   351 				<param name="sf.list_a.name" value="s60-baseline"/>
       
   352 				<param name="sf.list_b.name" value="post-s60-clean"/>
       
   353 			</antcall>		
       
   354 			
   302 
   355 
   303             <!-- s60  tools build -->
   356             <!-- s60  tools build -->
   304     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   357     		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   305           			<param name="build.system" value="${sf.spec.build.system}" />
   358           			<param name="build.system" value="${sf.spec.build.system}" />
   306           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   359           			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
   326 			
   379 			
   327 			<antcall target="sf-list-dir" inheritAll="false">
   380 			<antcall target="sf-list-dir" inheritAll="false">
   328 				<param name="sf.list.name" value="post-s60-build-main"/>
   381 				<param name="sf.list.name" value="post-s60-build-main"/>
   329 			</antcall>
   382 			</antcall>
   330 
   383 
   331 			
       
   332     		<!-- s60 postbuild bldmelast using ebs -->
   384     		<!-- s60 postbuild bldmelast using ebs -->
   333     		<antcall target="compile-main" inheritAll="false">
   385     		<antcall target="compile-main" inheritAll="false">
   334           			<param name="build.system" value="ebs" />
   386           			<param name="build.system" value="ebs" />
   335           			<param name="sysdef.configurations.list" value="S60_bldmelast" />
   387           			<param name="sysdef.configurations.list" value="S60_bldmelast" />
   336           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   388           			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
   338 
   390 
   339 			<antcall target="sf-list-dir" inheritAll="false">
   391 			<antcall target="sf-list-dir" inheritAll="false">
   340 				<param name="sf.list.name" value="post-s60-bldmelast"/>
   392 				<param name="sf.list.name" value="post-s60-bldmelast"/>
   341 			</antcall>
   393 			</antcall>
   342 
   394 
       
   395 			<!-- what has been built by tools+2+main+bldmelast -->
       
   396 			<antcall target="sf-delta-dir" inheritAll="false">
       
   397 				<param name="sf.list_a.name" value="s60-baseline"/>
       
   398 				<param name="sf.list_b.name" value="post-s60-bldmelast"/>
       
   399 			</antcall>		
   343 	</target>
   400 	</target>
   344 
   401 
   345   <!-- import sf-common-config -->
   402   <!-- import sf-common-config -->
   346   <import file="../common/build.xml" />
   403   <import file="../common/build.xml" />
   347 
   404