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
This commit is contained in:
Wei Li
2021-10-07 06:26:48 +00:00
parent c7a4de25c1
commit 664a4fd0af
6 changed files with 458 additions and 13 deletions

View File

@@ -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