diff options
author | Chih-Hung Hsieh <chh@google.com> | 2019-10-25 18:04:10 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2019-10-25 18:04:10 -0700 |
commit | eb69723579ae53e30436252934897305894bf765 (patch) | |
tree | 35fa20c193b203cdbf11e7d219bc9772b701c348 /Android.bp | |
parent | 51eb44de5be937aac160bf183e7c68114f62835a (diff) | |
download | proc-macro2-eb69723579ae53e30436252934897305894bf765.tar.gz |
Use released proc-macro2-1.0.4 at crates.io
* Auto generated Android.bp from cargo2android.py.
* Release package is different from git source repository:
* .cargo_vcs_info.json has the snapshot commit sha.
* Cleaned up Cargo.toml, with original version saved.
Test: build all rust modules
Change-Id: I45965bbf9a6a9ec6ee993fbb69f771c23b307896
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,16 +1,21 @@ +// This file is generated by cargo2android.py. + rust_library_rlib { name: "libproc_macro2", host_supported: true, crate_name: "proc_macro2", srcs: ["src/lib.rs"], - rlibs: ["libunicode_xid"], + edition: "2018", + features: [ + "default", + "proc-macro", + ], flags: [ + "--cfg proc_macro_span", "--cfg use_proc_macro", "--cfg wrap_proc_macro", ], - features: [ - "default", - "proc-macro", + rlibs: [ + "libunicode_xid", ], - edition: "2018", } |