OSDN Git Service

Cut the static deps from libandroid_runtime to libnativeloader and libnativebridge
authorJiyong Park <jiyong@google.com>
Mon, 28 Jan 2019 15:39:04 +0000 (00:39 +0900)
committerJiyong Park <jiyong@google.com>
Tue, 12 Feb 2019 10:35:45 +0000 (19:35 +0900)
commit83207a29e1362c86271726018993bef756722f9f
tree96bd0e7b45c786b8c4499ad9e40e11b82f883900
parentefc16ab0d873cc10e44cf678b8bba30838c69542
Cut the static deps from libandroid_runtime to libnativeloader and libnativebridge

The dependencies are replaced with *_lazy libraries which dynamically
load and links to the real libraries at runtime using dlopen and dlsym.

This allows libandroid_runtime to be used by early processes that are executed
before the activation of the runtime APEX where libnativeloader and
libnativebridge are provided.

Bug: 123403798
Test: m
Test: device boots to the UI
Change-Id: I89a11bd0e9bef77db5da6d80840728b9a6f2a528
core/jni/Android.bp