aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2018-02-28 09:19:20 +0900
committerInseob Kim <inseob@google.com>2018-02-28 09:27:47 +0900
commita2724412e11396864fbccccc469041af3972332e (patch)
tree33bbd218a4d10bdb9ea5640592e999b9b7dcb865 /apps
parent491db5a59e6bdf46ef10e104b46b4efdde6716e6 (diff)
downloadpdk-a2724412e11396864fbccccc469041af3972332e.tar.gz
Set LOCAL_SDK_VERSION on pdk/apps/HelloPDK/jni
libhellojni_jni, referred by app HelloPDK, is a simple stub library and does not use any platform API. HelloPDK has been built with SDK, so this causes link-type check warnings. LOCAL_SDK_VERSION is added to libhellojni_jni in order to remove warning. Bug: 73907534 Test: mma -j does not show any link-type warnings Change-Id: I188dfe9a46aedf905d2b804040bf2ad75f212b38
Diffstat (limited to 'apps')
-rw-r--r--apps/HelloPDK/jni/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/HelloPDK/jni/Android.mk b/apps/HelloPDK/jni/Android.mk
index 6abeb83..eb0f219 100644
--- a/apps/HelloPDK/jni/Android.mk
+++ b/apps/HelloPDK/jni/Android.mk
@@ -31,6 +31,8 @@ LOCAL_CFLAGS := -Wall -Werror
LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
+LOCAL_SDK_VERSION := current
+
include $(BUILD_SHARED_LIBRARY)
endif # java supproted