mirror of
https://github.com/ponces/treble_aosp.git
synced 2025-04-20 23:20:25 +00:00
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 08af73a483205a45c2a0e0146601e6fd1394d5b9 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 8f7891558..a27b983ec 100644
|
|
--- a/linker/linker.cpp
|
|
+++ b/linker/linker.cpp
|
|
@@ -98,7 +98,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";
|
|
|
|
@@ -3558,10 +3557,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.43.0
|
|
|