Skip dexpreopting android_test_import modules
android_test_import modules should be labelled as tests so they are not dexpreopted. Bug: 155778135 Test: m CtsCorruptApkTests_Compressed_Q Change-Id: I7baa5405d03df03920b01616b030ba77f882a77e Merged-In: I7baa5405d03df03920b01616b030ba77f882a77e
This commit is contained in:
parent
2572225993
commit
f30c453df1
1 changed files with 2 additions and 0 deletions
|
@ -1394,6 +1394,8 @@ func AndroidTestImportFactory() android.Module {
|
|||
module.processVariants(ctx)
|
||||
})
|
||||
|
||||
module.dexpreopter.isTest = true
|
||||
|
||||
android.InitAndroidMultiTargetsArchModule(module, android.DeviceSupported, android.MultilibCommon)
|
||||
android.InitDefaultableModule(module)
|
||||
android.InitSingleSourcePrebuiltModule(module, &module.properties, "Apk")
|
||||
|
|
Loading…
Reference in a new issue