aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Kotur <qtr@google.com>2021-03-16 20:22:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-16 20:22:36 +0000
commit6514fd746eabe85109a43006cdad84714a80a2d8 (patch)
treeebec199efc146fc3f4f20ae2ed207a03c2938684
parented13489b063b6327424b29099cb2d7cc698607cc (diff)
parent3c6be7425f988f4108b15f98099605e049e3ffac (diff)
downloadoorandom-6514fd746eabe85109a43006cdad84714a80a2d8.tar.gz
Add metadata files for oorandom. am: ce8412e87b am: 63b494e8dc am: 3c6be7425f
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/oorandom/+/1621406 Change-Id: I890eaa4fae7e4909588195cb0f23114f8ebf7716
-rw-r--r--Android.bp10
l---------LICENSE1
-rw-r--r--LICENSE-MIT21
-rw-r--r--METADATA19
-rw-r--r--MODULE_LICENSE_MIT0
-rw-r--r--OWNERS1
6 files changed, 52 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..b2dc429
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,10 @@
+// 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: "liboorandom",
+ host_supported: true,
+ crate_name: "oorandom",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+}
diff --git a/LICENSE b/LICENSE
new file mode 120000
index 0000000..7f9a88e
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1 @@
+LICENSE-MIT \ No newline at end of file
diff --git a/LICENSE-MIT b/LICENSE-MIT
new file mode 100644
index 0000000..7f19fc2
--- /dev/null
+++ b/LICENSE-MIT
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2019 Simon Heath
+
+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. \ No newline at end of file
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d237f95
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,19 @@
+name: "oorandom"
+description: "A tiny, robust PRNG implementation."
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://crates.io/crates/oorandom"
+ }
+ url {
+ type: ARCHIVE
+ value: "https://static.crates.io/crates/oorandom/oorandom-11.1.3.crate"
+ }
+ version: "11.1.3"
+ 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