generate_system_models.pl
changeset 1066 e8cf0ceec61a
parent 1065 4656372c9b53
child 1067 bab959d5bc37
equal deleted inserted replaced
1065:4656372c9b53 1066:e8cf0ceec61a
   101 		print "$updatedefault_cmd\n";
   101 		print "$updatedefault_cmd\n";
   102 		system($updatedefault_cmd);
   102 		system($updatedefault_cmd);
   103 		my $splitmodel_cmd = "perl ..\\split_sysdef.pl -s $codeline\\system_model.xml -o packages\\$codeline";
   103 		my $splitmodel_cmd = "perl ..\\split_sysdef.pl -s $codeline\\system_model.xml -o packages\\$codeline";
   104 		print "$splitmodel_cmd\n";
   104 		print "$splitmodel_cmd\n";
   105 		system($splitmodel_cmd);
   105 		system($splitmodel_cmd);
       
   106 		if ($codeline eq 'symbian3') # also update CompilerCompatibility
       
   107 		{
       
   108 			my $splitmodel2_cmd = "perl ..\\split_sysdef.pl -s $codeline\\system_model.xml -o packages\\CompilerCompatibility";
       
   109 			print "$splitmodel2_cmd\n";
       
   110 			system($splitmodel2_cmd);
       
   111 		}
   106 		my $diff_cmd = "hg -R packages diff --stat";
   112 		my $diff_cmd = "hg -R packages diff --stat";
   107 		print "$diff_cmd\n";
   113 		print "$diff_cmd\n";
   108 		my @diff_output = `$diff_cmd`;
   114 		my @diff_output = `$diff_cmd`;
   109 		if (@diff_output)
   115 		if (@diff_output)
   110 		{
   116 		{