diff options
author | 2018-11-06 17:30:35 +0800 | |
---|---|---|
committer | 2019-01-29 22:26:57 +0800 | |
commit | 02880e41963fdc799c6b202da41d15be224a5602 (patch) | |
tree | d56c4159e4f6b7dfdd313e6e200b98ab0a9db55c /python/installer.go | |
parent | 62f6fcbbb9528b58fd98e5fd5c71e484844be12f (diff) |
Add missing dependencies for python_test
This commit adds missing shared lib dependencies for `python_test`
modules with embedded launcher.
Bug: 119086738
Test: CHECK_ELF_FIELS=true make check-elf-files
Change-Id: I26f8e1eb9086930093f60c7daa54469850fab32d
Diffstat (limited to 'python/installer.go')
-rw-r--r-- | python/installer.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/installer.go b/python/installer.go index ab3d9b4af..62f36f4b5 100644 --- a/python/installer.go +++ b/python/installer.go @@ -34,6 +34,8 @@ type pythonInstaller struct { relative string path android.OutputPath + + androidMkSharedLibs []string } func NewPythonInstaller(dir, dir64 string) *pythonInstaller { @@ -59,3 +61,7 @@ func (installer *pythonInstaller) installDir(ctx android.ModuleContext) android. func (installer *pythonInstaller) install(ctx android.ModuleContext, file android.Path) { installer.path = ctx.InstallFile(installer.installDir(ctx), file.Base(), file) } + +func (installer *pythonInstaller) setAndroidMkSharedLibs(sharedLibs []string) { + installer.androidMkSharedLibs = sharedLibs +} |