1LIBJSON_ROOT := $(call my-dir) 2include $(CLEAR_VARS) 3LOCAL_MODULE := libjson 4LOCAL_PROPRIETARY_MODULE := true 5LOCAL_PATH := $(LIBJSON_ROOT) 6ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) 7LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 8LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 9endif 10LOCAL_COPY_HEADERS_TO := libjson/inc 11LOCAL_COPY_HEADERS := bits.h \ 12 config.h \ 13 debug.h \ 14 linkhash.h \ 15 arraylist.h \ 16 json.h \ 17 json_config.h \ 18 json_inttypes.h \ 19 json_util.h \ 20 json_object.h \ 21 json_tokener.h \ 22 json_object_iterator.h \ 23 json_c_version.h 24LOCAL_SRC_FILES := arraylist.c \ 25 debug.c \ 26 json_c_version.c \ 27 json_object.c \ 28 json_object_iterator.c \ 29 json_tokener.c \ 30 json_util.c \ 31 libjson.c \ 32 linkhash.c \ 33 printbuf.c \ 34 random_seed.c 35LOCAL_CFLAGS += -Wno-unused-parameter -Werror 36LOCAL_SHARED_LIBRARIES := libcutils libutils 37LOCAL_MODULE_TAG := optional 38include $(BUILD_SHARED_LIBRARY) 39