diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-02-08 14:57:31 -0800 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-02-08 15:13:57 -0800 |
commit | f878024d0babffb6d921e283072e36878ab0eda9 (patch) | |
tree | d0a1dfbbe8601c0ecc7f3a9aec52cb62c7e760af /android | |
parent | aac6be1153eb5343f03dd60101ee438636e9300b (diff) | |
download | flatbuffers-f878024d0babffb6d921e283072e36878ab0eda9.tar.gz flatbuffers-f878024d0babffb6d921e283072e36878ab0eda9.tar.bz2 flatbuffers-f878024d0babffb6d921e283072e36878ab0eda9.zip |
Fixed the Android build.
Change-Id: Iabb9448b4f161bba465d455c28bb826529649d30
Tested: on Android.
Diffstat (limited to 'android')
-rwxr-xr-x | android/jni/Android.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/android/jni/Android.mk b/android/jni/Android.mk index f5f83f17..0269dd3f 100755 --- a/android/jni/Android.mk +++ b/android/jni/Android.mk @@ -24,7 +24,9 @@ LOCAL_PATH := $(call realpath-portable,$(LOCAL_PATH)) include $(CLEAR_VARS) LOCAL_MODULE := flatbuffers LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include -LOCAL_EXPORT_CPPFLAGS := -std=c++11 -fexceptions -Wall -Wno-literal-suffix +LOCAL_EXPORT_CPPFLAGS := -std=c++11 -fexceptions -Wall \ + -DFLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE + include $(BUILD_STATIC_LIBRARY) # static library that additionally includes text parsing/generation/reflection @@ -34,7 +36,8 @@ LOCAL_MODULE := flatbuffers_extra LOCAL_SRC_FILES := src/idl_parser.cpp \ src/idl_gen_text.cpp \ src/reflection.cpp \ - src/util.cpp + src/util.cpp \ + src/code_generators.cpp LOCAL_STATIC_LIBRARIES := flatbuffers include $(BUILD_STATIC_LIBRARY) |