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:
@@ -296,6 +296,7 @@ func (benchmark *benchmarkDecorator) linkerDeps(ctx BaseModuleContext, deps Deps
|
|||||||
func (benchmark *benchmarkDecorator) install(ctx ModuleContext, file android.Path) {
|
func (benchmark *benchmarkDecorator) install(ctx ModuleContext, file android.Path) {
|
||||||
benchmark.baseInstaller.dir = filepath.Join("nativetest", ctx.ModuleName())
|
benchmark.baseInstaller.dir = filepath.Join("nativetest", ctx.ModuleName())
|
||||||
benchmark.baseInstaller.dir64 = filepath.Join("nativetest64", ctx.ModuleName())
|
benchmark.baseInstaller.dir64 = filepath.Join("nativetest64", ctx.ModuleName())
|
||||||
|
benchmark.baseInstaller.install(ctx, file)
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewBenchmark(hod android.HostOrDeviceSupported) *Module {
|
func NewBenchmark(hod android.HostOrDeviceSupported) *Module {
|
||||||
|
Reference in New Issue
Block a user