Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7a1dee1 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Python3 on device links against liblog

Fixes: 148037229
Test: cherry-pick https://r.android.com/1212194; m try_python_binary_test
Change-Id: I6e26ba232d7698a4889a6e0be1aeb09d54cc4dc5
parent 515f043a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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")