aboutsummaryrefslogtreecommitdiffstats
path: root/cc/cc.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-12-13 15:23:47 -0800
committerColin Cross <ccross@android.com>2016-12-17 16:34:03 +0000
commit068e0feace82595d98f08fadc855ed5fab6ea43e (patch)
tree887cce23997524b2bc5d5811eb13c541f248ac1e /cc/cc.go
parent35e39720686e47fb936d3b7b671d478132f71f81 (diff)
downloadbuild_soong-068e0feace82595d98f08fadc855ed5fab6ea43e.tar.gz
build_soong-068e0feace82595d98f08fadc855ed5fab6ea43e.tar.bz2
build_soong-068e0feace82595d98f08fadc855ed5fab6ea43e.zip
Support filegroups
filegroup is a module that contains a list of files, and can be used to export files across package boundaries. filegroups (and genrules) can be referenced from srcs properties of other modules using the syntax ":module". Test: m -j Change-Id: I3d6fc4819c0b4225b474e0ad42f0d947f55a5961
Diffstat (limited to 'cc/cc.go')
-rw-r--r--cc/cc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/cc.go b/cc/cc.go
index a17108fd..8bf14678 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -833,7 +833,7 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
cc, _ := m.(*Module)
if cc == nil {
switch tag {
- case android.DefaultsDepTag:
+ case android.DefaultsDepTag, android.SourceDepTag:
case genSourceDepTag:
if genRule, ok := m.(genrule.SourceFileGenerator); ok {
depPaths.GeneratedSources = append(depPaths.GeneratedSources,