[WIP] Switch sh_test_host to unit_tests=true by default
Test: presubmit Bug: 192278266 Change-Id: Ief6f8fa753f13f0a4944a0a183a12497f138e1e8
This commit is contained in:
parent
68ecdef42d
commit
06f1399d5f
1 changed files with 4 additions and 0 deletions
|
@ -495,6 +495,10 @@ func ShTestHostFactory() android.Module {
|
|||
module := &ShTest{}
|
||||
InitShBinaryModule(&module.ShBinary)
|
||||
module.AddProperties(&module.testProperties)
|
||||
// Default sh_test_host to unit_tests = true
|
||||
if module.testProperties.Test_options.Unit_test == nil {
|
||||
module.testProperties.Test_options.Unit_test = proptools.BoolPtr(true)
|
||||
}
|
||||
|
||||
android.InitAndroidArchModule(module, android.HostSupported, android.MultilibFirst)
|
||||
return module
|
||||
|
|
Loading…
Reference in a new issue