Add auto update of package models also for CompilerCompatibility builds
authorDario Sestito <darios@symbian.org>
Mon, 17 May 2010 15:34:18 +0100 (2010-05-17)
changeset 1066 e8cf0ceec61a
parent 1065 4656372c9b53
child 1067 bab959d5bc37
Add auto update of package models also for CompilerCompatibility builds
generate_system_models.pl
--- a/generate_system_models.pl	Mon May 17 15:26:55 2010 +0100
+++ b/generate_system_models.pl	Mon May 17 15:34:18 2010 +0100
@@ -103,6 +103,12 @@
 		my $splitmodel_cmd = "perl ..\\split_sysdef.pl -s $codeline\\system_model.xml -o packages\\$codeline";
 		print "$splitmodel_cmd\n";
 		system($splitmodel_cmd);
+		if ($codeline eq 'symbian3') # also update CompilerCompatibility
+		{
+			my $splitmodel2_cmd = "perl ..\\split_sysdef.pl -s $codeline\\system_model.xml -o packages\\CompilerCompatibility";
+			print "$splitmodel2_cmd\n";
+			system($splitmodel2_cmd);
+		}
 		my $diff_cmd = "hg -R packages diff --stat";
 		print "$diff_cmd\n";
 		my @diff_output = `$diff_cmd`;