Fix rpath for host benchmarks

am: aa3bf3768a

Change-Id: Ie94d93613f86e910ba44817b7ef5f8f26647f0f7
This commit is contained in:
Colin Cross
2016-07-14 19:52:48 +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
}