Merge "Fix inverted error message"

This commit is contained in:
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
2021-08-20 22:20:23 +00:00
committed by Gerrit Code Review

View File

@@ -675,7 +675,7 @@ func (p *Module) collectPathsFromTransitiveDeps(ctx android.ModuleContext) {
if !isPythonLibModule(child) { if !isPythonLibModule(child) {
ctx.PropertyErrorf("libs", ctx.PropertyErrorf("libs",
"the dependency %q of module %q is not Python library!", "the dependency %q of module %q is not Python library!",
ctx.ModuleName(), ctx.OtherModuleName(child)) ctx.OtherModuleName(child), ctx.ModuleName())
} }
// collect source and data paths, checking that there are no duplicate output file conflicts // collect source and data paths, checking that there are no duplicate output file conflicts
if dep, ok := child.(pythonDependency); ok { if dep, ok := child.(pythonDependency); ok {