aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSundong Ahn <sundongahn@google.com>2018-01-16 16:39:10 +0900
committerSundong Ahn <sundongahn@google.com>2018-01-16 18:52:05 +0900
commit0edfc3b4d60ea19450a490ed10c50ad05d5ab417 (patch)
tree79bc7392d6e4dab82d8a3ff0621f48c68951a775
parent3f4d12cc9c10d951ee14b17307da1180226afc9b (diff)
downloadflatbuffers-0edfc3b4d60ea19450a490ed10c50ad05d5ab417.tar.gz
Add LOCAL_SDK_VERSION in flatbuffers-java
The flatbuffers-java is using only public API. However it is defined java:platform which can use internal API, since it is not defined LOCAL_SDK_VERSION. So, LOCAL_SDK_VERSION := current is added in flatbuffers-java, because it can be turn into errors when link type check becomes more strict. Bug: 69899800 Test: mma -j under flatbuffers-java dir Change-Id: I6a015beb0edec2f42d898bfba30dcea99e39417d
-rw-r--r--Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index a8c945fc..47cababe 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,7 +17,8 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := flatbuffers-java
LOCAL_SRC_FILES := $(call all-java-files-under, java)
+LOCAL_SDK_VERSION := current
LOCAL_JAR_EXCLUDE_FILES := none
LOCAL_JAVA_LANGUAGE_VERSION := 1.7
-include $(BUILD_STATIC_JAVA_LIBRARY) \ No newline at end of file
+include $(BUILD_STATIC_JAVA_LIBRARY)