Merge "Fix the flaky build breakage for droiddoc target." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
601ab89103
@@ -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) {
|
||||
|
@@ -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(`
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user