aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2018-01-18 20:52:23 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-01-18 20:52:23 +0000
commit8bfe1c1ec273054364cff0997d2f04db92b7a92e (patch)
treee26b3d34f7af5f281125a1ca7dfae3a3341a81de
parente198fd16098822eb8494ee81df4988ecc31c5d63 (diff)
parent971af5a0a60dba5b251013475da2ad249e3715e1 (diff)
downloadcn-cbor-8bfe1c1ec273054364cff0997d2f04db92b7a92e.tar.gz
Added blueprint, module license, and METADATA file am: dd6fcf75d7
am: 971af5a0a6 Change-Id: Iad8e4aee7ba301983023adef6d00c2a90e130554
-rw-r--r--Android.bp32
-rw-r--r--METADATA17
-rw-r--r--MODULE_LICENSE_MIT0
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