The debug output of the compiler walks you through the dependency process (rather verbose) but it can help explain why things are being included in your build. This can be non-obvious due to how auto-dependencies are detected (e.g., "xtype" usages and the like).