OSDN Git Service

Do not link stub libraries from all namespaces
authorKiyoung Kim <kiyoungkim@google.com>
Fri, 15 May 2020 05:26:23 +0000 (14:26 +0900)
committerKiyoung Kim <kiyoungkim@google.com>
Mon, 18 May 2020 07:47:48 +0000 (16:47 +0900)
commit1ef9da8571fbab4b8c60c2c4a5a2e7213e4e1c76
tree4cf3dabc36bf4b98808dc4f97ccdbb5dc16d5655
parente37bcb119f6999c7507bd4f6fce15a78e74e5877
Do not link stub libraries from all namespaces

In current linkerconfig from all namespaces stub libraries are linked to
system namespace, which was required for APEX namespaces. However, as
linkerconfig checks dependencies from APEX namespaces now, this link is
excessive and can create unexpected interface from system. This change
removes redundant stub library link so namespaces can link to system
image with minimum set of libraries.

Bug: 156563692
Test: m -j passed && crosshatch_hwasasn booted
Change-Id: If43c954f376ede65bd2c3f682be6ae5d6866d3df
contents/common/system_links.cc