summaryrefslogtreecommitdiff
path: root/python/androidmk.go
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2018-11-06 17:30:35 +0800
committer Logan Chien <loganchien@google.com> 2019-01-29 22:26:57 +0800
commit02880e41963fdc799c6b202da41d15be224a5602 (patch)
treed56c4159e4f6b7dfdd313e6e200b98ab0a9db55c /python/androidmk.go
parent62f6fcbbb9528b58fd98e5fd5c71e484844be12f (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/androidmk.go')
-rw-r--r--python/androidmk.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/androidmk.go b/python/androidmk.go
index c1eaa5ebe..1e51e7b8a 100644
--- a/python/androidmk.go
+++ b/python/androidmk.go
@@ -96,5 +96,6 @@ func (installer *pythonInstaller) AndroidMk(base *Module, ret *android.AndroidMk
fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+filepath.Ext(file))
fmt.Fprintln(w, "LOCAL_MODULE_PATH := $(OUT_DIR)/"+filepath.Clean(dir))
fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
+ fmt.Fprintln(w, "LOCAL_SHARED_LIBRARIES := "+strings.Join(installer.androidMkSharedLibs, " "))
})
}