Link the "runtime" namespace to more namespaces.
The canonical location of the HWASAN runtime, an LL-NDK library, is being moved to the runtime APEX. It is apparently the first LL-NDK library in the runtime APEX that does not require a legacy symlink in /system/${LIB}. Therefore we need to link the HWASAN runtime in the runtime namespace to various namespaces so that the library can be loaded from outside of the namespace. Also, add $SANITIZER_RUNTIME_LIBRARIES to namespace.default.link.system.shared_libs. This is necessary because in the accompanying Soong change, we cause the HWASAN runtime to be removed from $LLNDK_LIBRARIES. In most cases, except for this one, this was a no-op because we were already including both sets of libraries in shared_libs. Bug: http://b/134503977 Test: Builds Change-Id: I67d64788855d28f3a156a1b9cf8a897617277730 Merged-In: I67d64788855d28f3a156a1b9cf8a897617277730 (cherry picked from commit fb1c5a72)
Loading
Please register or sign in to comment