Fix rpath for host benchmarks am: aa3bf3768a

am: 79788ddf39

Change-Id: I1c2aa68fe20a954661e7ba534f94fbc39639682f
This commit is contained in:
Colin Cross
2016-07-14 19:55:14 +00:00
committed by android-build-merger

View File

@@ -2311,11 +2311,11 @@ func testLibraryFactory() (blueprint.Module, []interface{}) {
}
type benchmarkLinker struct {
binaryLinker
testBinaryLinker
}
func (benchmark *benchmarkLinker) deps(ctx BaseModuleContext, deps Deps) Deps {
deps = benchmark.binaryLinker.deps(ctx, deps)
deps = benchmark.testBinaryLinker.deps(ctx, deps)
deps.StaticLibs = append(deps.StaticLibs, "libgoogle-benchmark")
return deps
}