Merge commit
authorShabe Razvi <shaber@symbian.org>
Mon, 22 Jun 2009 15:44:58 +0100
changeset 212 ab3b43adbb0f
parent 211 29424d1bc56b (diff)
parent 210 64274d0f53a7 (current diff)
child 213 a4bfc8ed3b04
child 215 6e86ffca2e31
Merge commit
--- a/sf-platform/build.xml	Mon Jun 22 14:06:50 2009 +0100
+++ b/sf-platform/build.xml	Mon Jun 22 15:44:58 2009 +0100
@@ -88,6 +88,24 @@
         </for>
     </target>
 
+    <target name="generate-layers">
+       <echo message="canno-file:${canonical.sysdef.file}"/>
+       <echo message="raptor-filters:raptor_${sysdef.configuration}"/>
+
+       <!-- All we want is a sysdef with the config name appended, so just copy it -->
+       <echo message="INFO: Skip GenXML and copy sysdef to sysdef+config name"/>
+       <copy file="${canonical.sysdef.file}" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
+
+	<copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml">
+		<filterchain>
+			<linecontainsregexp negate="true">
+			  <regexp pattern="^\s*$"/>
+			</linecontainsregexp>
+		</filterchain>
+	</copy>
+	<delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
+	</target>
+
   <!--
     == Name: SF-COMPILE
     ==