Makefile文件  |  31行  |  609 B

BASE_PATH := $(call my-dir)
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	src/lib_json/json_reader.cpp \
	chromium-overrides/src/lib_json/json_value.cpp \
	src/lib_json/json_writer.cpp

LOCAL_C_INCLUDES:= \
	$(LOCAL_PATH)/chromium-overrides/include \
	$(LOCAL_PATH)/include \
	$(LOCAL_PATH)/src/lib_json

LOCAL_EXPORT_C_INCLUDE_DIRS := \
	$(LOCAL_PATH)/chromium-overrides/include \
	$(LOCAL_PATH)/include

LOCAL_CFLAGS := \
	-DJSON_USE_EXCEPTION=0

LOCAL_MODULE_TAGS := \
	tests

LOCAL_MODULE := \
	libjsoncpp

include external/stlport/libstlport.mk
include $(BUILD_STATIC_LIBRARY)