pointless_build_checker: Use new build_irrelevance config
This removes the hardcoded paths that are irrelevant to Portage.
This also fixes some questionable logic I was using previously, which
just used prefix-matching on file paths as strings. Now file and
directory paths are handled properly (and "a/b/cccc" isn't regarded as
an irrelevant path just because "a/b/c" is an irrelevant path).
TEST=Unit tests, local run
Reviewed-by: Evan Hernandez <email@example.com>
Tested-by: Sean Abraham <firstname.lastname@example.org>
Commit-Queue: Sean Abraham <email@example.com>
5 files changed