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

Commit f30c453d 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
Merged-In: I7baa5405d03df03920b01616b030ba77f882a77e
parent 25722259
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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")