Make filegroup paths relative to module dir in mixed builds

filegroup.srcs must have a .rel() version of their paths
that is relative to the module directory. Previously in
mixed builds, the relative path wasn't filled in.

Bug: 229251008
Bug: 204244290
Test: go tests, and USE_BAZEL_ANALYSIS=1 m apexer with the following cl
Change-Id: I11a2a8b96139e0e7b956fa4c256a9a99c02f88f3
This commit is contained in:
Cole Faust
2022-06-03 16:00:11 -07:00
parent d848f28449
commit 9a06d25be2
4 changed files with 145 additions and 11 deletions

View File

@@ -98,6 +98,7 @@ bootstrap_go_package {
"apex_test.go",
"arch_test.go",
"bazel_handler_test.go",
"bazel_paths_test.go",
"bazel_test.go",
"config_test.go",
"config_bp2build_test.go",