diff options
-rw-r--r-- | Android.bp | 32 | ||||
-rw-r--r-- | METADATA | 17 | ||||
-rw-r--r-- | MODULE_LICENSE_MIT | 0 |
3 files changed, 49 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..08a727b --- /dev/null +++ b/Android.bp @@ -0,0 +1,32 @@ + +cc_library { + name: "libcn-cbor", + vendor_available: true, + vndk: { + enabled: true, + }, + srcs: [ + "src/cn-cbor.c", + "src/cn-create.c", + "src/cn-encoder.c", + "src/cn-error.c", + "src/cn-get.c", + ], + local_include_dirs: [ + "include", + ], + export_include_dirs: [ + "include", + ], + unique_host_soname: true, + host_supported: true, +} + +cc_test { + name: "cn-cbor_test", + host_supported: true, + srcs: [ + "test/cbor_test.c", + ], + shared_libs: [ "libcn-cbor", ], +} diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..14483ca --- /dev/null +++ b/METADATA @@ -0,0 +1,17 @@ +name: "cn-cbor" +description: + "cn-cbor: A constrained node implementation of CBOR in C" + +third_party { + url { + type: HOMEPAGE + value: "https://github.com/cabo/cn-cbor" + } + url { + type: GIT + value: "https://github.com/cabo/cn-cbor.git" + } + version: "2f9c3b1931eb012909e74f3b628e6a31fd446ad1" + last_upgrade_date { year: 2017 month: 11 day: 8 } + license_type: NOTICE +} diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_MIT |