diff options
author | Matthew Maurer <mmaurer@google.com> | 2020-07-31 02:32:53 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-07-31 02:32:53 +0000 |
commit | 8364387624b11f13997fb1d35cae949b9dff6c89 (patch) | |
tree | 7270d70494053bc99344ed1c98a6f47e249c90f2 | |
parent | 6aafa2756b55e43e09b54c39b9752e51a05b55f7 (diff) | |
parent | c9ad523be5b682c6a973ec40d4abd160ca131d85 (diff) | |
download | unicode-segmentation-8364387624b11f13997fb1d35cae949b9dff6c89.tar.gz |
Add Android.bp am: 8b3a22af4d am: 2bc9207df4 am: df93784f7c am: c9ad523be5
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/unicode-segmentation/+/1330213
Change-Id: I6a4d265aa7f49fb66cc7c818fc88a73c28c55afd
-rw-r--r-- | Android.bp | 10 | ||||
-rw-r--r-- | src/lib.rs | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..1b72c5e --- /dev/null +++ b/Android.bp @@ -0,0 +1,10 @@ +// This file is generated by cargo2android.py --run --device --dependencies. + +rust_library { + name: "libunicode_segmentation", + // has rustc warnings + host_supported: true, + crate_name: "unicode_segmentation", + srcs: ["src/lib.rs"], + edition: "2015", +} @@ -55,7 +55,7 @@ #![no_std] -#[cfg(test)] +// ANDROID: Always import std to enable building as a dylib #[macro_use] extern crate std; |