diff options
author | Inseob Kim <inseob@google.com> | 2018-02-28 09:19:20 +0900 |
---|---|---|
committer | Inseob Kim <inseob@google.com> | 2018-02-28 09:27:47 +0900 |
commit | a2724412e11396864fbccccc469041af3972332e (patch) | |
tree | 33bbd218a4d10bdb9ea5640592e999b9b7dcb865 | |
parent | 491db5a59e6bdf46ef10e104b46b4efdde6716e6 (diff) | |
download | pdk-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
-rw-r--r-- | apps/HelloPDK/jni/Android.mk | 2 |
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 |