Helium API

Target sf-s60-compile

Location

D:\maintools\sf-config\sf-platform\build.xml:363:

Conditional execution

No conditions on target execution.


Description

Name: SF-S60-COMPILE

Desc: Compile S60 part of build using the spec defined in:

- job_props.ant.xml - job_refs.ant.xml


Property dependencies

NameEdit status
User editable properties
Internal properties


Target dependencies

sf-s60-compile dependencies


Source code

    <target name="sf-s60-compile">

        <hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.tools.var">
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}"/>
          			<hlm:arg name="singlejob" value="true"/>
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>
                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}"/>
    		</hlm:argSet>

			<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.tools.clean.var">
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}"/>
          			<hlm:arg name="singlejob" value="true"/>
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>
    		</hlm:argSet>

    		<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.main.sbs.var">
          			<hlm:arg name="config" value="${sf.spec.sbs.config}"/>
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>
                                <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}"/>
    		</hlm:argSet>

			<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.main.clean.sbs.var">
          			<hlm:arg name="config" value="${sf.spec.sbs.config}"/>
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>
				<hlm:arg name="command" value="CLEAN --check"/>
    		</hlm:argSet>
			
          			<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.main.what.sbs.var">
          			<hlm:arg name="config" value="${sf.spec.sbs.config}"/>
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>
				<hlm:arg name="command" value="WHAT"/>
    		</hlm:argSet>

    		<hlm:sbsMakeOptions xmlns:hlm="http://www.nokia.com/helium" engine="gmake" id="sbs.toolsbuild.options"/>
    		<hlm:sbsMakeOptions xmlns:hlm="http://www.nokia.com/helium" engine="gmake" id="sbs.fullbuild.options"/>

		<antcall target="sf-list-dir" inheritAll="false">
			<param name="sf.list.name" value="s60-baseline"/>
		</antcall>
		
			<!-- s60 what  -->
			<!--
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
          			<param name="build.system" value="${sf.spec.build.system}" />
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
                    <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
          			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
    		</antcall>
			-->
			<!-- s60 clean main build -->
			<if><istrue value="${sf.spec.baseline.clean}"/>
				<then>
					<antcall target="compile-main" inheritAll="false" inheritRefs="true">
							<param name="build.system" value="${sf.spec.build.system}"/>
							<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}"/>
							<param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
							<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var"/>
							<reference refid="sbs.fullbuild.options" torefid="sbs.make.options"/>
							<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files"/>
					</antcall>
				</then>
			</if>

			<antcall target="sf-list-dir" inheritAll="false">
				<param name="sf.list.name" value="post-s60-clean"/>
			</antcall>
			
			<!-- what has been cleaned from baseline PDK by s60 model -->
			<antcall target="sf-delta-dir" inheritAll="false">
				<param name="sf.list_a.name" value="s60-baseline"/>
				<param name="sf.list_b.name" value="post-s60-clean"/>
			</antcall>		
			

            <!-- s60  tools build -->
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
          			<param name="build.system" value="${sf.spec.build.system}"/>
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}"/>
					<param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
          			<reference refid="sbs.tools.var" torefid="sbs.var"/>
          			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options"/>
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files"/>
    		</antcall>

			<antcall target="sf-list-dir" inheritAll="false">
				<param name="sf.list.name" value="post-s60-build-tools"/>
			</antcall>

    		<!-- s60 main build -->
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
          			<param name="build.system" value="${sf.spec.build.system}"/>
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}"/>
                                <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
          			<reference refid="sbs.main.sbs.var" torefid="sbs.var"/>
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options"/>
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files"/>
    		</antcall>
			
			
			<antcall target="sf-list-dir" inheritAll="false">
				<param name="sf.list.name" value="post-s60-build-main"/>
			</antcall>

			<!-- what has been built by tools+2+main -->
			<antcall target="sf-delta-dir" inheritAll="false">
				<param name="sf.list_a.name" value="s60-baseline"/>
				<param name="sf.list_b.name" value="post-s60-build-main"/>
			</antcall>		
			
			<!-- what has been cleaned and rebuilt -->
			<antcall target="sf-intersect-dir" inheritAll="false">
				<param name="sf.list_a.name" value="post-s60-clean_delta"/>       <!-- clean list -->
				<param name="sf.list_b.name" value="post-s60-build-main_delta"/>  <!-- built list -->
			</antcall>
		
	</target>

Helium API
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html