diff options
author | ThiƩbaud Weksteen <tweek@google.com> | 2021-02-22 09:32:27 +0100 |
---|---|---|
committer | ThiƩbaud Weksteen <tweek@google.com> | 2021-02-22 10:56:08 +0100 |
commit | d550abe65fea6425374f69306f0a4e74585b238c (patch) | |
tree | 765ad52801dae7746a8505124120ea344b9bc3be /Android.bp | |
parent | 11c5f14abecdc94049057940d8d58d9ab40acbfa (diff) | |
download | rustversion-d550abe65fea6425374f69306f0a4e74585b238c.tar.gz |
Add Android.bp
The upstream crate uses build.rs to capture the version of Rust. Rely on
Soong to provide this piece of information.
Test: m librustversion
Bug: 178357400
Change-Id: I85d3542eeeded85a4590c407a5055c3cc6375e33
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..9630d0c --- /dev/null +++ b/Android.bp @@ -0,0 +1,9 @@ +// This file is generated by cargo2android.py --run --device --dependencies. +// Do not modify this file as changes will be overridden on upgrade. + +rust_proc_macro { + name: "librustversion", + crate_name: "rustversion", + srcs: ["src/lib.rs"], + edition: "2018", +} |