blob: 9e709d8c600f1da83ebeca1e3b188531a2e8e3dc [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
13# Keep in sync with runtime namespace in /system/etc/ld.config.txt.
14namespace.default.isolated = true
15namespace.default.search.paths = /apex/com.android.runtime/${LIB}
16# odex files are in /system/framework. dalvikvm has to be able to dlopen the
17# files for CTS.
18namespace.default.permitted.paths = /system/framework
19namespace.default.links = platform
20# TODO(b/119867084): Restrict fallback to platform namespace to PALette library.
21namespace.default.link.platform.allow_all_shared_libs = true
22
23# Keep in sync with default namespace in /system/etc/ld.config.txt.
24namespace.platform.isolated = true
25namespace.platform.search.paths = /system/${LIB}
26namespace.platform.links = default
Jiyong Park72209a82019-01-09 08:30:31 +090027namespace.platform.link.default.shared_libs = libart.so:libartd.so
Martin Stjernholm8ab9c572018-12-21 22:32:48 +000028namespace.platform.link.default.shared_libs += libnativebridge.so
29namespace.platform.link.default.shared_libs += libnativehelper.so
30namespace.platform.link.default.shared_libs += libnativeloader.so
Nicolas Geoffray37498de2019-01-22 08:46:34 +000031
32###############################################################################
33# "conscrypt" APEX namespace
34#
35# This namespace is for libraries within the conscrypt APEX.
36###############################################################################
37namespace.conscrypt.isolated = true
38namespace.conscrypt.visible = true
39
40namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
41namespace.conscrypt.links = platform
42namespace.conscrypt.link.platform.shared_libs = libc.so
43namespace.conscrypt.link.platform.shared_libs += libm.so
44namespace.conscrypt.link.platform.shared_libs += libdl.so