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.
authorMattD <mattd@symbian.org>
Wed, 12 Aug 2009 10:14:39 +0100
changeset 338 7d60f71b6a78
parent 337 8337c2afc41f
child 339 97c01977a87b
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.
sf-platform/build.xml
--- a/sf-platform/build.xml	Mon Aug 10 10:50:40 2009 +0100
+++ b/sf-platform/build.xml	Wed Aug 12 10:14:39 2009 +0100
@@ -267,7 +267,29 @@
 				</antcall>
 			</else>
 		</if>
-		
+		<if><isset property="sf.os.compile.iterate"/>
+      <then>
+        <for list="${sf.spec.sbs.config}" delimiter="," param="sf.spec.sbs.splitconfig">
+          <sequential>
+  				<echo message="INFO [Iterative compile] @{sf.spec.sbs.splitconfig}"/>
+  
+          <hlm:argSet id="sbs.main.iterate.sbs.var">
+                  <hlm:arg name="config" value="@{sf.spec.sbs.splitconfig}" />
+                  <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
+          </hlm:argSet>
+          <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+                  <param name="build.system" value="${sf.spec.build.system}" />
+                  <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
+                  <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
+                  <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
+                  <reference refid="sbs.main.iterate.sbs.var" torefid="sbs.var" />
+                  <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
+                  <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
+          </antcall>                
+          </sequential>
+        </for>        
+      </then>
+		  <else>
         <!-- OS main build -->
         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
                 <param name="build.system" value="${sf.spec.build.system}" />
@@ -278,7 +300,8 @@
                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
         </antcall>
-		
+		  </else>
+    </if>		
 		<if><isset property="sf.os.compile.fast"/>
 			<then>
 				<echo message="INFO [FAST COMPILE] Skipping delta and intersect list generation"/>