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 | d5749c11fc5a07ca0130f859b0b86a40910f66b8 (patch) | |
tree | c1323664297e3a6551ede88c2465d58d8f4f6b60 | |
parent | e4b8c590f5499b015b9a8e451cd957ecce72c4cd (diff) | |
parent | e41109e02fd052be5dd6a4a264cd203bbf65410d (diff) | |
download | atty-d5749c11fc5a07ca0130f859b0b86a40910f66b8.tar.gz |
Add metadata files for atty. am: 14484ce0b3 am: 1d10dcacc5 am: 9fdc6a6b9f am: e41109e02f
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/atty/+/1620968
Change-Id: Iaaa64309fe69e35c1b6ec66c8021ed28fe81afd8
-rw-r--r-- | Android.bp | 16 | ||||
-rw-r--r-- | LICENSE | 20 | ||||
-rw-r--r-- | METADATA | 19 | ||||
-rw-r--r-- | MODULE_LICENSE_MIT | 0 | ||||
-rw-r--r-- | OWNERS | 1 |
5 files changed, 56 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..9a2052c --- /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: "libatty", + host_supported: true, + crate_name: "atty", + srcs: ["src/lib.rs"], + edition: "2015", + rustlibs: [ + "liblibc", + ], +} + +// dependent_library ["feature_list"] +// libc-0.2.88 @@ -0,0 +1,20 @@ +Copyright (c) 2015-2019 Doug Tangren + +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..f258576 --- /dev/null +++ b/METADATA @@ -0,0 +1,19 @@ +name: "atty" +description: "A simple interface for querying atty" +third_party { + url { + type: HOMEPAGE + value: "https://crates.io/crates/atty" + } + url { + type: ARCHIVE + value: "https://static.crates.io/crates/atty/atty-0.2.14.crate" + } + version: "0.2.14" + 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 |