aboutsummaryrefslogtreecommitdiffstats
path: root/python/installer.go
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2018-11-06 17:30:35 +0800
committerLogan Chien <loganchien@google.com>2019-01-29 22:26:57 +0800
commit02880e41963fdc799c6b202da41d15be224a5602 (patch)
treed56c4159e4f6b7dfdd313e6e200b98ab0a9db55c /python/installer.go
parent62f6fcbbb9528b58fd98e5fd5c71e484844be12f (diff)
downloadbuild_soong-02880e41963fdc799c6b202da41d15be224a5602.tar.gz
build_soong-02880e41963fdc799c6b202da41d15be224a5602.tar.bz2
build_soong-02880e41963fdc799c6b202da41d15be224a5602.zip
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.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/installer.go b/python/installer.go
index ab3d9b4a..62f36f4b 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
+}