<?xml version="1.0" encoding="UTF-8"?>
<!-- 
============================================================================ 
Name        : tracebuild.ant.xml 
Part of     : Helium 

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<project name="tracebuild">
    <description>
    Creates trace images for one product.
    </description>
    <!-- rudimentary trace image creation. Creates trace images for one product
    tracebuild.tracetype specifies type of trace to create (phone, general, all)
    tracebuild.product specifies product for which to create traces
    tracebuild.variant specifies imaker target to use for trace creation
    Current implementation is very Nokia specific, this will be replaced in the near future -->
    <target name="build-traces">
        <exec executable="perl" dir="${build.drive}/" failonerror="true">
            <arg value="${helium.dir}/tools/rombuild/trace_images/trace_image_creator.pl"/>
            <arg value="-t=${tracebuild.tracetype}"/>
            <arg value="-platform=${tracebuild.platform}"/>            
            <arg value="-product=${tracebuild.product}"/>            
            <arg value="-v=${tracebuild.variant}"/>
            <arg value="-d=${build.drive}"/>
        </exec>
    </target>

</project>