Show module's type and path when reporting dependency problems

Test: treehugger
Change-Id: I25c3eddbeeb10bd6b9bfa9e869f6fbc98d2a6ec4
This commit is contained in:
Sasha Smundak
2022-08-04 11:28:15 -07:00
parent 3a0355f99c
commit f2bb26f492
2 changed files with 5 additions and 3 deletions

View File

@@ -1032,7 +1032,7 @@ func TestModuleTypeBp2Build(t *testing.T) {
],
bazel_module: { bp2build_available: true },
}`,
ExpectedErr: fmt.Errorf(`"foobar" depends on unconverted modules: foo`),
ExpectedErr: fmt.Errorf(`filegroup .:foobar depends on unconverted modules: foo`),
Filesystem: map[string]string{
"other/Android.bp": `filegroup {
name: "foo",