summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorWouter van Oortmerssen <wvo@google.com>2016-03-30 17:34:52 -0700
committerWouter van Oortmerssen <wvo@google.com>2016-04-04 13:03:22 -0700
commite98b1912b356f1e8a19245979eeb979628c62c87 (patch)
tree4a68e66b673ca3ab303ddb03af88d873f58c0a7c /android
parentc8c00824138ae1819250d4dd77859f5d0b811ece (diff)
downloadflatbuffers-e98b1912b356f1e8a19245979eeb979628c62c87.tar.gz
flatbuffers-e98b1912b356f1e8a19245979eeb979628c62c87.tar.bz2
flatbuffers-e98b1912b356f1e8a19245979eeb979628c62c87.zip
add setloadfile and setfileexists functions to flatbuffers
to allow for custom file loaders. The targeted use case is android runtime. (from CL 116980408) Change-Id: I8785c0acf714fab41d8f6fc9f1c52875423b8f5b
Diffstat (limited to 'android')
-rwxr-xr-xandroid/jni/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/jni/Android.mk b/android/jni/Android.mk
index 905fbe91..f5f83f17 100755
--- a/android/jni/Android.mk
+++ b/android/jni/Android.mk
@@ -33,7 +33,8 @@ include $(CLEAR_VARS)
LOCAL_MODULE := flatbuffers_extra
LOCAL_SRC_FILES := src/idl_parser.cpp \
src/idl_gen_text.cpp \
- src/reflection.cpp
+ src/reflection.cpp \
+ src/util.cpp
LOCAL_STATIC_LIBRARIES := flatbuffers
include $(BUILD_STATIC_LIBRARY)