initialize qtwebengine's chromium submodule after cloning it

Change-Id: I7e3ef09eb437f700c6fe010ce44a711118e8bd75
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
Andras Becsi
2014-08-11 15:04:25 +02:00
parent 9677483cdc
commit ed9a5c8a62

View File

@@ -474,6 +474,12 @@ sub git_clone_all_submodules
foreach my $line (@configresult) {
if ($line =~ /submodule\.([^.=]+)\.url=(.*)/) {
$self->git_clone_one_submodule($1, $2);
if ($1 eq "qtwebengine") {
chdir($1) or confess "chdir $1: $OS_ERROR";
$self->exe('git', 'submodule', 'init');
$self->git_clone_all_submodules;
chdir("..") or confess "chdir $1: $OS_ERROR";
}
}
}