From 59bdffa76ab106d4fdca29b93ea1d852780e31e0 Mon Sep 17 00:00:00 2001 From: "randy.jeong" Date: Tue, 10 Nov 2015 16:42:49 +0900 Subject: [PATCH] Add suffix .so to use directly libart.so It should be the complete name with suffix .so to use libart. At present, unnecessarily falls back like below. "Falling back from libart to libart.so after dlopen error: dlopen failed: library "libart" not found" Change-Id: Ie5da35a71d6661434d2097c842407e6a254f8f58 Signed-off-by: randy.jeong --- core/main.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main.mk b/core/main.mk index 7896d381e..27b559fa8 100644 --- a/core/main.mk +++ b/core/main.mk @@ -333,7 +333,7 @@ endif # Add build properties for ART. These define system properties used by installd # to pass flags to dex2oat. -ADDITIONAL_BUILD_PROPERTIES += persist.sys.dalvik.vm.lib.2=libart +ADDITIONAL_BUILD_PROPERTIES += persist.sys.dalvik.vm.lib.2=libart.so ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.isa.$(TARGET_ARCH).variant=$(DEX2OAT_TARGET_CPU_VARIANT) ifneq ($(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES),) ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.isa.$(TARGET_ARCH).features=$(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES)