2 |
|
# |
3 |
|
# Interface |
4 |
|
# --------- |
5 |
< |
# new(toolbox) |
5 |
> |
# new(ConfigArea) |
6 |
|
# ParseBuildFile($base,$path,$file) |
7 |
|
# ParseBuildFileExport(filename) |
8 |
|
# BlockClassPath() : Return the class path |
22 |
|
my $class=shift; |
23 |
|
my $self={}; |
24 |
|
bless $self, $class; |
25 |
< |
$self->{toolbox}=shift; |
25 |
> |
$self->{area}=shift; |
26 |
> |
$self->{toolbox}=$self->{area}->toolbox(); |
27 |
|
$self->{Arch}=1; |
28 |
|
push @{$self->{ARCHBLOCK}}, $self->{Arch}; |
29 |
|
return $self; |
164 |
|
sub ParseBuildFile_Export { |
165 |
|
my $self=shift; |
166 |
|
my $filename=shift; |
167 |
< |
my $bf=BuildSystem::BuildFile->new($self->{toolbox}); |
167 |
> |
my $bf=BuildSystem::BuildFile->new($self->{area}); |
168 |
|
if ( defined $self->{remoteproject} ) { |
169 |
|
$bf->{remoteproject}=$self->{remoteproject}; |
170 |
|
} |