From d695733df9047bb61bbe7301d34681aa805697d0 Mon Sep 17 00:00:00 2001 From: Min Yun Date: Tue, 11 Jun 2019 14:49:57 +0900 Subject: [PATCH] Add libcgrouprc to ld.config.txt. - In GSI, media.extractor has follow dependency. media.extractor -> libmpeg2extractor (media ns) -> libprocessgroup (media ns) -> libcgrouprc (default ns). If libcgroupsrc can't link from libmpeg2extractor, media.extractor is crashed. Test: media.extractor didn't die. Bug: 134981805 Change-Id: I7d3e7e6477708a505b87a884e05cd719f5a3d496 --- rootdir/etc/ld.config.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/ld.config.txt b/rootdir/etc/ld.config.txt index 3b3f61ef6..7f129f8f1 100644 --- a/rootdir/etc/ld.config.txt +++ b/rootdir/etc/ld.config.txt @@ -187,6 +187,7 @@ namespace.media.permitted.paths = /apex/com.android.media/${LIB}/extractors namespace.media.links = default namespace.media.link.default.shared_libs = %LLNDK_LIBRARIES% namespace.media.link.default.shared_libs += libbinder_ndk.so +namespace.media.link.default.shared_libs += libcgrouprc.so namespace.media.link.default.shared_libs += libmediametrics.so namespace.media.link.default.shared_libs += %SANITIZER_RUNTIME_LIBRARIES%