diff options
author | Jakub Kotur <qtr@google.com> | 2021-03-16 20:53:22 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-03-16 20:53:22 +0000 |
commit | f1ce4c2d96ba30a91ea2294952967bf03e427790 (patch) | |
tree | 7fc737549a7bb9af66d858ff1a9a2130e7795f36 | |
parent | 59b25e0dc5d4ca639c8d46b53a90417f37976169 (diff) | |
parent | 51204ab19cc3ac4194bcf20a38031c820a6f27fe (diff) | |
download | plotters-f1ce4c2d96ba30a91ea2294952967bf03e427790.tar.gz |
Add metadata files for plotters. am: 25a4bcddc6 am: c89275bda9 am: c2162fc65d am: 51204ab19c
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/plotters/+/1621408
Change-Id: Ieb755374df853bfcf9575068ad31526556f9dc57
-rw-r--r-- | Android.bp | 22 | ||||
-rw-r--r-- | LICENSE | 21 | ||||
-rw-r--r-- | METADATA | 19 | ||||
-rw-r--r-- | MODULE_LICENSE_MIT | 0 | ||||
-rw-r--r-- | OWNERS | 1 |
5 files changed, 63 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..d3e2462 --- /dev/null +++ b/Android.bp @@ -0,0 +1,22 @@ +// This file is generated by cargo2android.py --run --device --dependencies --features=svg,area_series,line_series. +// Do not modify this file as changes will be overridden on upgrade. + +rust_library { + name: "libplotters", + host_supported: true, + crate_name: "plotters", + srcs: ["src/lib.rs"], + edition: "2018", + features: [ + "area_series", + "line_series", + "svg", + ], + rustlibs: [ + "libnum_traits", + ], +} + +// dependent_library ["feature_list"] +// autocfg-1.0.1 +// num-traits-0.2.14 "default,std" @@ -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..878b4df --- /dev/null +++ b/METADATA @@ -0,0 +1,19 @@ +name: "plotters" +description: "A Rust drawing library focus on data plotting for both WASM and native applications" +third_party { + url { + type: HOMEPAGE + value: "https://crates.io/crates/plotters" + } + url { + type: ARCHIVE + value: "https://static.crates.io/crates/plotters/plotters-0.2.15.crate" + } + version: "0.2.15" + 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 @@ -0,0 +1 @@ +include platform/prebuilts/rust:/OWNERS |