Support submodules when building from a gh repo Upstream-commit: a1fb3b5282248319fb2d1a14dadb2929538475c5 Component: engine