Get gyp/ninja to tell us all the dependencies

gyp/ninja will only tell us about all the dependencies if we introduce a
shared library target, which is required to actually link against all
the static libraries of all its dependencies.