18 |
18 |
19 Description: |
19 Description: |
20 |
20 |
21 ============================================================================ |
21 ============================================================================ |
22 --> |
22 --> |
23 <project name="minibuild.ido" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
23 <project name="minibuild.imaker" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
24 <property environment="env"/> |
24 <property environment="env"/> |
25 <import file="../site/${env.TEAM}.ant.xml" /> |
25 <import file="../site/${env.TEAM}.ant.xml" /> |
26 <dirname property="config.dir" file="${ant.file.minibuild.ido}"/> |
26 <dirname property="config.dir" file="${ant.file.minibuild.ido}"/> |
27 |
27 |
28 <!-- Enable Helium internal assertion checking. --> |
28 <!-- Enable Helium internal assertion checking. --> |
29 <property name="hlm.enable.asserts" value="1" /> |
29 <property name="hlm.enable.asserts" value="1" /> |
30 |
30 |
31 <property name="build.name" value="minibuild_imaker" /> |
31 <property name="build.name" value="minibuild_imaker" /> |
32 <property name="build.family" value="minibuild_imaker" /> |
32 <property name="build.family" value="minibuild_imaker" /> |
33 <property name="major.version" value="0" /> |
33 <property name="major.version" value="0" /> |
34 <property name="minor.version" value="0" /> |
34 <property name="minor.version" value="0" /> |
35 <property name="ccm.enabled" value="true"/> |
35 <property name="ccm.enabled" value="true"/> |
36 |
36 <property name="ncp.version" value="79"/> |
37 <!-- Configuring the build system --> |
37 <property name="s60.version" value="52"/> |
|
38 <tstamp><format property="build.year" pattern="yyyy"/></tstamp> |
|
39 <tstamp><format property="build.week" pattern="ww"/></tstamp> |
|
40 <property name="rombuild.buildinfo.template" location="${build.drive}/build/s60_52_build/build/helium_conf/imaker_conf/image_conf_buildinfo.mk.ftl"/> |
|
41 |
|
42 <!-- Configuring the build system --> |
38 <property name="build.system" value="ec-helium" /> |
43 <property name="build.system" value="ec-helium" /> |
39 |
44 |
40 <property name="ec.cluster.manager" value="fawec001"/> |
45 <property name="ec.cluster.manager" value="fawec001"/> |
41 <property name="ec.build.class" value="ISISBR"/> |
46 <property name="ec.build.class" value="ISISBR"/> |
42 |
47 |
43 <property name="rvct.version" value="22_616"/> |
48 <property name="rvct.version" value="22_616"/> |
44 |
49 |
45 <!-- Configuring get latest env. --> |
50 <!-- Configuring get latest env. --> |
46 <property name="s60.grace.service" value="s60_devices_sw" /> |
51 <property name="s60.grace.service" value="s60_devices_sw" /> |
47 <property name="s60.grace.product" value="DFS7x.92" /> |
52 <property name="s60.grace.product" value="DFS7x.92" /> |
48 <property name="s60.grace.release" value="mcl_\d{6}_hw79" /> |
53 <property name="s60.grace.release" value="92_\d{6}_hw79" /> |
49 <property name="prep.root.dir" value="E:\Build_E\${env.USERNAME}\ido_ba\${build.name}" /> |
54 <property name="prep.root.dir" value="E:\Build_E\${env.USERNAME}\ido_ba\${build.name}" /> |
50 |
55 |
51 |
56 |
52 <import file="${helium.dir}/helium.ant.xml"/> |
57 <import file="${helium.dir}/helium.ant.xml"/> |
53 |
58 |
54 <!-- Need to define custom preparation steps. --> |
59 <!-- Need to define custom preparation steps. --> |
55 <target name="ido-prep" depends="prep-drive,preparation-getenv"/> |
60 <target name="ido-prep" depends="prep-drive,preparation-getenv"/> |
56 |
61 |
57 <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check--> |
62 <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check--> |
58 <target name="do-mini-build" depends="ido-update-build-area, |
63 <target name="do-mini-build" depends="ido-update-build-area, |
59 mini-build-cleanup, |
64 mini-build-cleanup, |
60 mini-build-install-new-imaker, |
65 mini-build-install-new-imaker, |
61 imaker-build, |
66 mini-build-prepare, |
|
67 build-roms, |
|
68 fota-a-build, |
|
69 build-icreatordp, |
62 mini-build-check"/> |
70 mini-build-check"/> |
63 |
71 |
64 |
72 |
65 <!--ant code coverage for mini-builds--> |
73 <!--ant code coverage for mini-builds--> |
66 <target name="mini-build"> |
74 <target name="mini-build"> |
136 <target name="mini-build-cleanup"> |
144 <target name="mini-build-cleanup"> |
137 <delete verbose="true" includeemptydirs="true" failonerror="false"> |
145 <delete verbose="true" includeemptydirs="true" failonerror="false"> |
138 <fileset dir="${build.drive}/" casesensitive="false"> |
146 <fileset dir="${build.drive}/" casesensitive="false"> |
139 <include name="makefile"/> |
147 <include name="makefile"/> |
140 <include name="*.mk"/> |
148 <include name="*.mk"/> |
141 <include name="ecloud_tmp_*/**"/> |
149 <include name="ecloud_tmp_*/**"/> |
142 <include name="emake.*"/> |
150 <include name="emake.*"/> |
143 <include name="epoc32/build/**"/> |
151 <include name="epoc32/build/**"/> |
144 <include name="epoc32/rombuild/*/**"/> |
152 <!--<include name="epoc32/rombuild/*/**"/>--> |
145 <include name="output/**"/> |
153 <include name="output/**"/> |
146 <include name="timestart.txt"/> |
154 <include name="timestart.txt"/> |
147 <include name="timestop.txt"/> |
155 <include name="timestop.txt"/> |
148 </fileset> |
156 </fileset> |
149 </delete> |
157 </delete> |
150 <mkdir dir="${build.drive}/output/logs"/> |
158 <mkdir dir="${build.drive}/output/logs"/> |
151 </target> |
159 </target> |
152 |
160 |
153 |
161 |
|
162 <target name="mini-build-prepare"> |
|
163 <hlm:hackMacro file="${build.drive}/epoc32/rom/config/${product.platform}/${product.name}/customer/custvariant_01_test/content/variant.mk" keyword="CUSTVARIANT_COMPLP" regex="(custvariant\s*$)" replace="\1\nCUSTVARIANT_COMPLP=01 02"/> |
|
164 </target> |
|
165 |
154 <target name="mini-build-check"> |
166 <target name="mini-build-check"> |
155 </target> |
167 </target> |
156 |
168 |
157 <!-- Rom configuration --> |
169 <!-- Rom configuration --> |
158 <hlm:imakerconfigurationset id="imaker.rom.config"> |
170 <hlm:imakerconfigurationset id="imaker.rom.config"> |
170 <variable name="USE_FOTI" value="0"/> |
182 <variable name="USE_FOTI" value="0"/> |
171 <variable name="USE_FOTA" value="1"/> |
183 <variable name="USE_FOTA" value="1"/> |
172 <variable name="TYPE" value="rnd"/> |
184 <variable name="TYPE" value="rnd"/> |
173 </variableset> |
185 </variableset> |
174 </imakerconfiguration> |
186 </imakerconfiguration> |
175 <imakerconfiguration> |
187 <!--imakerconfiguration> |
176 <makefileset> |
188 <makefileset> |
177 <include name="**/${product.name}/*ui.mk"/> |
189 <include name="**/${product.name}/*ui.mk"/> |
178 </makefileset> |
190 </makefileset> |
179 <targetset> |
191 <targetset> |
180 <include name="^core$"/> |
192 <include name="^core$"/> |
181 <include name="^langpack_01.*$"/> |
193 <include name="^langpack_01.*$"/> |
182 <include name="^langpack_02.*$"/><!----> |
194 <include name="^langpack_02.*$"/> |
183 <include name="^custvariant_.*$"/> |
195 <include name="^custvariant_.*$"/> |
184 </targetset> |
196 </targetset> |
185 <variableset> |
197 <variableset> |
186 <variable name="USE_FOTI" value="0"/> |
198 <variable name="USE_FOTI" value="0"/> |
187 <variable name="USE_FOTA" value="1"/> |
199 <variable name="USE_FOTA" value="1"/> |
|
200 <variable name="USE_FOTAXML" value="1"/> |
188 <variable name="TYPE" value="prd"/> |
201 <variable name="TYPE" value="prd"/> |
189 </variableset> |
202 </variableset> |
190 </imakerconfiguration> |
203 </imakerconfiguration--> |
191 </hlm:imakerconfigurationset> |
204 </hlm:imakerconfigurationset> |
192 </project> |
205 </project> |
193 |
206 |
194 |
207 |