common/build.xml
author dariosestito@d070750.prod.ad.symbian.intra
Thu, 05 Mar 2009 18:20:11 +0000
changeset 6 8bbcf7b2218d
parent 5 9564faef3a98
child 9 29394d95b3e1
permissions -rw-r--r--
Various changes
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
        
6
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    18
        <target name="sf-prep" depends="sf-parse-spec,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
    19
            <echo>[SF-PREP]</echo>   
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    20
            <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
    21
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    22
        
6
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    23
        <!--target name="sf-build" depends="sf-parse-spec,sf-prebuild,sf-build-run,sf-postbuild"-->
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    24
        <target name="sf-build" depends="sf-parse-spec,sf-prebuild,sf-build-run">
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    25
            <echo>[SF-BUILD]</echo>
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    26
        </target>
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    27
        
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    28
        <target name="sf-build-noprep">
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    29
            <echo>[SF-BUILD-NO-PREP]</echo>
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    30
        </target>
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    31
        
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    32
        <target name="sf-parse-spec">
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    33
            <echo>[SF-PARSE-SPEC]</echo>
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    34
            
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    35
        </target>
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    36
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    37
      <target name="sf-prebuild"> 
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    38
            <echo>[SF-PREBUILD]</echo>                                    
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    39
            
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    40
            <if>
6
8bbcf7b2218d Various changes
dariosestito@d070750.prod.ad.symbian.intra
parents: 5
diff changeset
    41
                <istrue value="${sf.baseline.enable}" />
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    42
                <then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    43
                    <runtarget target="preparation-getenv"/>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    44
                </then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    45
            </if>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    46
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    47
            <if>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    48
                <istrue value="${sf.prebuild.getsrc}" />
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    49
                <then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    50
                    <runtarget target="sf-get-source"/>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    51
                </then>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    52
            </if>            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    53
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    54
            
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    55
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    56
        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    57
        <target name="sf-postbuild">            
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    58
            <echo>[SF-POSTBUILD]</echo>                        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    59
        </target>        
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    60
        
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    61
        <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
    62
            <echo>[SF-BUILD-RUN]</echo>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    63
        </target>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    64
3
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    65
        <target name="sf-compile">
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
                <!--<path id="sf.system.definition.files">
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    68
                    <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
    69
                    <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
    70
                </path>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    71
                -->
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    72
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    73
            	<!-- target name="compile-main-prebuild" -->
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    74
		<antcall target="compile-main" inheritAll="false">
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    75
			<param name="build.system" value="sbs" />
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    76
			<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
    77
			<!--<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
    78
		</antcall>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    79
            
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    80
        </target>
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    81
cee0afe79855 Fix error in template counter
shaberazvi@L063442.prod.ad.symbian.intra
parents: 2
diff changeset
    82
4
aca90ed0d6a6 Fix target name
shaberazvi@L063442.prod.ad.symbian.intra
parents: 3
diff changeset
    83
    <target name="sf-get-source">
2
b55de085507d Update and add build.sysdef.xml
shaberazvi@L063442.prod.ad.symbian.intra
parents: 0
diff changeset
    84
        <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
    85
    </target>        
0
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    86
</project>
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    87
571f289c60b8 Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff changeset
    88