Revert "Allow adding extra tradefed options in the Android.bp file"
This reverts commit 8ec823cba1
.
Reason for revert: DroidMonitor: Potential culprit for Bug b/262965953 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Change-Id: I236cc36981d8b30527ca286632727f8ca267e969
This commit is contained in:
committed by
Gerrit Code Review
parent
8ec823cba1
commit
77dc7d0839
17
rust/test.go
17
rust/test.go
@@ -130,16 +130,13 @@ func (test *testDecorator) install(ctx ModuleContext) {
|
||||
configs = append(configs, tradefed.Object{"target_preparer", "com.android.tradefed.targetprep.RootTargetPreparer", options})
|
||||
}
|
||||
|
||||
test.testConfig = tradefed.NewMaybeAutoGenTestConfigBuilder(ctx).
|
||||
SetTestConfigProp(test.Properties.Test_config).
|
||||
SetTestTemplateConfigProp(test.Properties.Test_config_template).
|
||||
SetTestSuites(test.Properties.Test_suites).
|
||||
SetConfig(configs).
|
||||
SetAutoGenConfig(test.Properties.Auto_gen_config).
|
||||
SetTestInstallBase(testInstallBase).
|
||||
SetDeviceTemplate("${RustDeviceTestConfigTemplate}").
|
||||
SetHostTemplate("${RustHostTestConfigTemplate}").
|
||||
Build()
|
||||
test.testConfig = tradefed.AutoGenRustTestConfig(ctx,
|
||||
test.Properties.Test_config,
|
||||
test.Properties.Test_config_template,
|
||||
test.Properties.Test_suites,
|
||||
configs,
|
||||
test.Properties.Auto_gen_config,
|
||||
testInstallBase)
|
||||
|
||||
dataSrcPaths := android.PathsForModuleSrc(ctx, test.Properties.Data)
|
||||
|
||||
|
Reference in New Issue
Block a user