Update cc_benchmark to use libgoogle-benchmark
am: 2683274349
Change-Id: I6d9f7907f3976d53b0fc7d0feccc905ce2390939
This commit is contained in:
2
cc/cc.go
2
cc/cc.go
@@ -2245,7 +2245,7 @@ type benchmarkLinker struct {
|
|||||||
|
|
||||||
func (benchmark *benchmarkLinker) deps(ctx BaseModuleContext, deps Deps) Deps {
|
func (benchmark *benchmarkLinker) deps(ctx BaseModuleContext, deps Deps) Deps {
|
||||||
deps = benchmark.binaryLinker.deps(ctx, deps)
|
deps = benchmark.binaryLinker.deps(ctx, deps)
|
||||||
deps.StaticLibs = append(deps.StaticLibs, "libbenchmark", "libbase")
|
deps.StaticLibs = append(deps.StaticLibs, "libgoogle-benchmark")
|
||||||
return deps
|
return deps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user