aboutsummaryrefslogtreecommitdiffstats
path: root/genrule
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-05-23 10:59:18 -0700
committerColin Cross <ccross@android.com>2018-06-06 17:05:20 +0000
commit2d24c1b65428cfb45b7458788a33ecb19ea99c67 (patch)
tree9b85aaa9af6fa5100756b097f216c70f5be90904 /genrule
parentdd0b4e06f547f14cade5f8b5a67d5e86a4ea3795 (diff)
downloadbuild_soong-2d24c1b65428cfb45b7458788a33ecb19ea99c67.tar.gz
build_soong-2d24c1b65428cfb45b7458788a33ecb19ea99c67.tar.bz2
build_soong-2d24c1b65428cfb45b7458788a33ecb19ea99c67.zip
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
Diffstat (limited to 'genrule')
-rw-r--r--genrule/genrule.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go
index 42be88fe..d03d4ee2 100644
--- a/genrule/genrule.go
+++ b/genrule/genrule.go
@@ -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))
}
})
}