common/build.xml
changeset 3 cee0afe79855
parent 2 b55de085507d
child 4 aca90ed0d6a6
equal deleted inserted replaced
2:b55de085507d 3:cee0afe79855
    26         <target name="sf-prep" depends="check-tool-dependencies, prep-drive,init-build-area,create-bom,log-build-env">
    26         <target name="sf-prep" depends="check-tool-dependencies, prep-drive,init-build-area,create-bom,log-build-env">
    27             <echo>[SF-PREP]</echo>   
    27             <echo>[SF-PREP]</echo>   
    28             <tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/>
    28             <tempfile property="prep.dynamic.config" suffix="ant.xml" destdir="${temp.build.dir}"/>
    29         </target>
    29         </target>
    30         
    30         
    31         <target name="sf-prebuild" depends="preparation-getenv"> 
    31       <target name="sf-prebuild"> 
    32         
       
    33             <echo>[SF-PREBUILD]</echo>                                    
    32             <echo>[SF-PREBUILD]</echo>                                    
    34             
    33             
       
    34             <if>
       
    35                 <istrue value="${sf.prebuild.getenv}" />
       
    36                 <then>
       
    37                     <runtarget target="preparation-getenv"/>
       
    38                 </then>
       
    39             </if>
       
    40             
       
    41             <if>
       
    42                 <istrue value="${sf.prebuild.getsrc}" />
       
    43                 <then>
       
    44                     <runtarget target="sf-get-source"/>
       
    45                 </then>
       
    46             </if>            
       
    47             
       
    48             
    35         </target>
    49         </target>
    36         
       
    37         <!-- <target name="sf-preparation-getenv">        
       
    38             <antcall target="preparation-getenv">            
       
    39                                 
       
    40             </antcall>        
       
    41         </target>
       
    42         
       
    43         -->
       
    44         
    50         
    45         <target name="sf-postbuild">            
    51         <target name="sf-postbuild">            
    46             <echo>[SF-POSTBUILD]</echo>                        
    52             <echo>[SF-POSTBUILD]</echo>                        
    47         </target>        
    53         </target>        
    48         
    54         
    49         <target name="sf-build-run">            
    55         <target name="sf-build-run" depends="sf-compile">            
    50             <echo>[SF-BUILD-RUN]</echo>
    56             <echo>[SF-BUILD-RUN]</echo>
    51         </target>
    57         </target>
       
    58 
       
    59         <target name="sf-compile">
       
    60             
       
    61                 <!--<path id="sf.system.definition.files">
       
    62                     <fileset dir="${sf.common.config.dir}/sysdefs" includes="*.sysdef.xml"/>
       
    63                     <fileset dir="${build.drive}/sf/app/camera"        includes="*.sysdef.xml"/>
       
    64                 </path>
       
    65                 -->
       
    66             
       
    67             	<!-- target name="compile-main-prebuild" -->
       
    68 		<antcall target="compile-main" inheritAll="false">
       
    69 			<param name="build.system" value="sbs" />
       
    70 			<param name="sysdef.configurations.list" value="s60_build_clean,s60_build" />
       
    71 			<!--<reference refid="sf.system.definition.files" torefid="system.definition.files" />-->
       
    72 		</antcall>
       
    73             
       
    74         </target>
       
    75 
    52 
    76 
    53     <target name="scm-get-input">
    77     <target name="scm-get-input">
    54         <ant antfile="${sf.common.config.dir}/../../build/hg-pkg-build.ant.xml" />
    78         <ant antfile="${sf.common.config.dir}/../../build/hg-pkg-build.ant.xml" />
    55     </target>        
    79     </target>        
    56 </project>
    80 </project>