mirror of
https://github.com/ponces/treble_aosp.git
synced 2024-11-25 05:36:24 +00:00
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From c0724aca39c9e50864d73d405c8bec8de757efbb Mon Sep 17 00:00:00 2001
|
|
From: Pierre-Hugues Husson <phh@phh.me>
|
|
Date: Wed, 27 Oct 2021 14:39:29 -0400
|
|
Subject: [PATCH 1/2] Disable vndklite handling
|
|
|
|
Change-Id: Ic4474cf80fc4b45a9a2760dd51e2ca29c4d961e2
|
|
---
|
|
linker/linker.cpp | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/linker/linker.cpp b/linker/linker.cpp
|
|
index b0caeddc1..3e0e7fecf 100644
|
|
--- a/linker/linker.cpp
|
|
+++ b/linker/linker.cpp
|
|
@@ -97,7 +97,6 @@ static uint64_t g_module_unload_counter = 0;
|
|
static const char* const kLdConfigArchFilePath = "/system/etc/ld.config." ABI_STRING ".txt";
|
|
|
|
static const char* const kLdConfigFilePath = "/system/etc/ld.config.txt";
|
|
-static const char* const kLdConfigVndkLiteFilePath = "/system/etc/ld.config.vndk_lite.txt";
|
|
|
|
static const char* const kLdGeneratedConfigFilePath = "/linkerconfig/ld.config.txt";
|
|
|
|
@@ -3463,10 +3462,6 @@ static std::string get_ld_config_file_apex_path(const char* executable_path) {
|
|
}
|
|
|
|
static std::string get_ld_config_file_vndk_path() {
|
|
- if (android::base::GetBoolProperty("ro.vndk.lite", false)) {
|
|
- return kLdConfigVndkLiteFilePath;
|
|
- }
|
|
-
|
|
std::string ld_config_file_vndk = kLdConfigFilePath;
|
|
size_t insert_pos = ld_config_file_vndk.find_last_of('.');
|
|
if (insert_pos == std::string::npos) {
|
|
--
|
|
2.34.1
|
|
|