On Fri, 14 Jan 2022 16:23:17 +0000 Sean Morrissey <sean.morris...@intel.com> wrote:
> This script can be used for removing headers flagged for removal by the > include-what-you-use (IWYU) tool. The script has the ability to remove > headers from specified sub-directories or dpdk as a whole and tests the > build after each removal by calling meson compile. > > example usages: > > Remove headers flagged by iwyu_tool output file > $ ./devtools/process_iwyu.py iwyu.out -b build > > Remove headers flagged by iwyu_tool output file from sub-directory > $ ./devtools/process_iwyu.py iwyu.out -b build -d lib/kvargs > > Remove headers directly piped from the iwyu_tool > $ iwyu_tool -p build | ./devtools/process_iwyu.py - -b build > > Signed-off-by: Sean Morrissey <sean.morris...@intel.com> > Signed-off-by: Conor Fogarty <conor.foga...@intel.com> > > Reviewed-by: Bruce Richardson <bruce.richard...@intel.com> Could this be a shell script instead of python? That would prevent having to pull in more python library dependencies.