Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c80828d5 authored by Colin Cross's avatar Colin Cross
Browse files

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
parent 7500f46b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1398,6 +1398,8 @@ func AndroidTestImportFactory() android.Module {
		module.processVariants(ctx)
	})

	module.dexpreopter.isTest = true

	android.InitApexModule(module)
	android.InitAndroidMultiTargetsArchModule(module, android.DeviceSupported, android.MultilibCommon)
	android.InitDefaultableModule(module)