summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-08-15 22:06:41 +0000
committer Spandan Das <spandandas@google.com> 2023-08-16 01:15:48 +0000
commit03010664c89cdc98a3f191111e546bc85c77c25b (patch)
treea2cf11c7c97527428eee689d74baa45bc60aa3a6 /rust/rust.go
parentf768e6e27ea7d9833ae324d58621b874a7144170 (diff)
Add a function to find src labels in a specific directory
The existing api restricts search to the directory of the currently visited soong module. Create a new function that allows search in any directory. Internally it calls TransformSubpackagePath so the returned labels will be resolved to respect package boundaries. The use case for this is to support proto.include_dirs of cc_*, java_*, python_* Test: Added a unit test that uses a mock for GlobWihDeps Change-Id: I75fe3ca7de88b163f456190049a22c62f91c9a2e
Diffstat (limited to 'rust/rust.go')
0 files changed, 0 insertions, 0 deletions