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