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

Commit 2a0bd707 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Enable host cross python test builds" am: aad1959a am: f1988018 am:...

Merge "Enable host cross python test builds" am: aad1959a am: f1988018 am: b1dd4f21 am: 7579b705

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2595089



Change-Id: I3513048b2bfa0d4874ab9657a862e564f5fc1723
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 4e2e06bd 7579b705
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ func NewTest(hod android.HostOrDeviceSupported) *PythonTestModule {
}

func PythonTestHostFactory() android.Module {
	return NewTest(android.HostSupportedNoCross).init()
	return NewTest(android.HostSupported).init()
}

func PythonTestFactory() android.Module {
@@ -98,7 +98,7 @@ func (p *PythonTestModule) init() android.Module {
	android.InitAndroidArchModule(p, p.hod, p.multilib)
	android.InitDefaultableModule(p)
	android.InitBazelModule(p)
	if p.hod == android.HostSupportedNoCross && p.testProperties.Test_options.Unit_test == nil {
	if p.hod == android.HostSupported && p.testProperties.Test_options.Unit_test == nil {
		p.testProperties.Test_options.Unit_test = proptools.BoolPtr(true)
	}
	return p