diff options
author | Sundong Ahn <sundongahn@google.com> | 2018-01-16 16:39:10 +0900 |
---|---|---|
committer | Sundong Ahn <sundongahn@google.com> | 2018-01-16 18:52:05 +0900 |
commit | 0edfc3b4d60ea19450a490ed10c50ad05d5ab417 (patch) | |
tree | 79bc7392d6e4dab82d8a3ff0621f48c68951a775 | |
parent | 3f4d12cc9c10d951ee14b17307da1180226afc9b (diff) | |
download | flatbuffers-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.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |