OSDN Git Service

Do not link VNDK libraries to system from vendor/product default
authorKiyoung Kim <kiyoungkim@google.com>
Thu, 14 May 2020 07:25:15 +0000 (16:25 +0900)
committerKiyoung Kim <kiyoungkim@google.com>
Fri, 15 May 2020 00:45:19 +0000 (09:45 +0900)
commite37bcb119f6999c7507bd4f6fce15a78e74e5877
treeb4332c96f50a6b251f3a5072a981ef09e877d75e
parent8da3a9d92f72a961686550ad74911ec9d76bd2e2
Do not link VNDK libraries to system from vendor/product default

There was an issue that P vendor fails with Wifi because ubsan
libclangrt was linked to system even the library was in VNDK. This
change removes vndk libraries from sanitizer library list when linking
from vendor/product default so we can stick on partition's own VNDK
library.

Bug: 155907604
Test: Tested with cuttlefish
Change-Id: I7c23c6ba5f263a716b44778c9441dde68943259b
contents/common/system_links.cc
contents/context/context.cc
contents/include/linkerconfig/context.h
contents/namespace/productdefault.cc
contents/namespace/vendordefault.cc
contents/tests/backward_compatibility/testbase.h
contents/tests/configuration/include/mockenv.h
generator/variableloader.cc