sf-platform/build.xml
changeset 283 1c53d9d8d78d
parent 271 d62ab7f8c779
child 311 7d60f71b6a78
equal deleted inserted replaced
282:4dfae3e04808 283:1c53d9d8d78d
   173 
   173 
   174         <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   174         <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
   175         <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   175         <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
   176 
   176 
   177 		<!-- generate baseline dir list to allow delta creation -->
   177 		<!-- generate baseline dir list to allow delta creation -->
   178 		<antcall target="sf-list-dir" inheritAll="false">
   178 		<if><isset property="sf.os.compile.fast"/>
   179 			<param name="sf.list.name" value="baseline"/>
   179 			<then>
   180 		</antcall>
   180 				<echo message="INFO [FAST COMPILE] Skipping baseline dir list generation"/>
       
   181 			</then>
       
   182 			<else>
       
   183 				<antcall target="sf-list-dir" inheritAll="false">
       
   184 					<param name="sf.list.name" value="baseline"/>
       
   185 				</antcall>
       
   186 			</else>
       
   187 		</if>
   181 
   188 
   182 		<!-- OS what -->
   189 		<!-- OS what -->
   183 		<!--
   190 		<!--
   184         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   191         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   185                 <param name="build.system" value="${sf.spec.build.system}" />
   192                 <param name="build.system" value="${sf.spec.build.system}" />
   205 						<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   212 						<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   206 				</antcall>
   213 				</antcall>
   207 			</then>
   214 			</then>
   208 		</if>
   215 		</if>
   209 		
   216 		
   210 		<antcall target="sf-list-dir" inheritAll="false">
   217 		<if><isset property="sf.os.compile.fast"/>
   211 			<param name="sf.list.name" value="post-clean"/>
   218 			<then>
   212 		</antcall>
   219 				<echo message="INFO [FAST COMPILE] Skipping baseline vs post-clean delta generation"/>
   213 
   220 			</then>
   214 		<!-- what has been cleaned from baseline PDK by sos model -->
   221 			<else>
   215 		<antcall target="sf-delta-dir" inheritAll="false">
   222 				<antcall target="sf-list-dir" inheritAll="false">
   216 			<param name="sf.list_a.name" value="baseline"/>
   223 					<param name="sf.list.name" value="post-clean"/>
   217 			<param name="sf.list_b.name" value="post-clean"/>
   224 				</antcall>
   218 		</antcall>		
   225 				<!-- what has been cleaned from baseline PDK by sos model -->
   219 		
   226 				<antcall target="sf-delta-dir" inheritAll="false">
   220         <!-- OS tools2 build first-->
   227 					<param name="sf.list_a.name" value="baseline"/>
   221         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   228 					<param name="sf.list_b.name" value="post-clean"/>
   222                 <param name="build.system" value="${sf.spec.build.system}" />
   229 				</antcall>		
   223                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   230 			</else>
   224                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   231 		</if>
   225                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   232 		
   226                 <reference refid="sbs.tools2.var" torefid="sbs.var" />
   233 		<if><isset property="sf.os.compile.fast"/>
   227                 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   234 			<then>
   228                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   235 				<echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>
   229         </antcall>
   236 			</then>
   230 
   237 			<else>
   231 		<antcall target="sf-list-dir" inheritAll="false">
   238 				<!-- OS tools2 build first-->
   232 			<param name="sf.list.name" value="post-build-tools2"/>
   239 				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   233 		</antcall>
   240 						<param name="build.system" value="${sf.spec.build.system}" />
   234 		
   241 						<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   235 		
   242 						<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   236         <!-- OS tools build after tools2 -->
   243 						<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   237         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   244 						<reference refid="sbs.tools2.var" torefid="sbs.var" />
   238                 <param name="build.system" value="${sf.spec.build.system}" />
   245 						<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   239                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   246 						<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   240                 <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   247 				</antcall>
   241                 <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   248 
   242                 <reference refid="sbs.tools.var" torefid="sbs.var" />
   249 				<antcall target="sf-list-dir" inheritAll="false">
   243                 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   250 					<param name="sf.list.name" value="post-build-tools2"/>
   244                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   251 				</antcall>
   245         </antcall>
   252 				
   246 
   253 				
   247 		<antcall target="sf-list-dir" inheritAll="false">
   254 				<!-- OS tools build after tools2 -->
   248 			<param name="sf.list.name" value="post-build-tools"/>
   255 				<antcall target="compile-main" inheritAll="false" inheritRefs="true">
   249 		</antcall>
   256 						<param name="build.system" value="${sf.spec.build.system}" />
       
   257 						<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
       
   258 						<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
       
   259 						<param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
       
   260 						<reference refid="sbs.tools.var" torefid="sbs.var" />
       
   261 						<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
       
   262 						<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
       
   263 				</antcall>
       
   264 
       
   265 				<antcall target="sf-list-dir" inheritAll="false">
       
   266 					<param name="sf.list.name" value="post-build-tools"/>
       
   267 				</antcall>
       
   268 			</else>
       
   269 		</if>
   250 		
   270 		
   251         <!-- OS main build -->
   271         <!-- OS main build -->
   252         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   272         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   253                 <param name="build.system" value="${sf.spec.build.system}" />
   273                 <param name="build.system" value="${sf.spec.build.system}" />
   254                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   274                 <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   257                 <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
   277                 <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
   258                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   278                 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   259                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   279                 <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   260         </antcall>
   280         </antcall>
   261 		
   281 		
   262 		<antcall target="sf-list-dir" inheritAll="false">
   282 		<if><isset property="sf.os.compile.fast"/>
   263 			<param name="sf.list.name" value="post-build-main"/>
   283 			<then>
   264 		</antcall>
   284 				<echo message="INFO [FAST COMPILE] Skipping delta and intersect list generation"/>
   265 		
   285 			</then>
   266 		<!-- what has been built in tools2+tools+main -->
   286 			<else>
   267 		<antcall target="sf-delta-dir" inheritAll="false">
   287 				<antcall target="sf-list-dir" inheritAll="false">
   268 			<param name="sf.list_a.name" value="post-clean"/>
   288 					<param name="sf.list.name" value="post-build-main"/>
   269 			<param name="sf.list_b.name" value="post-build-main"/>
   289 				</antcall>
   270 		</antcall>
   290 				
   271 		
   291 				<!-- what has been built in tools2+tools+main -->
   272 		<!-- what has been cleaned and rebuilt -->
   292 				<antcall target="sf-delta-dir" inheritAll="false">
   273 		<antcall target="sf-intersect-dir" inheritAll="false">
   293 					<param name="sf.list_a.name" value="post-clean"/>
   274 			<param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
   294 					<param name="sf.list_b.name" value="post-build-main"/>
   275 			<param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
   295 				</antcall>
   276 		</antcall>
   296 				
   277 		
   297 				<!-- what has been cleaned and rebuilt -->
   278 		<!-- what has been cleaned and not rebuilt -->
   298 				<antcall target="sf-intersect-dir" inheritAll="false">
       
   299 					<param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
       
   300 					<param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
       
   301 				</antcall>
       
   302 				
       
   303 				<!-- what has been cleaned and not rebuilt -->
       
   304 			</else>
       
   305 		</if>
   279 		
   306 		
   280   </target>
   307   </target>
   281 
   308 
   282   <!--
   309   <!--
   283     == Name: SF-S60-COMPILE
   310     == Name: SF-S60-COMPILE