Lines Matching refs:benchmark
62 benchmark := &benchmarkDecorator{
68 module.compiler = benchmark
69 module.AddProperties(&benchmark.Properties)
70 return module, benchmark
88 func (benchmark *benchmarkDecorator) autoDep(ctx android.BottomUpMutatorContext) autoDep {
92 func (benchmark *benchmarkDecorator) stdLinkage(ctx *depsContext) RustLinkage {
96 func (benchmark *benchmarkDecorator) compilerFlags(ctx ModuleContext, flags Flags) Flags {
97 flags = benchmark.binaryDecorator.compilerFlags(ctx, flags)
101 func (benchmark *benchmarkDecorator) compilerDeps(ctx DepsContext, deps Deps) Deps {
102 deps = benchmark.binaryDecorator.compilerDeps(ctx, deps)
110 func (benchmark *benchmarkDecorator) compilerProps() []interface{} {
111 return append(benchmark.binaryDecorator.compilerProps(), &benchmark.Properties)
114 func (benchmark *benchmarkDecorator) install(ctx ModuleContext) {
115 benchmark.testConfig = tradefed.AutoGenTestConfig(ctx, tradefed.AutoGenTestConfigOptions{
116 TestConfigProp: benchmark.Properties.Test_config,
117 TestConfigTemplateProp: benchmark.Properties.Test_config_template,
118 TestSuites: benchmark.Properties.Test_suites,
119 AutoGenConfig: benchmark.Properties.Auto_gen_config,
125 if !Bool(benchmark.Properties.No_named_install_directory) {
126 benchmark.baseCompiler.relative = ctx.ModuleName()
127 } else if String(benchmark.baseCompiler.Properties.Relative_install_path) == "" {
131 benchmark.binaryDecorator.install(ctx)