| // This file is generated by cargo2android.py. |
| |
| rust_library_rlib { |
| name: "libproc_macro2", |
| host_supported: true, |
| crate_name: "proc_macro2", |
| srcs: ["src/lib.rs"], |
| edition: "2018", |
| features: [ |
| "default", |
| "proc-macro", |
| ], |
| flags: [ |
| "--cfg proc_macro_span", |
| "--cfg use_proc_macro", |
| "--cfg wrap_proc_macro", |
| ], |
| rlibs: [ |
| "libunicode_xid", |
| ], |
| } |
| |
| rust_test { |
| name: "proc-macro2_test_src_lib", |
| host_supported: true, |
| crate_name: "proc_macro2", |
| srcs: ["src/lib.rs"], |
| relative_install_path: "rust/proc-macro2", |
| edition: "2018", |
| features: [ |
| "default", |
| "proc-macro", |
| ], |
| flags: [ |
| "--cfg proc_macro_span", |
| "--cfg use_proc_macro", |
| "--cfg wrap_proc_macro", |
| ], |
| rlibs: [ |
| "libquote", |
| "libunicode_xid", |
| ], |
| } |
| |
| rust_test { |
| name: "proc-macro2_tests_test", |
| host_supported: true, |
| crate_name: "proc_macro2", |
| srcs: [ |
| "tests/features.rs", |
| "tests/marker.rs", |
| "tests/test.rs", |
| ], |
| relative_install_path: "rust/proc-macro2", |
| edition: "2018", |
| features: [ |
| "default", |
| "proc-macro", |
| ], |
| flags: [ |
| "--cfg proc_macro_span", |
| "--cfg use_proc_macro", |
| "--cfg wrap_proc_macro", |
| ], |
| rlibs: [ |
| "libproc_macro2", |
| "libquote", |
| "libunicode_xid", |
| ], |
| } |