buildframework/helium/tests/minibuilds/compile/common.sbsinput.ant.xml
author jascui
Mon, 29 Nov 2010 15:46:44 +0800
changeset 711 03a6f48f6e14
parent 628 7c4a911dc066
permissions -rw-r--r--
Updating release text
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     1
<?xml version="1.0"?>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     2
<!-- 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     3
============================================================================ 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     4
Name        : 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     5
Part of     : Helium 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     6
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     8
All rights reserved.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    13
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    14
Initial Contributors:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    16
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    17
Contributors:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    18
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    19
Description:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    20
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    21
============================================================================
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    22
-->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    23
<project name="common_sbs_input" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    24
    <description>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    25
        Common sbs input config.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    26
    </description>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    27
    <!-- Common make options for particular engine values of it could be overridden by referencing it-->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    28
    <hlm:sbsmakeoptions id="commonEMakeOptions" engine="emake">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    29
        <arg name="--emake-emulation" value="gmake" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    30
        <arg name="--emake-annodetail" value="basic,history,waiting" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    31
        <arg name="--emake-class" value="${ec.build.class}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    32
        <arg name="--emake-historyfile" value="${build.log.dir}/ec_history/raptor_clean.emake.data" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    33
        <arg name="--case-sensitive" value="0" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    34
        <arg name="--emake-root" value="${env.EMAKE_ROOT};${helium.dir};${env.SBS_HOME}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    35
    </hlm:sbsmakeoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    36
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    37
    <hlm:sbsmakeoptions id="commonGmakeOptions" engine="gmake" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    38
    <hlm:sbsmakeoptions id="commonPVMGmakeOptions" engine="pvmgmake" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    39
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    40
    <!-- Tools specific make options inheriting the commone make option-->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    41
    <hlm:sbsmakeoptions id="toolsmake-sbs-ec">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    42
        <sbsmakeoptions refid="commonEMakeOptions" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    43
        <arg name="--emake-maxagents" value="1" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    44
    </hlm:sbsmakeoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    45
            
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    46
    <!-- Main build make option directly refering to common emake option -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    47
    <hlm:sbsmakeoptions id="mainbuildmake-sbs-ec">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    48
        <sbsmakeoptions refid="commonEMakeOptions" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    49
    </hlm:sbsmakeoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    50
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    51
    <!-- tools common sbs options -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    52
    <hlm:sbsoptions id="commonSBS">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    53
        <arg line="-k" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    54
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    55
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    56
    <!-- tools common sbs options -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    57
    <hlm:sbsoptions id="toolsCommonSBS">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    58
        <argset refid="commonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    59
        <arg line="-c tools_rel -c tools2_rel" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    60
        <arg line="-j 1" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    61
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    62
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    63
    <hlm:sbsoptions id="winscwSBSOptions">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    64
        <argset refid="commonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    65
        <arg line="-c winscw" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    66
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    67
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    68
    <!-- Mainbuild common sbs options -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    69
    <hlm:sbsoptions id="armv5CommonSBS">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    70
            <argset refid="commonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    71
            <arg line="-c armv5" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    72
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    73
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    74
    <hlm:sbsoptions id="testCommonSBS">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    75
            <argset refid="commonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    76
            <arg line="-c armv5.test" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    77
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    78
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    79
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    80
    <hlm:sbsoptions id="testCleanSBS">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    81
        <argset refid="testcommonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    82
        <argset refid="cleanCommon" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    83
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    84
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    85
    <hlm:sbsoptions id="cleanCommon">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    86
            <arg line="REALLYCLEAN" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    87
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    88
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    89
    <!-- Mainbuild common sbs options -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    90
    <hlm:sbsoptions id="armv5Clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    91
        <argset refid="armv5CommonSBS"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    92
        <argset refid="cleanCommon" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    93
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    94
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    95
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    96
    <!-- Mainbuild common sbs options -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    97
    <hlm:sbsoptions id="toolsClean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    98
        <argset refid="toolsCommonSBS"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    99
        <argset refid="cleanCommon" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   100
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   101
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   102
    <!-- Mainbuild common sbs options -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   103
    <hlm:sbsoptions id="winscwClean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   104
        <argset refid="winscwSBSOptions"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   105
        <argset refid="cleanCommon" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   106
    </hlm:sbsoptions>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   107
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   108
    <!-- sbs input consists of sbs options and sbs make options, the sbs options remains same for all
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   109
    the build system, the make options varies
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   110
     -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   111
    <hlm:sbsinput id="tools-sbs">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   112
        <sbsoptions refid="toolsCommonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   113
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   114
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   115
    <hlm:sbsinput id="tools-sbs-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   116
        <sbsoptions refid="toolsClean" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   117
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   118
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   119
    <hlm:sbsinput id="tools-sbs-ec">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   120
        <sbsoptions refid="toolsCommonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   121
        <sbsmakeoptions refid="toolsmake-sbs-ec" ppThreads="20"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   122
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   123
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   124
    <hlm:sbsinput id="tools-sbs-ec-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   125
        <sbsoptions refid="toolsClean" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   126
        <sbsmakeoptions refid="toolsmake-sbs-ec" ppThreads="20"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   127
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   128
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   129
    <!-- sbs input for main build.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   130
     -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   131
    <hlm:sbsinput id="armv5-sbs">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   132
        <sbsoptions refid="armv5CommonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   133
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   134
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   135
    <hlm:sbsinput id="armv5-sbs-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   136
        <sbsoptions refid="armv5Clean" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   137
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   138
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   139
    <!-- sbs input for main build.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   140
     -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   141
    <hlm:sbsinput id="armv5-sbs-ec">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   142
        <sbsoptions refid="armv5CommonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   143
        <sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   144
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   145
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   146
    <hlm:sbsinput id="armv5-sbs-ec-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   147
        <sbsoptions refid="armv5Clean" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   148
        <sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   149
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   150
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   151
    <hlm:sbsinput id="winscw-sbs">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   152
        <sbsoptions refid="winscwSBSOptions" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   153
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   154
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   155
    <hlm:sbsinput id="winscw-sbs-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   156
        <sbsoptions refid="winscwClean" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   157
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   158
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   159
    <hlm:sbsinput id="winscw-sbs-ec-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   160
        <sbsoptions refid="winscwClean" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   161
        <sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   162
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   163
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   164
    <hlm:sbsinput id="test-sbs">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   165
        <sbsoptions refid="testCommonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   166
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   167
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   168
    <hlm:sbsinput id="test-sbs-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   169
        <sbsoptions refid="testCleanSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   170
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   171
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   172
    <!-- sbs input for main build.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   173
     -->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   174
    <hlm:sbsinput id="test-sbs-ec">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   175
        <sbsoptions refid="testCommonSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   176
        <sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   177
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   178
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   179
    <hlm:sbsinput id="test-sbs-ec-clean">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   180
        <sbsoptions refid="testCleanSBS" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   181
        <sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   182
    </hlm:sbsinput>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   183
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
   184
</project>