Currently when sync_submodules constructs the .gitmodules file, it adds an item called 'os', which is a list of keys coming from the deps_os section, or 'all'. Example: [1]
I don't know why it does this. AFAIK Git doesn't recognize this, so WTF? Anyway, gclient revinfo does not pass this information through; so we will not be able to include it.
I think this is fine; but please LMK if you disagree.
1. https://chromium.googlesource.com/chromium/tools/build/codesearch/+/master/.gitmodules#32
Summary: sync_submodules and gsubmodd ought to use gclient revinfo instead of parsing DEPS itself (was: sync_submodules ought to use gclient revinfo instead of parsing DEPS itself)
Comment 1 by flyboy@chromium.org
, Jun 15 2018