CMake, at least, supports generating files that can be included via
`subninja` from another build. If that's not supported (and I wouldn't
be surprised if not), I doubt GN supports such information extraction
for more meaningful integration (though that's just a guess).
FD: CMake developer, GN lurker.
--Ben