920 <copy file="${sf.common.config.dir}/tools/ats/report_dummy.html" tofile="${publish.dir}/ats_reports/index.html" failonerror="false"/> |
920 <copy file="${sf.common.config.dir}/tools/ats/report_dummy.html" tofile="${publish.dir}/ats_reports/index.html" failonerror="false"/> |
921 </target> |
921 </target> |
922 |
922 |
923 <!-- TODO: Make this work for package builds once we have sysmodel story worked out --> |
923 <!-- TODO: Make this work for package builds once we have sysmodel story worked out --> |
924 <target name="sf-run-analysis-missing-files" if="sf.spec.checkbuild"> |
924 <target name="sf-run-analysis-missing-files" if="sf.spec.checkbuild"> |
925 <!-- splitbuild is only set for Platform builds --> |
925 <runtarget target="sf-check-missing-os-files"/> |
926 <if><istrue value="${sf.spec.splitbuild}"/> |
|
927 <then> |
|
928 <if><istrue value="${sf.spec.os.skipbuild}" /> |
|
929 <then><echo message="Skipping OS file check"/></then> |
|
930 <else><runtarget target="sf-check-missing-os-files"/></else> |
|
931 </if> |
|
932 |
|
933 <if><istrue value="${sf.spec.s60.skipbuild}" /> |
|
934 <then><echo message="Skipping S60 file check"/></then> |
|
935 <else><runtarget target="sf-check-missing-s60-files"/></else> |
|
936 </if> |
|
937 </then> |
|
938 <else> |
|
939 <runtarget target="sf-check-missing-os-files"/> |
|
940 </else> |
|
941 </if> |
|
942 </target> |
926 </target> |
943 |
927 |
944 <target name="sf-check-missing-os-files" depends="sf-compile-options"> |
928 <target name="sf-check-missing-os-files" depends="sf-compile-options"> |
945 <hlm:argSet id="sbs.check.tools.var"> |
929 <hlm:argSet id="sbs.check.tools.var"> |
946 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
930 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
952 <hlm:arg name="run-check" value="true" /> |
936 <hlm:arg name="run-check" value="true" /> |
953 </hlm:argSet> |
937 </hlm:argSet> |
954 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
938 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
955 <param name="build.system" value="${sf.spec.build.system}" /> |
939 <param name="build.system" value="${sf.spec.build.system}" /> |
956 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
940 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
957 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
|
958 <param name="build.id" value ="sbs_check"/> |
941 <param name="build.id" value ="sbs_check"/> |
959 <reference refid="sbs.check.tools.var" torefid="sbs.var" /> |
942 <reference refid="sbs.check.tools.var" torefid="sbs.var" /> |
960 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
943 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
961 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
944 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
962 </antcall> |
945 </antcall> |
971 </hlm:argSet> |
954 </hlm:argSet> |
972 |
955 |
973 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
956 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
974 <param name="build.system" value="${sf.spec.build.system}" /> |
957 <param name="build.system" value="${sf.spec.build.system}" /> |
975 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
958 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
976 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
|
977 <param name="build.id" value ="sbs_check"/> |
959 <param name="build.id" value ="sbs_check"/> |
978 <reference refid="sbs.check.iterate.main.var" torefid="sbs.var" /> |
960 <reference refid="sbs.check.iterate.main.var" torefid="sbs.var" /> |
979 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
961 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
980 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
962 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
981 </antcall> |
963 </antcall> |
984 </then> |
966 </then> |
985 <else> |
967 <else> |
986 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
968 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
987 <param name="build.system" value="${sf.spec.build.system}" /> |
969 <param name="build.system" value="${sf.spec.build.system}" /> |
988 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
970 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
989 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
|
990 <param name="build.id" value ="sbs_check"/> |
971 <param name="build.id" value ="sbs_check"/> |
991 <reference refid="sbs.check.main.var" torefid="sbs.var" /> |
972 <reference refid="sbs.check.main.var" torefid="sbs.var" /> |
992 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
973 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
993 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
974 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
994 </antcall> |
975 </antcall> |
995 </else> |
976 </else> |
996 </if> |
977 </if> |
997 </target> |
978 </target> |
998 |
979 |
999 <target name="sf-check-missing-s60-files" depends="sf-compile-options"> |
|
1000 |
|
1001 <hlm:argSet id="sbs.check.tools.var"> |
|
1002 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" /> |
|
1003 <hlm:arg name="run-check" value="true" /> |
|
1004 </hlm:argSet> |
|
1005 |
|
1006 <hlm:argSet id="sbs.check.main.var"> |
|
1007 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
|
1008 <hlm:arg name="run-check" value="true" /> |
|
1009 </hlm:argSet> |
|
1010 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
1011 <param name="build.system" value="${sf.spec.build.system}" /> |
|
1012 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
|
1013 <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/> |
|
1014 <param name="build.id" value ="sbs_check"/> |
|
1015 <reference refid="sbs.check.tools.var" torefid="sbs.var" /> |
|
1016 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
1017 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
|
1018 </antcall> |
|
1019 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
1020 <param name="build.system" value="${sf.spec.build.system}" /> |
|
1021 <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
|
1022 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/> |
|
1023 <param name="build.id" value ="sbs_check"/> |
|
1024 <reference refid="sbs.check.main.var" torefid="sbs.var" /> |
|
1025 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
1026 <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
|
1027 </antcall> |
|
1028 |
|
1029 </target> |
|
1030 |
|
1031 <target name="sf-create-public-PDK" depends="sf-prebuild,sf-run-sfl-licence-munging" > |
980 <target name="sf-create-public-PDK" depends="sf-prebuild,sf-run-sfl-licence-munging" > |
1032 <if> |
981 <if> |
1033 <istrue value="${sf.spec.md5.enable}"/> |
982 <istrue value="${sf.spec.md5.enable}"/> |
1034 <then> |
983 <then> |
1035 <echo message="INFO Creating MD5s"/> |
984 <echo message="INFO Creating MD5s"/> |