blob: fa5f8cba19ea7ed81054d167eb661ba99027e242 [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}
Jiyong Parkf8d8eb92019-01-24 15:06:21 +090016namespace.default.asan.search.paths = /apex/com.android.runtime/${LIB}
Martin Stjernholm799ad142018-12-19 20:37:27 +000017# odex files are in /system/framework. dalvikvm has to be able to dlopen the
18# files for CTS.
19namespace.default.permitted.paths = /system/framework
20namespace.default.links = platform
21# TODO(b/119867084): Restrict fallback to platform namespace to PALette library.
22namespace.default.link.platform.allow_all_shared_libs = true
23
24# Keep in sync with default namespace in /system/etc/ld.config.txt.
25namespace.platform.isolated = true
26namespace.platform.search.paths = /system/${LIB}
Jiyong Parkf8d8eb92019-01-24 15:06:21 +090027namespace.platform.asan.search.paths = /data/asan/system/${LIB}
Martin Stjernholm799ad142018-12-19 20:37:27 +000028namespace.platform.links = default
Jiyong Park72209a82019-01-09 08:30:31 +090029namespace.platform.link.default.shared_libs = libart.so:libartd.so
Martin Stjernholm8ab9c572018-12-21 22:32:48 +000030namespace.platform.link.default.shared_libs += libnativebridge.so
31namespace.platform.link.default.shared_libs += libnativehelper.so
32namespace.platform.link.default.shared_libs += libnativeloader.so
Nicolas Geoffray37498de2019-01-22 08:46:34 +000033
Nicolas Geoffray0299fad2019-01-22 14:50:29 +000034# Note that we don't need to link the default namespace with conscrypt:
35# the runtime Java code and binaries do not explicitly load native libraries
36# from it.
37
Nicolas Geoffray37498de2019-01-22 08:46:34 +000038###############################################################################
39# "conscrypt" APEX namespace
40#
41# This namespace is for libraries within the conscrypt APEX.
42###############################################################################
Nicolas Geoffray0299fad2019-01-22 14:50:29 +000043
44# Keep in sync with conscrypt namespace in /system/etc/ld.config.txt.
Nicolas Geoffray37498de2019-01-22 08:46:34 +000045namespace.conscrypt.isolated = true
46namespace.conscrypt.visible = true
47
48namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB}
Jiyong Parkf8d8eb92019-01-24 15:06:21 +090049namespace.conscrypt.asan.search.paths = /apex/com.android.conscrypt/${LIB}
Nicolas Geoffray37498de2019-01-22 08:46:34 +000050namespace.conscrypt.links = platform
51namespace.conscrypt.link.platform.shared_libs = libc.so
52namespace.conscrypt.link.platform.shared_libs += libm.so
53namespace.conscrypt.link.platform.shared_libs += libdl.so