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