From 272b36d1b5cbab951239b32ed679a9dbc4ffdf1a Mon Sep 17 00:00:00 2001 From: Kiyoung Kim Date: Wed, 19 Feb 2020 16:08:47 +0900 Subject: Rename APEX Namespace Current APEX Namespace is named with APEX name itself, which also uses .(dot) so linker configuration can keep the syntax safe. For example, if there are APEX modules named 'A' and 'A.link.A', then 'namespace.A.link.A.link.A = a.so' phrase can be ambiguous from the linker. To allow any additional linker syntax in the future, we should avoid dot separator from the namespace name. Bug: 148826508 Test: m -j passed Test: boot succeeded from cuttlefish and walleye Change-Id: I11b6da1b59b4ebf3016f1d783636c7e5d0f8309a --- libnativeloader/library_namespaces.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libnativeloader/library_namespaces.cpp') diff --git a/libnativeloader/library_namespaces.cpp b/libnativeloader/library_namespaces.cpp index 9c658d78e5..3d74e2d3e5 100644 --- a/libnativeloader/library_namespaces.cpp +++ b/libnativeloader/library_namespaces.cpp @@ -42,10 +42,10 @@ namespace { // vendor and system namespaces. constexpr const char* kVendorNamespaceName = "sphal"; constexpr const char* kVndkNamespaceName = "vndk"; -constexpr const char* kArtNamespaceName = "com.android.art"; -constexpr const char* kNeuralNetworksNamespaceName = "com.android.neuralnetworks"; -constexpr const char* kCronetNamespaceName = "com.android.cronet"; -constexpr const char* kStatsdNamespaceName = "com.android.os.statsd"; +constexpr const char* kArtNamespaceName = "com_android_art"; +constexpr const char* kNeuralNetworksNamespaceName = "com_android_neuralnetworks"; +constexpr const char* kCronetNamespaceName = "com_android_cronet"; +constexpr const char* kStatsdNamespaceName = "com_android_os_statsd"; // classloader-namespace is a linker namespace that is created for the loaded // app. To be specific, it is created for the app classloader. When -- cgit v1.2.3-59-g8ed1b