1LIBJSON_ROOT := $(call my-dir) 2include $(CLEAR_VARS) 3LOCAL_MODULE := libjson 4LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT legacy_unencumbered 5LOCAL_LICENSE_CONDITIONS := notice unencumbered 6LOCAL_PATH := $(LIBJSON_ROOT) 7LOCAL_NOTICE_FILE := $(LOCAL_PATH)/COPYING 8LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 9LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 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_SHARED_LIBRARIES := libcutils libutils 36LOCAL_MODULE_TAG := optional 37LOCAL_VENDOR_MODULE := true 38include $(BUILD_SHARED_LIBRARY) 39