aboutsummaryrefslogtreecommitdiffstats
path: root/cc/linker.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-09-26 17:33:01 -0700
committerDan Willemsen <dwillemsen@google.com>2016-10-31 16:18:49 -0700
commit5cb580f407d2b1b639d7aeea8e1310740e55fe1c (patch)
tree06df2217c80ade92c65e85f87f8d9e959ba96257 /cc/linker.go
parent5d5db02bf6cd527455abcbf3502e990bb2d21e5a (diff)
downloadbuild_soong-5cb580f407d2b1b639d7aeea8e1310740e55fe1c.tar.gz
build_soong-5cb580f407d2b1b639d7aeea8e1310740e55fe1c.tar.bz2
build_soong-5cb580f407d2b1b639d7aeea8e1310740e55fe1c.zip
Start using "struct Objects" to store object Paths
So that we can represent other files that get generated along with the objects, like the gcno coverage information, and per-file clang-tidy runs. Test: Soong's build.ninja identical before/after Change-Id: I5c553a153c436d5403549f62c73fe79c5f101779
Diffstat (limited to 'cc/linker.go')
-rw-r--r--cc/linker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/linker.go b/cc/linker.go
index 09233385..28572c69 100644
--- a/cc/linker.go
+++ b/cc/linker.go
@@ -197,6 +197,6 @@ func (linker *baseLinker) linkerFlags(ctx ModuleContext, flags Flags) Flags {
}
func (linker *baseLinker) link(ctx ModuleContext,
- flags Flags, deps PathDeps, objFiles android.Paths) android.Path {
+ flags Flags, deps PathDeps, objs Objects) android.Path {
panic(fmt.Errorf("baseLinker doesn't know how to link"))
}