1 LIBJSON_ROOT := $(call my-dir) 2 include $(CLEAR_VARS) 3 LOCAL_MODULE := libjson 4 LOCAL_PATH := $(LIBJSON_ROOT) 5 LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 6 LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 7 LOCAL_COPY_HEADERS_TO := libjson/inc 8 LOCAL_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 21 LOCAL_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 32 LOCAL_SHARED_LIBRARIES := libcutils libutils 33 LOCAL_MODULE_TAG := optional 34 LOCAL_VENDOR_MODULE := true 35 include $(BUILD_SHARED_LIBRARY) 36