diff options
author | 2021-10-07 06:26:48 +0000 | |
---|---|---|
committer | 2021-11-02 17:04:38 +0000 | |
commit | 664a4fd0afde4ff4359022f5c23e6fcb6f08aa16 (patch) | |
tree | 4e279d21e17e787d43877f3265b720412b2bc538 /python/test.go | |
parent | c7a4de25c100e0c3e24186c5f2b4c9e959e928bc (diff) |
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
Diffstat (limited to 'python/test.go')
-rw-r--r-- | python/test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |