diff options
author | Colin Cross <ccross@android.com> | 2017-02-04 12:45:03 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-02-04 12:45:03 -0800 |
commit | d1b8d760b5913c1b32201c7bbb88dd8c8bb93ca6 (patch) | |
tree | 84a9ebcd4156b920846ebb5f2c3e8afd716c6ad1 /genrule | |
parent | a83fdacf7ccab62491f51e0fe14a95015e9edc99 (diff) | |
download | build_soong-d1b8d760b5913c1b32201c7bbb88dd8c8bb93ca6.tar.gz build_soong-d1b8d760b5913c1b32201c7bbb88dd8c8bb93ca6.tar.bz2 build_soong-d1b8d760b5913c1b32201c7bbb88dd8c8bb93ca6.zip |
Allow non-tool dependencies in genrules
The genrule tool dependency handling was rejecting any dependencies
that were not tools. This caused a failure when ExtractSourceDeps
added a source file dependency on a filegroup module. Remove the
unnecessary check in the tool handling.
Test: builds
Bug: 35002681
Change-Id: Ibd8dff306be3ef55aac2e12a28ddc187be2234d9
Diffstat (limited to 'genrule')
-rw-r--r-- | genrule/genrule.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index 5c717423..ee4c5034 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -150,8 +150,6 @@ func (g *generator) GenerateAndroidBuildActions(ctx android.ModuleContext) { } else { ctx.ModuleErrorf("host tool %q missing output file", ctx.OtherModuleName(module)) } - } else { - ctx.ModuleErrorf("unknown dependency %q", ctx.OtherModuleName(module)) } }) } |