Merge "Fix inverted error message" am: 8f33dcc9e3
am: b8cc59cfd3
am: ee9c499267
am: 9870ab1cab
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1804261 Change-Id: If75dd147b3234c04386625f901596bb0e77356a5
This commit is contained in:
committed by
Automerger Merge Worker
commit
6d7588588e
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user