blob: 0a349ac9c1b74b19dd27390b1d276e255363423b [file] [log] [blame]
Martin Stjernholm799ad142018-12-19 20:37:27 +00001# Copyright (C) 2018 The Android Open Source Project
2#
3# Bionic loader config file for the Runtime APEX.
4#
5# There are no versioned APEX paths here - this APEX module does not support
6# having several versions mounted.
7
8dir.runtime = /apex/com.android.runtime/bin/
9
10[runtime]
Nicolas Geoffray37498de2019-01-22 08:46:34 +000011additional.namespaces = platform,conscrypt
Martin Stjernholm799ad142018-12-19 20:37:27 +000012
Martin Stjernholm70a76112019-01-22 14:27:54 +000013# Keep in sync with the runtime namespace in /system/etc/ld.config.txt.
Martin Stjernholm799ad142018-12-19 20:37:27 +000014namespace.default.isolated = true
Martin Stjernholm70a76112019-01-22 14:27:54 +000015# Visible because some libraries are dlopen'ed, e.g. libopenjdk is dlopen'ed by
16# libart.
17namespace.default.visible = true
Martin Stjernholm799ad142018-12-19 20:37:27 +000018namespace.default.search.paths = /apex/com.android.runtime/${LIB}
19# odex files are in /system/framework. dalvikvm has to be able to dlopen the
20# files for CTS.
21namespace.default.permitted.paths = /system/framework
22namespace.default.links = platform
23# TODO(b/119867084): Restrict fallback to platform namespace to PALette library.
24namespace.default.link.platform.allow_all_shared_libs = true
25
Martin Stjernholm70a76112019-01-22 14:27:54 +000026# Keep in sync with the default namespace in /system/etc/ld.config.txt.
Martin Stjernholm799ad142018-12-19 20:37:27 +000027namespace.platform.isolated = true
28namespace.platform.search.paths = /system/${LIB}
29namespace.platform.links = default
Jiyong Park72209a82019-01-09 08:30:31 +090030namespace.platform.link.default.shared_libs = libart.so:libartd.so
Martin Stjernholm8ab9c572018-12-21 22:32:48 +000031namespace.platform.link.default.shared_libs += libnativebridge.so
32namespace.platform.link.default.shared_libs += libnativehelper.so
33namespace.platform.link.default.shared_libs += libnativeloader.so
Nicolas Geoffray37498de2019-01-22 08:46:34 +000034
35###############################################################################
36# "conscrypt" APEX namespace
37#
38# This namespace is for libraries within the conscrypt APEX.
39###############################################################################
40namespace.conscrypt.isolated = true
41namespace.conscrypt.visible = true
42
43namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
44namespace.conscrypt.links = platform
45namespace.conscrypt.link.platform.shared_libs = libc.so
46namespace.conscrypt.link.platform.shared_libs += libm.so
47namespace.conscrypt.link.platform.shared_libs += libdl.so