587
|
1 |
<?xml version="1.0"?>
|
|
2 |
<!--
|
|
3 |
============================================================================
|
|
4 |
Name : test_diamonds.ant.xml
|
|
5 |
Part of : Helium AntLib
|
|
6 |
|
|
7 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
8 |
All rights reserved.
|
|
9 |
This component and the accompanying materials are made available
|
|
10 |
under the terms of the License "Eclipse Public License v1.0"
|
|
11 |
which accompanies this distribution, and is available
|
|
12 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
13 |
|
|
14 |
Initial Contributors:
|
|
15 |
Nokia Corporation - initial contribution.
|
|
16 |
|
|
17 |
Contributors:
|
|
18 |
|
|
19 |
Description:
|
|
20 |
|
|
21 |
============================================================================
|
|
22 |
-->
|
|
23 |
<project name="sbs-default-config" xmlns:hlm="http://www.nokia.com/helium">
|
|
24 |
<description>Helium Antlib default sbs configuration.</description>
|
|
25 |
|
|
26 |
<dirname property="project.dir" file="${ant.file.sbs-default-config}" />
|
|
27 |
|
|
28 |
<taskdef resource="com/nokia/helium/sbs/ant/antlib.xml" uri="http://www.nokia.com/helium" />
|
|
29 |
<taskdef resource="com/nokia/helium/core/ant/antlib.xml" uri="http://www.nokia.com/helium" />
|
|
30 |
|
|
31 |
<hlm:sbsbuild id="pf_7952">
|
|
32 |
<sbsInput refid="mainbuild-sbs-ec" >
|
|
33 |
<sbsOptions>
|
|
34 |
<arg line="-f armv5.log" />
|
|
35 |
</sbsOptions>
|
|
36 |
</sbsInput>
|
|
37 |
</hlm:sbsbuild>
|
|
38 |
|
|
39 |
<hlm:sbsbuild id="sf_build">
|
628
|
40 |
<sbsInput refid="mainbuild-sbs" />
|
|
41 |
</hlm:sbsbuild>
|
|
42 |
|
|
43 |
<hlm:sbsbuild id="sf_build2">
|
587
|
44 |
<sbsInput refid="tools-sbs" />
|
|
45 |
</hlm:sbsbuild>
|
|
46 |
|
|
47 |
<!-- In future migrationg to 3.0 schema <sbsbuild> would also to handle layers and filters
|
|
48 |
and also to include / exclude layers to be built
|
|
49 |
-->
|
|
50 |
|
|
51 |
<!-- Common make options for particular engine values of it could be overridden by referencing it-->
|
|
52 |
<hlm:sbsmakeoptions id="commonEMakeOptions" engine="emake">
|
|
53 |
<arg name="--emake-emulation" value="gmake" />
|
|
54 |
<arg name="--emake-annodetail" value="basic,history,waiting" />
|
|
55 |
<arg name="--emake-class" value="${ec.build.class}" />
|
|
56 |
<arg name="--emake-historyfile" value="${ec.historyfile.dir}/raptor_clean.emake.data" />
|
|
57 |
<arg name="--case-sensitive" value="0" />
|
|
58 |
</hlm:sbsmakeoptions>
|
|
59 |
|
|
60 |
<hlm:sbsmakeoptions id="commonGmakeOptions" engine="gmake" />
|
|
61 |
|
|
62 |
<hlm:sbsmakeoptions id="commonPVMGmakeOptions" engine="pvmgmake" />
|
|
63 |
|
|
64 |
<!-- Tools specific make options inheriting the commone make option-->
|
|
65 |
<hlm:sbsmakeoptions id="toolsmake-sbs-ec">
|
|
66 |
<sbsmakeoptions refid="commonEMakeOptions" />
|
|
67 |
<arg name="--emake-maxagents" value="1" />
|
|
68 |
</hlm:sbsmakeoptions>
|
|
69 |
|
|
70 |
<!-- Main build make option directly refering to common emake option -->
|
|
71 |
<hlm:sbsmakeoptions id="mainbuildmake-sbs-ec" engine="emake">
|
|
72 |
<sbsmakeoptions refid="commonEMakeOptions" />
|
|
73 |
</hlm:sbsmakeoptions>
|
|
74 |
|
|
75 |
<!-- sbs input consists of sbs options and sbs make options, the sbs options remains same for all
|
|
76 |
the build system, the make options varies
|
|
77 |
-->
|
|
78 |
<hlm:sbsinput id="tools-sbs">
|
|
79 |
<sbsoptions>
|
|
80 |
<arg line="-c tools_rel -c tools2_rel" />
|
|
81 |
<arg name="-j" value="1" />
|
|
82 |
</sbsoptions>
|
|
83 |
</hlm:sbsinput>
|
|
84 |
|
|
85 |
<!-- sbs input for main build.
|
|
86 |
-->
|
|
87 |
<hlm:sbsinput id="mainbuild-sbs">
|
|
88 |
<sbsoptions>
|
|
89 |
<arg line="-c winscw -c armv5" />
|
|
90 |
<arg line="-f winscw.log" />
|
|
91 |
</sbsoptions>
|
|
92 |
</hlm:sbsinput>
|
|
93 |
|
|
94 |
<hlm:sbsinput id="mainbuild-sbs-ec">
|
|
95 |
<sbsoptions>
|
|
96 |
<arg line="-c winscw -c armv5" />
|
|
97 |
<arg line="-f winscw.log" />
|
|
98 |
</sbsoptions>
|
|
99 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" />
|
|
100 |
</hlm:sbsinput>
|
|
101 |
|
|
102 |
<!-- Main build make option directly refering to common emake option -->
|
|
103 |
<hlm:sbsmakeoptions id="common-inherit-ec-without-engine">
|
|
104 |
<arg name="--emake-emulation" value="gmake" />
|
|
105 |
<arg name="--emake-annodetail" value="basic,history,waiting" />
|
|
106 |
<arg name="--emake-class" value="${ec.build.class}" />
|
|
107 |
<arg name="--emake-historyfile" value="${ec.historyfile.dir}/raptor_clean.emake.data" />
|
|
108 |
</hlm:sbsmakeoptions>
|
|
109 |
|
|
110 |
<hlm:sbsmakeoptions id="common-inherit-ec-with-engine" engine="emake">
|
|
111 |
<arg name="--emake-emulation" value="gmake" />
|
|
112 |
<arg name="--emake-annodetail" value="basic,history,waiting" />
|
|
113 |
<arg name="--emake-class" value="${ec.build.class}" />
|
|
114 |
<arg name="--emake-historyfile" value="${ec.historyfile.dir}/raptor_clean.emake.data" />
|
|
115 |
</hlm:sbsmakeoptions>
|
|
116 |
|
|
117 |
<hlm:sbsmakeoptions id="common-inherit-ec-all-options" engine="emake">
|
|
118 |
<arg name="--emake-cm" value="fawec012" />
|
|
119 |
<arg name="--emake-root" value="X:\;c:\devtools " />
|
|
120 |
<arg name="--emake-emulation" value="gmake" />
|
|
121 |
<arg name="--emake-annodetail" value="basic,history,waiting" />
|
|
122 |
<arg name="--emake-annofile" value="c:\logs\emake.anno.xml" />
|
|
123 |
<arg name="--emake-class" value="${ec.build.class}" />
|
|
124 |
<arg name="--emake-historyfile" value="${ec.historyfile.dir}/raptor_clean.emake.data" />
|
|
125 |
<arg name="--emake-maxagents" value="1" />
|
|
126 |
<arg name="--emake-debug" value="c" />
|
|
127 |
<arg name="--emake-logfile" value="emake.c.dlog" />
|
|
128 |
</hlm:sbsmakeoptions>
|
|
129 |
|
|
130 |
<hlm:sbsinput id="engine-inherit1-sbs-ec">
|
|
131 |
<sbsoptions>
|
|
132 |
<arg line="-c winscw -c armv5" />
|
|
133 |
<arg line="-f winscw.log" />
|
|
134 |
</sbsoptions>
|
|
135 |
<sbsmakeoptions refid="common-inherit-ec-without-engine" />
|
|
136 |
</hlm:sbsinput>
|
|
137 |
|
|
138 |
<hlm:sbsinput id="engine-inherit2-sbs-ec">
|
|
139 |
<sbsoptions>
|
|
140 |
<arg line="-c winscw -c armv5" />
|
|
141 |
<arg line="-f winscw.log" />
|
|
142 |
</sbsoptions>
|
|
143 |
<sbsmakeoptions refid="common-inherit-ec-with-engine" />
|
|
144 |
</hlm:sbsinput>
|
|
145 |
|
|
146 |
<hlm:sbsinput id="engine-inherit3-sbs-ec">
|
|
147 |
<sbsoptions>
|
|
148 |
<arg line="-c winscw -c armv5" />
|
|
149 |
</sbsoptions>
|
|
150 |
<sbsmakeoptions refid="common-inherit-ec-with-engine" engine="ec-helium" />
|
|
151 |
</hlm:sbsinput>
|
|
152 |
|
|
153 |
<hlm:sbsinput id="engine-inherit4-sbs-ec">
|
|
154 |
<sbsoptions>
|
|
155 |
<arg line="-c winscw -c armv5" />
|
|
156 |
<arg line="-f winscw.log" />
|
|
157 |
</sbsoptions>
|
|
158 |
<sbsmakeoptions refid="common-inherit-ec-all-options" />
|
|
159 |
</hlm:sbsinput>
|
|
160 |
|
|
161 |
<hlm:sbsbuild id="inherit1">
|
|
162 |
<sbsInput refid="engine-inherit1-sbs-ec" >
|
|
163 |
<sbsOptions>
|
|
164 |
<arg line="-f armv5.log" />
|
|
165 |
</sbsOptions>
|
|
166 |
</sbsInput>
|
|
167 |
</hlm:sbsbuild>
|
|
168 |
|
|
169 |
<hlm:sbsbuild id="inherit2">
|
|
170 |
<sbsInput refid="engine-inherit2-sbs-ec" >
|
|
171 |
<sbsOptions>
|
|
172 |
<arg line="-f armv5.log" />
|
|
173 |
</sbsOptions>
|
|
174 |
</sbsInput>
|
|
175 |
</hlm:sbsbuild>
|
|
176 |
|
|
177 |
<hlm:sbsinput id="inherit3_sbs_input">
|
|
178 |
<sbsInput refid="engine-inherit3-sbs-ec" />
|
|
179 |
<sbsoptions>
|
|
180 |
<arg line="-f armv5.log" />
|
|
181 |
</sbsoptions>
|
|
182 |
</hlm:sbsinput>
|
|
183 |
|
|
184 |
<hlm:sbsbuild id="inherit3">
|
|
185 |
<sbsinput refid="inherit3_sbs_input" />
|
|
186 |
</hlm:sbsbuild>
|
|
187 |
|
|
188 |
<hlm:sbsbuild id="inherit4">
|
|
189 |
<sbsInput refid="engine-inherit4-sbs-ec" >
|
|
190 |
</sbsInput>
|
|
191 |
</hlm:sbsbuild>
|
|
192 |
|
|
193 |
</project> |