Add system shared library dependencies to Android.mk

We were missing dependencies from the prebuilts to the system shared
libraries, which could cause libc to not be installed if only soong
modules were built.

Change-Id: Ie5c237d7be23c6170e8b586b013f6456a8462230
This commit is contained in:
Colin Cross
2016-07-11 16:11:59 -07:00
parent 2683274349
commit b5bc4b412a

View File

@@ -850,7 +850,8 @@ func (c *Module) depsMutator(actx android.BottomUpMutatorContext) {
deps := c.deps(ctx)
c.Properties.AndroidMkSharedLibs = append([]string(nil), deps.SharedLibs...)
c.Properties.AndroidMkSharedLibs = append(c.Properties.AndroidMkSharedLibs, deps.SharedLibs...)
c.Properties.AndroidMkSharedLibs = append(c.Properties.AndroidMkSharedLibs, deps.LateSharedLibs...)
if ctx.sdk() {
version := "." + ctx.sdkVersion()