Remove references to SourceDepTag in module types
SourceDepTag is going to become a set of tags of the same type instead of a single tag, remove references to it outside the android module. Bug: 80144045 Test: soong tests Change-Id: I00b2ea5040e4fc95dfbfdd79e21579853c478fcb
This commit is contained in:
@@ -163,8 +163,6 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
if len(g.properties.Tools) > 0 {
|
||||
ctx.VisitDirectDepsBlueprint(func(module blueprint.Module) {
|
||||
switch ctx.OtherModuleDependencyTag(module) {
|
||||
case android.SourceDepTag:
|
||||
// Nothing to do
|
||||
case hostToolDepTag:
|
||||
tool := ctx.OtherModuleName(module)
|
||||
var path android.OptionalPath
|
||||
@@ -201,8 +199,6 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
} else {
|
||||
ctx.ModuleErrorf("host tool %q missing output file", tool)
|
||||
}
|
||||
default:
|
||||
ctx.ModuleErrorf("unknown dependency on %q", ctx.OtherModuleName(module))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user