blob: 012977267fdef4acc5f5bda9237189a4722c2228 [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
Nicolas Geoffray0299fad2019-01-22 14:50:29 +000032# Note that we don't need to link the default namespace with conscrypt:
33# the runtime Java code and binaries do not explicitly load native libraries
34# from it.
35
Nicolas Geoffray37498de2019-01-22 08:46:34 +000036###############################################################################
37# "conscrypt" APEX namespace
38#
39# This namespace is for libraries within the conscrypt APEX.
40###############################################################################
Nicolas Geoffray0299fad2019-01-22 14:50:29 +000041
42# Keep in sync with conscrypt namespace in /system/etc/ld.config.txt.
Nicolas Geoffray37498de2019-01-22 08:46:34 +000043namespace.conscrypt.isolated = true
44namespace.conscrypt.visible = true
45
46namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
47namespace.conscrypt.links = platform
48namespace.conscrypt.link.platform.shared_libs = libc.so
49namespace.conscrypt.link.platform.shared_libs += libm.so
50namespace.conscrypt.link.platform.shared_libs += libdl.so