Add Android build system files for external/cbor-java am: 0ec5da1700 am: e7d549845d
Change-Id: Ie9ec99842a22360a522f46dc56bd6bd8ff8d7cd5
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..0eed43a
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,25 @@
+//
+// Copyright (C) 2019 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+java_library {
+ name: "cbor-java",
+
+ srcs: [
+ "src/main/**/*.java",
+ ],
+
+ sdk_version: "core_current",
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..bd755f9
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,18 @@
+name: "cbor-java"
+description:
+ "A Java 7 implementation of RFC 7049: Concise Binary Object Representation "
+ "(CBOR)"
+
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://github.com/c-rack/cbor-java"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/c-rack/cbor-java.git"
+ }
+ version: "v0.8"
+ last_upgrade_date { year: 2020 month: 1 day: 6 }
+ license_type: NOTICE
+}
diff --git a/NOTICE b/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+LICENSE
\ No newline at end of file