Blockedon:526154 Cc: j...@chromium.org Status: Available (was: Untriaged) Summary: Code search xrefs to generated files only work for linux (was: Code search not loading generated mojom header files)
This is due to the odd mashup of Linux and ChromeOS information that our codesearch currently surfaces.
Codesearch currently does the following things:
1) Compile chromium for linux, and commit the resulting src/out/ directory to a git repo
2) Compile chromium for linux, and use the resulting objects to construct cross-references for codesearch
3) Compile chromium for chromeos, drop all the resulting objects which overlap with objects produced by the linux build, and use the remaining ones to construct additional crossreferences for codesearch
So the result is that, while we do surface some chromeos-specific crossreferences (yay, that's a win!), if those xrefs point to generated files, they end up going nowhere because the genfiles are only the linux ones.
It's not clear how best to fix this, even once we do have a better multi-platform cross-references story. Blocking this bug on that, and CCing Joey so he can be thinking about this.
Comment 1 by jamescook@chromium.org
, Mar 14 2018