From 664a4fd0afde4ff4359022f5c23e6fcb6f08aa16 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Thu, 7 Oct 2021 06:26:48 +0000 Subject: Fix python_binary_host module in mixed build. Test: USE_BAZEL_ANALYSIS=1 m genfunctosyscallnrs Test: USE_BAZEL_ANALYSIS=1 m func_to_syscall_nrs Test: USE_BAZEL_ANALYSIS=1 m libseccomp_policy Bug: 201094425, 197135289 Change-Id: Ibc8b99a92149410c8a879b7a4facf6c8961a7b9f --- python/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/test.go') diff --git a/python/test.go b/python/test.go index 7413782cb..3cd900f4c 100644 --- a/python/test.go +++ b/python/test.go @@ -101,7 +101,7 @@ func (test *testDecorator) install(ctx android.ModuleContext, file android.Path) func NewTest(hod android.HostOrDeviceSupported) *Module { module, binary := NewBinary(hod) - binary.pythonInstaller = NewPythonInstaller("nativetest", "nativetest64") + binary.pythonInstaller = NewPythonInstaller("nativetest", "nativetest64", module) test := &testDecorator{binaryDecorator: binary} if hod == android.HostSupportedNoCross && test.testProperties.Test_options.Unit_test == nil { -- cgit v1.2.3-59-g8ed1b