Allow instrumenting android_test modules.
android_test modules should have Instrument = true like android_app modules so that they get instrumented when EMMA_INSTRUMENT=true. Bug: 115929955 Test: m EMMA_INSTRUMENT=true Change-Id: I2c0e8ab95d2cdc47fc28af9c7264ab544d0e7a28
This commit is contained in:
parent
d321629155
commit
5067db9d02
|
@ -250,6 +250,8 @@ func AndroidTestFactory() android.Module {
|
|||
module := &AndroidTest{}
|
||||
|
||||
module.Module.deviceProperties.Optimize.Enabled = proptools.BoolPtr(true)
|
||||
|
||||
module.Module.properties.Instrument = true
|
||||
module.Module.properties.Installable = proptools.BoolPtr(true)
|
||||
|
||||
module.AddProperties(
|
||||
|
|
Loading…
Reference in New Issue