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/binary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/binary.go') 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 -- cgit v1.2.3-59-g8ed1b