Fix cc_benchmark installs

cc_benchmark was not propagating the call to baseInstaller.install,
which resulted in no install location being set and the benchmarks
installed in out/.

Change-Id: I4399cd479d9cd7ec1b7332dd0d20a9ab3820b04e
This commit is contained in:
Colin Cross 2016-08-11 22:26:17 -07:00
parent 76f2f97c51
commit 33586f3b10

View file

@ -296,6 +296,7 @@ func (benchmark *benchmarkDecorator) linkerDeps(ctx BaseModuleContext, deps Deps
func (benchmark *benchmarkDecorator) install(ctx ModuleContext, file android.Path) {
benchmark.baseInstaller.dir = filepath.Join("nativetest", ctx.ModuleName())
benchmark.baseInstaller.dir64 = filepath.Join("nativetest64", ctx.ModuleName())
benchmark.baseInstaller.install(ctx, file)
}
func NewBenchmark(hod android.HostOrDeviceSupported) *Module {