Martin Stjernholm | 799ad14 | 2018-12-19 20:37:27 +0000 | [diff] [blame] | 1 | # 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 | |
| 8 | dir.runtime = /apex/com.android.runtime/bin/ |
| 9 | |
| 10 | [runtime] |
Nicolas Geoffray | 37498de | 2019-01-22 08:46:34 +0000 | [diff] [blame] | 11 | additional.namespaces = platform,conscrypt |
Martin Stjernholm | 799ad14 | 2018-12-19 20:37:27 +0000 | [diff] [blame] | 12 | |
| 13 | # Keep in sync with runtime namespace in /system/etc/ld.config.txt. |
| 14 | namespace.default.isolated = true |
| 15 | namespace.default.search.paths = /apex/com.android.runtime/${LIB} |
Jiyong Park | f8d8eb9 | 2019-01-24 15:06:21 +0900 | [diff] [blame^] | 16 | namespace.default.asan.search.paths = /apex/com.android.runtime/${LIB} |
Martin Stjernholm | 799ad14 | 2018-12-19 20:37:27 +0000 | [diff] [blame] | 17 | # odex files are in /system/framework. dalvikvm has to be able to dlopen the |
| 18 | # files for CTS. |
| 19 | namespace.default.permitted.paths = /system/framework |
| 20 | namespace.default.links = platform |
| 21 | # TODO(b/119867084): Restrict fallback to platform namespace to PALette library. |
| 22 | namespace.default.link.platform.allow_all_shared_libs = true |
| 23 | |
| 24 | # Keep in sync with default namespace in /system/etc/ld.config.txt. |
| 25 | namespace.platform.isolated = true |
| 26 | namespace.platform.search.paths = /system/${LIB} |
Jiyong Park | f8d8eb9 | 2019-01-24 15:06:21 +0900 | [diff] [blame^] | 27 | namespace.platform.asan.search.paths = /data/asan/system/${LIB} |
Martin Stjernholm | 799ad14 | 2018-12-19 20:37:27 +0000 | [diff] [blame] | 28 | namespace.platform.links = default |
Jiyong Park | 72209a8 | 2019-01-09 08:30:31 +0900 | [diff] [blame] | 29 | namespace.platform.link.default.shared_libs = libart.so:libartd.so |
Martin Stjernholm | 8ab9c57 | 2018-12-21 22:32:48 +0000 | [diff] [blame] | 30 | namespace.platform.link.default.shared_libs += libnativebridge.so |
| 31 | namespace.platform.link.default.shared_libs += libnativehelper.so |
| 32 | namespace.platform.link.default.shared_libs += libnativeloader.so |
Nicolas Geoffray | 37498de | 2019-01-22 08:46:34 +0000 | [diff] [blame] | 33 | |
Nicolas Geoffray | 0299fad | 2019-01-22 14:50:29 +0000 | [diff] [blame] | 34 | # 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 Geoffray | 37498de | 2019-01-22 08:46:34 +0000 | [diff] [blame] | 38 | ############################################################################### |
| 39 | # "conscrypt" APEX namespace |
| 40 | # |
| 41 | # This namespace is for libraries within the conscrypt APEX. |
| 42 | ############################################################################### |
Nicolas Geoffray | 0299fad | 2019-01-22 14:50:29 +0000 | [diff] [blame] | 43 | |
| 44 | # Keep in sync with conscrypt namespace in /system/etc/ld.config.txt. |
Nicolas Geoffray | 37498de | 2019-01-22 08:46:34 +0000 | [diff] [blame] | 45 | namespace.conscrypt.isolated = true |
| 46 | namespace.conscrypt.visible = true |
| 47 | |
| 48 | namespace.conscrypt.search.paths = /apex/com.android.conscrypt/${LIB} |
Jiyong Park | f8d8eb9 | 2019-01-24 15:06:21 +0900 | [diff] [blame^] | 49 | namespace.conscrypt.asan.search.paths = /apex/com.android.conscrypt/${LIB} |
Nicolas Geoffray | 37498de | 2019-01-22 08:46:34 +0000 | [diff] [blame] | 50 | namespace.conscrypt.links = platform |
| 51 | namespace.conscrypt.link.platform.shared_libs = libc.so |
| 52 | namespace.conscrypt.link.platform.shared_libs += libm.so |
| 53 | namespace.conscrypt.link.platform.shared_libs += libdl.so |