summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2020-01-20 22:08:20 -0800
committerDan Willemsen <dwillemsen@google.com>2020-01-20 22:14:45 -0800
commitd7a1dee1c1335700a4cdaa4e443cbe7160875130 (patch)
treee33a577fbed72c6a2dcc0730fb4690fbe610e683 /python/python.go
parent515f043a6bc2a8c3fdc3f0b388fe66ae68ae3d04 (diff)
Python3 on device links against liblog
Fixes: 148037229 Test: cherry-pick https://r.android.com/1212194; m try_python_binary_test Change-Id: I6e26ba232d7698a4889a6e0be1aeb09d54cc4dc5
Diffstat (limited to 'python/python.go')
-rw-r--r--python/python.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/python.go b/python/python.go
index c67c577dc..8b912be17 100644
--- a/python/python.go
+++ b/python/python.go
@@ -340,6 +340,11 @@ func (p *Module) DepsMutator(ctx android.BottomUpMutatorContext) {
// dependencies later.
ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag, "libsqlite")
+ if ctx.Device() {
+ ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag,
+ "liblog")
+ }
+
if ctx.Target().Os.Bionic() {
ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag,
"libc", "libdl", "libm")