aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-03-29 00:00:35 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-03-29 00:00:35 +0000
commit601ab89103e438cb957276d34775341eeaa0af08 (patch)
tree61124359cc30d816f038471d8c12898643a8b8c3 /cc
parent2497d5f9cef5b46cbaa3509c6d34721998278fda (diff)
parent2e9f9a2220cd8f8e4096e6ac373436d5ba3f644e (diff)
downloadbuild_soong-601ab89103e438cb957276d34775341eeaa0af08.tar.gz
build_soong-601ab89103e438cb957276d34775341eeaa0af08.tar.bz2
build_soong-601ab89103e438cb957276d34775341eeaa0af08.zip
Merge "Fix the flaky build breakage for droiddoc target." into pi-dev
Diffstat (limited to 'cc')
-rw-r--r--cc/compiler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/compiler.go b/cc/compiler.go
index 8f187583..6154758f 100644
--- a/cc/compiler.go
+++ b/cc/compiler.go
@@ -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) {