refactor: use getPaths() instead of getBaseDir()

getPaths() now supports filegroup/genrule/etc and returns src paths
which consist of "basedir + rel".

Bug: 189288369
Test: m
Change-Id: I9af0fe23b4c334d947c5d51c432acfaf2e0cdeb5
4 files changed