Python3 on device links against liblog
Fixes: 148037229 Test: cherry-pick https://r.android.com/1212194; m try_python_binary_test Change-Id: I6e26ba232d7698a4889a6e0be1aeb09d54cc4dc5
This commit is contained in:
parent
515f043a6b
commit
d7a1dee1c1
|
@ -340,6 +340,11 @@ func (p *Module) DepsMutator(ctx android.BottomUpMutatorContext) {
|
||||||
// dependencies later.
|
// dependencies later.
|
||||||
ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag, "libsqlite")
|
ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag, "libsqlite")
|
||||||
|
|
||||||
|
if ctx.Device() {
|
||||||
|
ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag,
|
||||||
|
"liblog")
|
||||||
|
}
|
||||||
|
|
||||||
if ctx.Target().Os.Bionic() {
|
if ctx.Target().Os.Bionic() {
|
||||||
ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag,
|
ctx.AddFarVariationDependencies(ctx.Target().Variations(), launcherSharedLibTag,
|
||||||
"libc", "libdl", "libm")
|
"libc", "libdl", "libm")
|
||||||
|
|
Loading…
Reference in New Issue