| # Copyright (C) 2018 The Android Open Source Project |
| # |
| # Bionic loader config file for the Runtime APEX. |
| # |
| # There are no versioned APEX paths here - this APEX module does not support |
| # having several versions mounted. |
| |
| dir.runtime = /apex/com.android.runtime/bin/ |
| |
| [runtime] |
| additional.namespaces = platform,conscrypt |
| |
| # Keep in sync with runtime namespace in /system/etc/ld.config.txt. |
| namespace.default.isolated = true |
| namespace.default.search.paths = /apex/com.android.runtime/${LIB} |
| # odex files are in /system/framework. dalvikvm has to be able to dlopen the |
| # files for CTS. |
| namespace.default.permitted.paths = /system/framework |
| namespace.default.links = platform |
| # TODO(b/119867084): Restrict fallback to platform namespace to PALette library. |
| namespace.default.link.platform.allow_all_shared_libs = true |
| |
| # Keep in sync with default namespace in /system/etc/ld.config.txt. |
| namespace.platform.isolated = true |
| namespace.platform.search.paths = /system/${LIB} |
| namespace.platform.links = default |
| namespace.platform.link.default.shared_libs = libart.so:libartd.so |
| namespace.platform.link.default.shared_libs += libnativebridge.so |
| namespace.platform.link.default.shared_libs += libnativehelper.so |
| namespace.platform.link.default.shared_libs += libnativeloader.so |
| |
| # Note that we don't need to link the default namespace with conscrypt: |
| # the runtime Java code and binaries do not explicitly load native libraries |
| # from it. |
| |
| ############################################################################### |
| # "conscrypt" APEX namespace |
| # |
| # This namespace is for libraries within the conscrypt APEX. |
| ############################################################################### |
| |
| # Keep in sync with conscrypt namespace in /system/etc/ld.config.txt. |
| namespace.conscrypt.isolated = true |
| namespace.conscrypt.visible = true |
| |
| namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB} |
| namespace.conscrypt.links = platform |
| namespace.conscrypt.link.platform.shared_libs = libc.so |
| namespace.conscrypt.link.platform.shared_libs += libm.so |
| namespace.conscrypt.link.platform.shared_libs += libdl.so |