author | srilekhas |
Fri, 08 Oct 2010 21:02:28 +0100 | |
changeset 650 | 8f038057ffa5 |
parent 645 | b8d81fa19e7d |
permissions | -rw-r--r-- |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
2 |
<!-- |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
3 |
============================================================================ |
628 | 4 |
Name : build.xml |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
5 |
Part of : Helium |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
6 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
7 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
8 |
All rights reserved. |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
9 |
This component and the accompanying materials are made available |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
10 |
under the terms of the License "Eclipse Public License v1.0" |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
11 |
which accompanies this distribution, and is available |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
12 |
at the URL "http://www.eclipse.org/legal/epl-v10.html". |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
13 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
14 |
Initial Contributors: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
15 |
Nokia Corporation - initial contribution. |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
16 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
17 |
Contributors: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
18 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
19 |
Description: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
20 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
21 |
============================================================================ |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
22 |
--> |
628 | 23 |
<project name="minibuild.compile" default="minibuild" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium" basedir="."> |
24 |
<property environment="env" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
25 |
<import file="../site/${env.TEAM}.ant.xml" optional="true"/> |
628 | 26 |
<dirname property="config.dir" file="${ant.file.minibuild.compile}" /> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
27 |
|
628 | 28 |
<!-- Enable Helium internal assertion checking. --> |
29 |
<property name="hlm.enable.asserts" value="1" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
30 |
|
628 | 31 |
<property name="build.name" value="minibuild_compile" /> |
32 |
<property name="build.family" value="test_minibuilds" /> |
|
33 |
<property name="major.version" value="0" /> |
|
34 |
<property name="minor.version" value="0" /> |
|
35 |
<property name="publish.root.dir" location="${build.drive}/release" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
36 |
|
645 | 37 |
<!-- For upload--> |
628 | 38 |
<property name="hydra.service" value="Helium" /> |
39 |
<property name="hydra.product" value="minibuild_compile" /> |
|
40 |
<property name="release.label" value="${major.version}.${minor.version}" /> |
|
645 | 41 |
|
42 |
<!-- build --> |
|
43 |
<property name="qmake.enabled" value="true" /> |
|
44 |
<property name="sysdef3.enabled" value="false" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
45 |
|
628 | 46 |
<!-- build configuration --> |
47 |
<property name="sysdef.configurations.list" value="helium_minibuild_compile" /> |
|
48 |
<path id="system.definition.files"> |
|
49 |
<fileset dir="." includes="*.sysdef.xml" /> |
|
50 |
</path> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
51 |
|
628 | 52 |
<property name="build.system" value="ec-helium" /> |
53 |
<property name="rvct.version" value="22_616" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
54 |
|
628 | 55 |
<!-- Archiving configuration--> |
56 |
<property name="zip.config.file" location="archive.cfg.xml" /> |
|
179 | 57 |
<property name="zips.ee.spec.name" value="minibuild_archive" /> |
58 |
<property name="zips.ee-empty.spec.name" value="empty_minibuild_archive" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
59 |
|
628 | 60 |
<!-- Synergy is not configured --> |
61 |
<property name="skip.password.validation" value="1" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
62 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
63 |
|
628 | 64 |
<import file="${helium.dir}/helium.ant.xml" /> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
65 |
|
628 | 66 |
<!-- Run the full sequence of target for the minibuild. ,minibuild-prep,compile-main,zip-ee,minibuild-check--> |
67 |
<target name="do-minibuild" depends="minibuild-cleanup,minibuild-install-new-imaker,minibuild-prep, |
|
68 |
compile-main,test-ec-history-option,integration-mmp-to-target,minibuild-archive,build-roms, |
|
69 |
minibuild-check,final" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
70 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
71 |
|
628 | 72 |
<target name="do-minibuild-subcon" depends="minibuild-cleanup,minibuild-install-new-imaker,minibuild-prep, |
73 |
compile-main,minibuild-archive,minibuild-check" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
74 |
|
628 | 75 |
<!--ant code coverage for minibuilds--> |
76 |
<target name="minibuild"> |
|
77 |
<antcall target="database"> |
|
78 |
<param name="home.files.only" value="false"/> |
|
79 |
</antcall> |
|
80 |
<mkdir dir="${helium.build.dir}/temp" /> |
|
81 |
<hlm:coveragerecord name="${helium.build.dir}/temp/test_minibuild.xml" action="start" /> |
|
82 |
<runtarget target="do-minibuild" /> |
|
83 |
<hlm:coveragerecord name="${helium.build.dir}/temp/test_minibuild.xml" action="stop" /> |
|
84 |
<fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.txt.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.txt"> |
|
85 |
<data expandProperties="yes"> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
86 |
doc: xml(${helium.build.dir}/temp/test_minibuild.xml) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
87 |
database: xml(${database.file}) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
88 |
</data> |
628 | 89 |
</fmpp> |
90 |
<loadfile srcfile="${helium.build.dir}/temp/test_minibuild.txt" property="ant.coverage.summary" /> |
|
91 |
<echo> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
92 |
The summary of Ant code coverage: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
93 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
94 |
${ant.coverage.summary}</echo> |
628 | 95 |
<fmpp sourcefile="${helium.dir}/tools/common/templates/coveragerecord.html.ftl" outputfile="${helium.build.dir}/temp/test_minibuild.html"> |
96 |
<data expandProperties="yes"> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
97 |
doc: xml(${helium.build.dir}/temp/test_minibuild.xml) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
98 |
database: xml(${database.file}) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
99 |
</data> |
628 | 100 |
</fmpp> |
101 |
</target> |
|
102 |
||
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
103 |
<!-- Test ec history option is create for single node build and merge is for multinode build. --> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
104 |
<target name="test-ec-history-option" if="build.system.ec-helium"> |
179 | 105 |
<loadfile srcfile="${temp.build.dir}/${build.id}.${sysdef.configurations.list}_run_emake.bat" property="emake.bat.file"/> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
106 |
<if> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
107 |
<equals arg1="${ec.maxagents}" arg2="1" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
108 |
<then> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
109 |
<au:assertTrue> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
110 |
<contains string="${emake.bat.file}" substring="--emake-history=create"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
111 |
</au:assertTrue> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
112 |
</then> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
113 |
<else> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
114 |
<au:assertTrue> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
115 |
<contains string="${emake.bat.file}" substring="--emake-history=merge"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
116 |
</au:assertTrue> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
117 |
</else> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
118 |
</if> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
119 |
<echo message="ec.mode:${ec.mode}" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
120 |
<echo message="ec.maxagents:${ec.maxagents}"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
121 |
<echo message="ec.history.option:${ec.history.option}"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
122 |
</target> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
123 |
|
628 | 124 |
<!-- Prepare the minibuild. --> |
125 |
<!--target name="minibuild-prep" depends="init-build-area,start-ant-log,diamonds,set-arm-version,prep-copy-symbiantools"/--> |
|
126 |
<target name="minibuild-prep" depends="prep" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
127 |
|
628 | 128 |
<!-- Stubbing few targets for easy testing with dragonfly ... --> |
129 |
<target name="prep-drive" depends="build-number" /> |
|
130 |
<target name="dragonfly-prep-drive" /> |
|
131 |
<target name="do-prep-work-area" /> |
|
132 |
<target name="create-bom" /> |
|
133 |
<target name="check-env-prep" /> |
|
134 |
<target name="prep-copy" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
135 |
|
628 | 136 |
<target name="minibuild-release"> |
137 |
<mkdir dir="${publish.release.dir}" /> |
|
138 |
<copy todir="${publish.release.dir}"> |
|
139 |
<fileset dir="${build.output.dir}"> |
|
140 |
<include name="release_flash_images/**" /> |
|
141 |
</fileset> |
|
142 |
</copy> |
|
143 |
<script language="jython" setbeans="false"> |
|
144 |
<![CDATA[ |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
145 |
import os |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
146 |
import fileutils |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
147 |
import pathaddition.relative |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
148 |
result = [] |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
149 |
rootdir = os.path.normpath(project.getProperty("publish.release.dir") + "/..") |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
150 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
151 |
def sortbydate(a, b): |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
152 |
if os.stat(a)[9] == os.stat(b)[9]: |
628 | 153 |
return 0 |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
154 |
elif os.stat(a)[9] < os.stat(b)[9]: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
155 |
return 1 |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
156 |
return -1 |
628 | 157 |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
158 |
if os.path.exists(rootdir): |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
159 |
for name in os.listdir(rootdir): |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
160 |
path = os.path.join(rootdir, name) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
161 |
if os.path.isdir(path): |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
162 |
result.append(os.path.normpath(path)) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
163 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
164 |
result.sort(sortbydate) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
165 |
if len(result) > 2: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
166 |
for name in result[2:]: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
167 |
print "Deleting " + name |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
168 |
fileutils.rmtree(name) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
169 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
170 |
project.setProperty('fota.publish.root.dir', project.getProperty("publish.root.dir")) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
171 |
old = pathaddition.relative.abs2rel(result[0], project.getProperty("publish.root.dir")) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
172 |
new = pathaddition.relative.abs2rel(result[1], project.getProperty("publish.root.dir")) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
173 |
project.setProperty('fota.old.publish.subdir', result[0]) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
174 |
project.setProperty('fota.new.publish.subdir', result[1]) |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
175 |
print "Old subdir: %s" % old |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
176 |
print "New subdir: %s" % old |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
177 |
]]> |
628 | 178 |
</script> |
179 |
</target> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
180 |
|
628 | 181 |
<!-- Check that the XML data returned from Diamonds via the REST interface |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
182 |
is the same as what is sent. |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
183 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
184 |
Currently there are some differences between the formats so some edits to the |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
185 |
XML content are made before using XMLUnit to compare the content. |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
186 |
--> |
628 | 187 |
<target name="check-diamonds"> |
188 |
<loadfile srcfile="${build.log.dir}/${build.id}_diamonds-log-start.xml" property="diamonds.log.start"> |
|
189 |
<filterchain> |
|
190 |
<tokenfilter> |
|
191 |
<filetokenizer /> |
|
192 |
<hlm:prettyprintxml /> |
|
193 |
</tokenfilter> |
|
194 |
</filterchain> |
|
195 |
</loadfile> |
|
196 |
<echo>Data sent to Diamonds: |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
197 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
198 |
${diamonds.log.start}</echo> |
628 | 199 |
<loadresource property="diamonds.log.start.output"> |
200 |
<url url="${diamonds.build.url}?fmt=xml" /> |
|
201 |
<filterchain> |
|
202 |
<tokenfilter> |
|
203 |
<filetokenizer /> |
|
204 |
<hlm:prettyprintxml /> |
|
205 |
</tokenfilter> |
|
206 |
</filterchain> |
|
207 |
</loadresource> |
|
208 |
<echo>Data returned from Diamonds: |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
209 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
210 |
${diamonds.log.start.output}</echo> |
628 | 211 |
<echo file="${helium.dir}/diamonds_build.xml">${diamonds.log.start}</echo> |
212 |
<!--xmltask source="${helium.dir}/diamonds_build.xml" dest="${helium.dir}/diamonds_build_edit.xml"> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
213 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
214 |
<cut path="/diamonds-build/tool" buffer="toolElements"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
215 |
<cut path="/diamonds-build/locations" buffer="temp"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
216 |
</xmltask--> |
628 | 217 |
<!--<loadfile srcfile="${helium.dir}/diamonds_build_edit.xml" property="diamonds.log.start.edited"/> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
218 |
<echo>Data sent massaged to match what is received: |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
219 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
220 |
${diamonds.log.start.edited}</echo>--> |
628 | 221 |
<!-- TODO: make assertXmlEqual work with direct string input --> |
222 |
<string id="control.id" value="${diamonds.log.start}" /> |
|
223 |
<string id="test.id" value="${diamonds.log.start.output}" /> |
|
224 |
<hlm:assertXmlEqual control="control.id" test="test.id" failonerror="true" /> |
|
225 |
</target> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
226 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
227 |
|
645 | 228 |
<target name="minibuild-archive" depends="minibuild-archive-ant,minibuild-archive-ec-full,minibuild-archive-ant-empty-config,minibuild-split-archive-ec-full,minibuild-split-archive-ant" /> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
229 |
|
628 | 230 |
<!-- This target will copy a part of the tree structure to test policy.remover mapper. --> |
231 |
<target name="prepare-archiving"> |
|
587 | 232 |
<delete dir="${build.drive}/test_policy" failonerror="false" /> |
233 |
<mkdir dir="${build.drive}/test_policy/os" /> |
|
234 |
<!-- Creating a policy file under the new s60 test root. --> |
|
235 |
<echo file="${build.drive}/test_policy/distribution.policy.s60">0</echo> |
|
236 |
<echo file="${build.drive}/test_policy/os/distribution.policy.s60">0</echo> |
|
237 |
<!-- Getting some Content --> |
|
238 |
<copy todir="${build.drive}/test_policy"> |
|
239 |
<fileset dir="${build.drive}/sf"> |
|
240 |
<include name="os/graphics/" /> |
|
241 |
</fileset> |
|
242 |
</copy> |
|
243 |
</target> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
244 |
|
628 | 245 |
<target name="minibuild-archive-ec-full"> |
246 |
<antcall target="do-minibuild-archive"> |
|
587 | 247 |
<param name="build.system" value="ec-helium" /> |
248 |
<param name="archive.using.ec" value="true" /> |
|
249 |
<param name="zipping.type" value="ec" /> |
|
250 |
<!-- Uses to set the target location --> |
|
251 |
</antcall> |
|
252 |
</target> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
253 |
|
628 | 254 |
<target name="minibuild-archive-ant"> |
255 |
<antcall target="do-minibuild-archive"> |
|
587 | 256 |
<param name="build.system" value="ebs" /> |
257 |
<param name="archive.using.ec" value="false" /> |
|
258 |
<param name="zipping.type" value="ant" /> |
|
259 |
<!-- Uses to set the target location --> |
|
260 |
</antcall> |
|
645 | 261 |
</target> |
262 |
||
263 |
<target name="minibuild-split-archive-ec-full"> |
|
264 |
<antcall target="do-minibuild-split-archive"> |
|
265 |
<param name="build.system" value="ec-helium" /> |
|
266 |
<param name="zip.config.file" value="archive.split.cfg.xml" /> |
|
267 |
<param name="archive.using.ec" value="true" /> |
|
268 |
<param name="zipping.type" value="ec" /> |
|
269 |
<!-- Uses to set the target location --> |
|
270 |
</antcall> |
|
271 |
</target> |
|
272 |
||
273 |
<target name="minibuild-split-archive-ant"> |
|
274 |
<antcall target="do-minibuild-split-archive"> |
|
275 |
<param name="build.system" value="ebs" /> |
|
276 |
<param name="zip.config.file" value="archive.split.cfg.xml" /> |
|
277 |
<param name="archive.using.ec" value="false" /> |
|
278 |
<param name="zipping.type" value="ant" /> |
|
279 |
<!-- Uses to set the target location --> |
|
280 |
</antcall> |
|
179 | 281 |
</target> |
282 |
||
628 | 283 |
<target name="minibuild-archive-ant-empty-config"> |
179 | 284 |
<hlm:zipContentMacro type="ee-empty" ec="false" file="${zip.config.file}" failonemptyconfig="false" /> |
285 |
<au:expectfailure> |
|
286 |
<hlm:zipContentMacro type="ee-empty" ec="false" file="${zip.config.file}" failonemptyconfig="true" /> |
|
287 |
</au:expectfailure> |
|
587 | 288 |
</target> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
289 |
|
628 | 290 |
<target name="do-minibuild-archive"> |
587 | 291 |
<runtarget target="prepare-archiving" /> |
292 |
<runtarget target="zip-ee" /> |
|
293 |
<!-- Checking the zip generation Ant --> |
|
294 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/release_metadata.xml" /> |
|
295 |
<!--au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_app_organizer_clock_binary.zip" /--> |
|
296 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_app_organizer_clock.zip" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
297 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_0.zip" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
298 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_1.zip" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
299 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_3.zip" /> |
587 | 300 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_7.zip" /> |
301 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_1401.zip" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
302 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_0.zip" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
303 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_1.zip" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
304 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_2.zip" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
305 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_3.zip" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
306 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_7.zip" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
307 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_1308.zip" /> |
587 | 308 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_1422.zip" /> |
309 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_1435.zip" /> |
|
310 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_1436.zip" /> |
|
311 |
</target> |
|
645 | 312 |
|
313 |
<target name="do-minibuild-split-archive"> |
|
314 |
<runtarget target="prepare-archiving" /> |
|
315 |
<runtarget target="zip-ee" /> |
|
316 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part01_0.zip" /> |
|
317 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part02_0.zip" /> |
|
318 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part03_0.zip" /> |
|
319 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part04_0.zip" /> |
|
320 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part05_0.zip" /> |
|
321 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part01_3.zip" /> |
|
322 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part02_3.zip" /> |
|
323 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part03_3.zip" /> |
|
324 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part01_7.zip" /> |
|
325 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part02_7.zip" /> |
|
326 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part03_7.zip" /> |
|
327 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part04_7.zip" /> |
|
328 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part05_7.zip" /> |
|
329 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_part06_7.zip" /> |
|
330 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_mw_classicui_and_app_radio_01_1401.zip" /> |
|
331 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_01_0.zip" /> |
|
332 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_01_1.zip" /> |
|
333 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_01_part01_2.zip" /> |
|
334 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_01_3.zip" /> |
|
335 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_01_part01_1422.zip" /> |
|
336 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_01_part02_1422.zip" /> |
|
337 |
<au:assertFileExists file="${zips.build.dir}/${zipping.type}/sf_os_01_part01_1435.zip" /> |
|
338 |
</target> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
339 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
340 |
|
628 | 341 |
<target name="minibuild-cleanup"> |
587 | 342 |
<delete verbose="true" includeemptydirs="true" failonerror="false"> |
343 |
<fileset dir="${build.drive}/" casesensitive="false"> |
|
344 |
<include name="makefile" /> |
|
345 |
<include name="*.mk" /> |
|
346 |
<include name="*.make" /> |
|
347 |
<include name="ecloud_tmp_*/**" /> |
|
348 |
<include name="emake.*" /> |
|
349 |
<include name="epoc32/build/**" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
350 |
<include name="epoc32/rombuild/imaker_temp/**" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
351 |
<include name="epoc32/rombuild/${product.name}/**" /> |
587 | 352 |
<include name="epoc32/rom/config/*/**/foti*.*" /> |
353 |
<include name="output/**" /> |
|
354 |
<include name="timestart.txt" /> |
|
355 |
<include name="timestop.txt" /> |
|
356 |
<exclude name="output/build_area/localised/**" /> |
|
357 |
</fileset> |
|
358 |
</delete> |
|
359 |
</target> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
360 |
|
628 | 361 |
<target name="minibuild-install-new-imaker"> |
587 | 362 |
<!-- Export custom image configuration file. --> |
363 |
<copy file="config/image_conf_naming.mk" tofile="${build.drive}/epoc32/rom/config/image_conf_naming.mk" /> |
|
364 |
<property name="imaker.dir" value="${helium.dir}/../external/imaker" /> |
|
365 |
<!-- |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
366 |
<delete dir="${build.drive}/imaker_rnd"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
367 |
<copy todir="${build.drive}/imaker_rnd"> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
368 |
<fileset dir="${imaker.dir}"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
369 |
</copy> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
370 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
371 |
<hlm:bldmakeBldfilesMacro dir="${build.drive}/imaker_rnd/group"/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
372 |
<hlm:abldMacro dir="${build.drive}/imaker_rnd/group" command="cleanexport" platform=""/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
373 |
<hlm:abldMacro dir="${build.drive}/imaker_rnd/group" command="export" platform=""/> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
374 |
--> |
587 | 375 |
</target> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
376 |
|
628 | 377 |
<target name="minibuild-check"> |
587 | 378 |
<!-- Check if prep has set some prop correctly... --> |
379 |
<echo>'${arm.compiler.version}'</echo> |
|
380 |
<au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true" /> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
381 |
|
587 | 382 |
<!-- Check if compile-main step did what expected... --> |
383 |
<au:assertFileExists file="${canonical.sysdef.file}" /> |
|
384 |
<!--<au:assertFileExists file="${build.drive}/Makefile"/>--> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
385 |
<if> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
386 |
<istrue value="${blocks.enabled}" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
387 |
<then> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
388 |
<au:assertFileExists file="${blocks.config.dir}/roms.blocks_component.xml" /> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
389 |
</then> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
390 |
</if> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
391 |
|
587 | 392 |
<if> |
393 |
<isset property="build.system.ec-helium" /> |
|
394 |
<then> |
|
395 |
<au:assertFileExists file="${build.drive}/emake.data" /> |
|
396 |
<au:assertFileExists file="${temp.build.dir}/${build.id}.helium_minibuild_compile_run_emake.bat" /> |
|
397 |
</then> |
|
398 |
</if> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
399 |
|
587 | 400 |
<resourcecount property="fpsx.count"> |
401 |
<fileset dir="${build.output.dir}"> |
|
402 |
<include name="**/*.core.fpsx" /> |
|
403 |
<include name="**/*.rofs2.fpsx" /> |
|
404 |
</fileset> |
|
405 |
</resourcecount> |
|
406 |
<echo>Number of images generated: ${fpsx.count}.</echo> |
|
407 |
||
408 |
<!-- Taking abld build failure because of deprecation into account. --> |
|
409 |
<if> |
|
410 |
<or> |
|
411 |
<contains string="${build.system}" substring="ebs" /> |
|
412 |
<contains string="${build.system}" substring="ec-helium" /> |
|
413 |
</or> |
|
414 |
<then> |
|
415 |
<au:assertTrue message="Build should have a pending failure because abld is not supported anymore."> |
|
416 |
<hlm:hasDeferredFailure name="compileSignalInput" /> |
|
417 |
</au:assertTrue> |
|
418 |
<hlm:clearDeferredFailures/> |
|
419 |
</then> |
|
420 |
</if> |
|
421 |
</target> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
422 |
|
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
423 |
|
587 | 424 |
<!-- Custom iMaker configuration - preparing for future dev. --> |
425 |
<property name="imaker.fmpp.makefile" location="${helium.dir}/tools/common/templates/imaker/build_imaker_roms_signing.mk.ftl" /> |
|
426 |
<hlm:imakerconfigurationset id="imaker.rom.config"> |
|
427 |
<imakerconfiguration> |
|
428 |
<makefileset> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
429 |
<include name="**/image_conf_${product.name}.mk" /> |
587 | 430 |
</makefileset> |
431 |
<targetset> |
|
432 |
<include name="fota" /> |
|
433 |
</targetset> |
|
434 |
</imakerconfiguration> |
|
435 |
<imakerconfiguration> |
|
436 |
<makefileset> |
|
437 |
<include name="**/${product.name}/*ui.mk"/> |
|
438 |
</makefileset> |
|
439 |
<targetset> |
|
440 |
<include name="core(?:-prd|-rnd|-subcon)?$" /> |
|
441 |
<include name="^langpack_01$" /> |
|
442 |
<exclude name=".*-image$" /> |
|
443 |
</targetset> |
|
444 |
<variableset> |
|
445 |
<variable name="USE_FOTI" value="1" /> |
|
446 |
<variable name="USE_FOTA" value="1" /> |
|
447 |
<variable name="TYPE" value="rnd" /> |
|
448 |
</variableset> |
|
449 |
</imakerconfiguration> |
|
450 |
</hlm:imakerconfigurationset> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
451 |
|
587 | 452 |
<fileset dir="${build.drive}/" id="mmp.to.target.config"> |
453 |
<include name="s60/app/**/*.mmp" /> |
|
454 |
</fileset> |
|
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
455 |
|
179 | 456 |
<import file="build.sbsinput.ant.xml" /> |
1
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
457 |
</project> |
be27ed110b50
Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff
changeset
|
458 |