I experimented with IWYU for gfx/layers. I got decent build time improvements - around 12.5% (30s out of a 4min build with j1, 7s from 55s for j12) for a complete rebuild of gfx/layers using Clang on Linux.
The process was far from automatic. I think this is in part because the layers code has lots of platform specific parts and thus a lot of defines which sometimes trip up IWYU. In part just because IWYU is imperfect. Patches in bug 903816. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform