aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Kotur <qtr@google.com>2021-03-16 18:40:08 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-16 18:40:08 +0000
commit950ac6f77c46ba21fef2137be5dfe4cb60fb6b26 (patch)
treecb4ccfefc00daa372a2c129dd2dd3453d525c80b
parenta9dcd861f7ae129bd7e5f0551cb97a4798072ac2 (diff)
parentc8304d7d378e473a338dbc71bd5ba86ccf95377d (diff)
downloadplotters-svg-950ac6f77c46ba21fef2137be5dfe4cb60fb6b26.tar.gz
Add metadata files for plotters-svg. am: c8304d7d37
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/plotters-svg/+/1622512 Change-Id: Ief0864cc364a76c5021f2c7aa1278da7a0197528
-rw-r--r--Android.bp16
-rw-r--r--LICENSE21
-rw-r--r--METADATA19
-rw-r--r--MODULE_LICENSE_MIT0
-rw-r--r--OWNERS1
5 files changed, 57 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..3b7269c
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,16 @@
+// This file is generated by cargo2android.py --run --device --dependencies.
+// Do not modify this file as changes will be overridden on upgrade.
+
+rust_library {
+ name: "libplotters_svg",
+ host_supported: true,
+ crate_name: "plotters_svg",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ rustlibs: [
+ "libplotters_backend",
+ ],
+}
+
+// dependent_library ["feature_list"]
+// plotters-backend-0.2.1
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..905e4b2
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 Hao Hou <haohou302@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..674381f
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,19 @@
+name: "plotters-svg"
+description: "Plotters SVG backend"
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://crates.io/crates/plotters-svg"
+ }
+ url {
+ type: ARCHIVE
+ value: "https://static.crates.io/crates/plotters-svg/plotters-svg-0.2.0.crate"
+ }
+ version: "0.2.0"
+ license_type: NOTICE
+ last_upgrade_date {
+ year: 2020
+ month: 12
+ day: 21
+ }
+}
diff --git a/MODULE_LICENSE_MIT b/MODULE_LICENSE_MIT
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_MIT
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..46fc303
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1 @@
+include platform/prebuilts/rust:/OWNERS