aboutsummaryrefslogtreecommitdiffstats
path: root/genrule/filegroup.go
diff options
context:
space:
mode:
Diffstat (limited to 'genrule/filegroup.go')
-rw-r--r--genrule/filegroup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/genrule/filegroup.go b/genrule/filegroup.go
index 9f4aa10d..2cff5fee 100644
--- a/genrule/filegroup.go
+++ b/genrule/filegroup.go
@@ -70,7 +70,7 @@ func (fg *fileGroup) GenerateAndroidBuildActions(ctx android.ModuleContext) {
}
func (fg *fileGroup) Srcs() android.Paths {
- return fg.srcs
+ return append(android.Paths{}, fg.srcs...)
}
var androidMkTemplate = template.Must(template.New("filegroup").Parse(`