Make depends analysis tool conditional
authorShabe Razvi <shaber@symbian.org>
Mon, 20 Sep 2010 16:13:07 +0100
changeset 1261 dd40521a5759
parent 1260 3f4513c7c945
child 1262 1ecf825d394e
Make depends analysis tool conditional
common/build.postbuild.xml
common/common_props.ant.xml
sf-platform/platform_props.ant.xml
--- a/common/build.postbuild.xml	Mon Sep 20 15:53:13 2010 +0100
+++ b/common/build.postbuild.xml	Mon Sep 20 16:13:07 2010 +0100
@@ -555,6 +555,13 @@
         <mkdir dir="${build.log.dir}/analysis"/>
         <parallel>
           <runtarget target="sf-run-analysis-ant"/>
+          <if><istrue value="${sf.spec.analysis.depends.enable}"/>
+          <then>
+              <runtarget target="sf-run-analysis-depends"/>
+          </then>
+          </if>
+          <runtarget target="sf-run-analysis-ant"/>
+
           <runtarget target="sf-run-analysis-raptor"/>
           <runtarget target="sf-run-analysis-yarp"/>
           <runtarget target="sf-run-analysis-whatlog-summary"/>
@@ -742,10 +749,9 @@
       </if>
     </target>
 
-
     <target name="sf-run-analysis-depends">
 
-        <for param="binary" parallel="true" threadCount="${env.NUMBER_OF_PROCESSORS}">
+      <for param="binary" parallel="true" threadCount="${env.NUMBER_OF_PROCESSORS}">
 
         <fileset dir="${build.drive}/epoc32/release/winscw/udeb">
             <filename name="*.dll"/>
@@ -761,7 +767,7 @@
             <arg value="/c"/>            
             <arg value="perl"/>            
             <arg value="depends.pl"/>            
- 	    <arg value="@{binary}"/>
+            <arg value="@{binary}"/>
         </exec>
 
         </sequential>  
--- a/common/common_props.ant.xml	Mon Sep 20 15:53:13 2010 +0100
+++ b/common/common_props.ant.xml	Mon Sep 20 16:13:07 2010 +0100
@@ -101,7 +101,8 @@
 <!--<property name="sf.sdk.header.list.file"     value=""/> --> <!-- Set this to package SDK headers separately from the rest of epoc32 -->
 
     <!-- enable creation of MD5s -->
-    <property name="sf.spec.md5.enable"          value="false"/>
+    <property name="sf.spec.md5.enable"              value="false"/>
+    <property name="sf.spec.analysis.depends.enable" value="false"/>
 
     <!-- ATS client properties -->
     <property name="sf.spec.test.sendpkg.enable" value="false"/>
--- a/sf-platform/platform_props.ant.xml	Mon Sep 20 15:53:13 2010 +0100
+++ b/sf-platform/platform_props.ant.xml	Mon Sep 20 16:13:07 2010 +0100
@@ -40,7 +40,9 @@
   <property name="sf.spec.package.bin.enable"  value="true"/>
   <property name="sf.spec.package.src.enable"  value="true"/>
  
-  <property name="sf.spec.md5.enable"          value="true"/>
+  <property name="sf.spec.md5.enable"               value="true"/>
+
+  <property name="sf.spec.analysis.depends.enable"  value="false"/>
 
 </project>