CFT: Use chromite's path_util for chroot path translation
We're assuming we can construct inside-chroot paths ourselves, but the
mappings may change over time, as SDK state moves out of the chroot.
Use path_util for path translation. This requires plumbing out_path
throughout.
Resolve several of the mechanical (cros format / cros lint) errors while
I'm at it.
BUG=b:265885353
TEST=CQ
Change-Id: I034f42f001d726db41f12162477babbaefae1b1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/4617188
Auto-Submit: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Commit-Queue: Brian Norris <briannorris@chromium.org>
Reviewed-by: Derek Beckett <dbeckett@chromium.org>
20 files changed