summaryrefslogtreecommitdiffstats
path: root/dalvikvm
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2014-05-13 17:51:47 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2014-05-15 01:24:34 +0800
commit2bb44365e732c935f2de3ed574f2abc3ae27cdeb (patch)
treef02486cad847b4d4b071535583a5ec251bf56bdf /dalvikvm
parent6f2b602999a9b5253de98e4c8749f821b0046ac2 (diff)
downloadandroid_art-2bb44365e732c935f2de3ed574f2abc3ae27cdeb.tar.gz
android_art-2bb44365e732c935f2de3ed574f2abc3ae27cdeb.tar.bz2
android_art-2bb44365e732c935f2de3ed574f2abc3ae27cdeb.zip
dalvikvm: create the dalvikvm symlink to the primary version
use executable_prefer_symlink.mk to create the dalvikvm symlink to the primary version of dalvikvm command. So that the modules call dalvikvm command don't need to change again. Change-Id: Ie5cefc26dc90fb56c35b6b9e4537eda126f61ea1 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'dalvikvm')
-rw-r--r--dalvikvm/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/dalvikvm/Android.mk b/dalvikvm/Android.mk
index e99c76f612..fd0826387a 100644
--- a/dalvikvm/Android.mk
+++ b/dalvikvm/Android.mk
@@ -27,10 +27,14 @@ LOCAL_CFLAGS := $(dalvikvm_cflags)
LOCAL_SHARED_LIBRARIES := libdl libnativehelper
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MULTILIB := both
-LOCAL_MODULE_STEM_32 := dalvikvm
+LOCAL_MODULE_STEM_32 := dalvikvm32
LOCAL_MODULE_STEM_64 := dalvikvm64
include art/build/Android.libcxx.mk
include $(BUILD_EXECUTABLE)
+
+# create symlink for the primary version target.
+include $(BUILD_SYSTEM)/executable_prefer_symlink.mk
+
ART_TARGET_EXECUTABLES += $(TARGET_OUT_EXECUTABLES)/$(LOCAL_MODULE)
ifeq ($(WITH_HOST_DALVIK),true)