Migrating SVN Repositories with multiple dependencies to GitLab

I need to migrate SVN repos to GitLab. I see many topics that explain the migration process.

However, my case is may be a bit different.

I have repos say A and B that both have C as dependency and C has D as it dependency.

Is there a way to migrate these repos to GitLab ? Does GitLab support it ?