common/build.xml
author shaberazvi@L063442.prod.ad.symbian.intra
Wed, 04 Mar 2009 18:10:08 +0000
changeset 5 9564faef3a98
parent 4 aca90ed0d6a6
child 6 8bbcf7b2218d
child 7 389e1e1f1583
permissions -rw-r--r--
Reorder target for check-tool-dependencies
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     2
<project name="SF-COMMON-CONFIG">
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     3
	<dirname property="sf.common.config.dir" file="${ant.file.SF-COMMON-CONFIG}"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     4
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     5
        <!-- import default properties file config -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     6
        <import file="${sf.common.config.dir}/properties.default.ant.xml"/>        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     7
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     8
	<!-- import all core HELIUM targets -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
     9
	<import file="${helium.dir}/helium.ant.xml" />
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    10
        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    11
        <!-- import sysdef file location config -->
2
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 0
diff changeset
    12
        <import file="${sf.common.config.dir}/../../build/hg-pkg-build.ant.xml"/>
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    13
        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    14
        <!--
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    15
        ** TARGET DEFINITIONS
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    16
        -->
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    17
        
4
aca90ed0d6a6 Fix target name
shaberazvi@L063442.prod.ad.symbian.intra
parents: 3
diff changeset
    18
        <target name="sf-build" depends="sf-prep,sf-prebuild,sf-get-source,sf-build-run,sf-postbuild">            
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    19
            <echo>[SF-BUILD]</echo>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    20
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    21
        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    22
        <target name="sf-build-noprep">            
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    23
            <echo>[SF-BUILD-NO-PREP]</echo>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    24
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    25
        
5
9564faef3a98 Reorder target for check-tool-dependencies
shaberazvi@L063442.prod.ad.symbian.intra
parents: 4
diff changeset
    26
        <target name="sf-prep" depends="prep-drive,init-build-area,check-tool-dependencies,create-bom,log-build-env">
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    27
            <echo>[SF-PREP]</echo>   
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    28
            <tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    29
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    30
        
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    31
      <target name="sf-prebuild"> 
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    32
            <echo>[SF-PREBUILD]</echo>                                    
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    33
            
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    34
            <if>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    35
                <istrue value="${sf.prebuild.getenv}" />
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    36
                <then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    37
                    <runtarget target="preparation-getenv"/>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    38
                </then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    39
            </if>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    40
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    41
            <if>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    42
                <istrue value="${sf.prebuild.getsrc}" />
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    43
                <then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    44
                    <runtarget target="sf-get-source"/>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    45
                </then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    46
            </if>            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    47
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    48
            
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    49
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    50
        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    51
        <target name="sf-postbuild">            
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    52
            <echo>[SF-POSTBUILD]</echo>                        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    53
        </target>        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    54
        
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    55
        <target name="sf-build-run" depends="sf-compile">            
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    56
            <echo>[SF-BUILD-RUN]</echo>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    57
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    58
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    59
        <target name="sf-compile">
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    60
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    61
                <!--<path id="sf.system.definition.files">
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    62
                    <fileset dir="${sf.common.config.dir}/sysdefs" includes="*.sysdef.xml"/>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    63
                    <fileset dir="${build.drive}/sf/app/camera"        includes="*.sysdef.xml"/>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    64
                </path>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    65
                -->
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    66
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    67
            	<!-- target name="compile-main-prebuild" -->
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    68
		<antcall target="compile-main" inheritAll="false">
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    69
			<param name="build.system" value="sbs" />
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    70
			<param name="sysdef.configurations.list" value="s60_build_clean,s60_build" />
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    71
			<!--<reference refid="sf.system.definition.files" torefid="system.definition.files" />-->
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    72
		</antcall>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    73
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    74
        </target>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    75
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    76
4
aca90ed0d6a6 Fix target name
shaberazvi@L063442.prod.ad.symbian.intra
parents: 3
diff changeset
    77
    <target name="sf-get-source">
2
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 0
diff changeset
    78
        <ant antfile="${sf.common.config.dir}/../../build/hg-pkg-build.ant.xml" />
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 0
diff changeset
    79
    </target>        
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    80
</project>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    81
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    82