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

Change-Id: I7ea2beadcf7ce81b201a2531852dd1298269173f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/test_planner/+/1600986
Reviewed-by: Evan Hernandez <evanhernandez@chromium.org>
Tested-by: Sean Abraham <seanabraham@chromium.org>
Commit-Queue: Sean Abraham <seanabraham@chromium.org>
5 files changed
tree: e12bf188e0736e240e3b08895fc388b70b5083e9
  1. .gitignore
  3. cipd.yaml
  4. deploy_cipd.json
  5. deploy_cipd.sh
  6. src/