1 BASE_PATH := $(call my-dir) 2 LOCAL_PATH:= $(call my-dir) 3 4 include $(CLEAR_VARS) 5 6 LOCAL_SRC_FILES:= \ 7 src/lib_json/json_reader.cpp \ 8 src/lib_json/json_value.cpp \ 9 src/lib_json/json_writer.cpp 10 11 LOCAL_C_INCLUDES:= \ 12 $(LOCAL_PATH)/include \ 13 $(LOCAL_PATH)/src/lib_json 14 15 LOCAL_EXPORT_C_INCLUDE_DIRS := \ 16 $(LOCAL_PATH)/include 17 18 LOCAL_CFLAGS := \ 19 -DJSON_USE_EXCEPTION=0 20 21 LOCAL_MODULE_TAGS := \ 22 tests 23 24 LOCAL_MODULE := \ 25 libjsoncpp 26 27 include $(BUILD_STATIC_LIBRARY) 28