libjson: Convert makefile to blueprint

To make it available as a dependency to blueprint targets

Change-Id: Ic11457bb90be9f80c0deff7887b64d69579ce690
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..e0f5b6c
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,25 @@
+cc_library_shared {
+
+    name: "libjson",
+    vendor: true,
+
+    shared_libs: ["libcutils", "libutils"],
+    cflags: [
+        "-Werror",
+        "-Wno-unused-parameter",
+    ],
+    export_include_dirs: ["."],
+    srcs: [
+        "arraylist.c",
+        "debug.c",
+        "json_c_version.c",
+        "json_object.c",
+        "json_object_iterator.c",
+        "json_tokener.c",
+        "json_util.c",
+        "libjson.c",
+        "linkhash.c",
+        "printbuf.c",
+        "random_seed.c",
+    ],
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 74128df..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-LIBJSON_ROOT := $(call my-dir)
-include $(CLEAR_VARS)
-LOCAL_MODULE := libjson
-LOCAL_PATH := $(LIBJSON_ROOT)
-LOCAL_CFLAGS := -Werror -Wno-unused-parameter
-LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
-LOCAL_SRC_FILES := arraylist.c \
-		debug.c \
-		json_c_version.c \
-		json_object.c \
-		json_object_iterator.c \
-		json_tokener.c \
-		json_util.c \
-		libjson.c \
-		linkhash.c \
-		printbuf.c \
-		random_seed.c
-LOCAL_SHARED_LIBRARIES := libcutils libutils
-LOCAL_MODULE_TAG := optional
-LOCAL_VENDOR_MODULE := true
-include $(BUILD_SHARED_LIBRARY)