Home | History | Annotate | Download | only in json-c
      1 LIBJSON_ROOT := $(call my-dir)
      2 include $(CLEAR_VARS)
      3 LOCAL_MODULE := libjson
      4 LOCAL_PROPRIETARY_MODULE := true
      5 LOCAL_PATH := $(LIBJSON_ROOT)
      6 ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true)
      7 LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
      8 LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
      9 endif
     10 LOCAL_COPY_HEADERS_TO := libjson/inc
     11 LOCAL_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
     24 LOCAL_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
     35 LOCAL_CFLAGS += -Wno-unused-parameter -Werror
     36 LOCAL_SHARED_LIBRARIES := libcutils libutils
     37 LOCAL_MODULE_TAG := optional
     38 include $(BUILD_SHARED_LIBRARY)
     39