Fix the flaky build breakage for droiddoc target. am: e42777a05a

am: d368414bb4

Change-Id: Ic444461ecf07f7e0637cd9407b3c6a0113da8483
This commit is contained in:
Nan Zhang
2018-03-28 05:29:47 +00:00
committed by android-build-merger
3 changed files with 3 additions and 3 deletions

View File

@@ -183,7 +183,7 @@ type CompiledInterface interface {
}
func (compiler *baseCompiler) Srcs() android.Paths {
return compiler.srcs
return append(android.Paths{}, compiler.srcs...)
}
func (compiler *baseCompiler) appendCflags(flags []string) {

View File

@@ -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(`

View File

@@ -125,7 +125,7 @@ func (g *Module) GeneratedSourceFiles() android.Paths {
}
func (g *Module) Srcs() android.Paths {
return g.outputFiles
return append(android.Paths{}, g.outputFiles...)
}
func (g *Module) GeneratedHeaderDirs() android.Paths {