summaryrefslogtreecommitdiff
path: root/python/binary.go
diff options
context:
space:
mode:
author Wei Li <weiwli@google.com> 2021-10-07 06:26:48 +0000
committer Wei Li <weiwli@google.com> 2021-11-02 17:04:38 +0000
commit664a4fd0afde4ff4359022f5c23e6fcb6f08aa16 (patch)
tree4e279d21e17e787d43877f3265b720412b2bc538 /python/binary.go
parentc7a4de25c100e0c3e24186c5f2b4c9e959e928bc (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/binary.go')
-rw-r--r--python/binary.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binary.go b/python/binary.go
index bf6167c3c..304c9a98b 100644
--- a/python/binary.go
+++ b/python/binary.go
@@ -143,7 +143,7 @@ var (
func NewBinary(hod android.HostOrDeviceSupported) (*Module, *binaryDecorator) {
module := newModule(hod, android.MultilibFirst)
- decorator := &binaryDecorator{pythonInstaller: NewPythonInstaller("bin", "")}
+ decorator := &binaryDecorator{pythonInstaller: NewPythonInstaller("bin", "", module)}
module.bootstrapper = decorator
module.installer = decorator