diff options
author | Colin Cross <ccross@android.com> | 2018-05-23 10:59:18 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-06-06 17:05:20 +0000 |
commit | 2d24c1b65428cfb45b7458788a33ecb19ea99c67 (patch) | |
tree | 9b85aaa9af6fa5100756b097f216c70f5be90904 /cc | |
parent | dd0b4e06f547f14cade5f8b5a67d5e86a4ea3795 (diff) | |
download | build_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 'cc')
-rw-r--r-- | cc/cc.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1202,8 +1202,6 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps { if ccDep == nil { // handling for a few module types that aren't cc Module but that are also supported switch depTag { - case android.DefaultsDepTag, android.SourceDepTag: - // Nothing to do case genSourceDepTag: if genRule, ok := dep.(genrule.SourceFileGenerator); ok { depPaths.GeneratedSources = append(depPaths.GeneratedSources, @@ -1241,8 +1239,6 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps { } else { ctx.ModuleErrorf("module %q is not a genrule", depName) } - default: - ctx.ModuleErrorf("depends on non-cc module %q", depName) } return } |