Listing headers in a typemap's public_headers field not only includes those headers in generated mojom.h files, but also adds the headers to the |sources| list of the corresponding build target.
I may have added this at some point to work around some kind of generated file dependency / build ordering issue, but I'll revisit it and find a way to undo it, as it is IMO clearly incorrect.
Comment 1 by roc...@chromium.org
, Jan 11 2018