| // This file is generated by cargo2android.py. |
| |
| rust_library_host_rlib { |
| name: "libproc_macro2", |
| crate_name: "proc_macro2", |
| srcs: ["src/lib.rs"], |
| edition: "2018", |
| features: [ |
| "default", |
| "proc-macro", |
| ], |
| flags: [ |
| "--cfg use_proc_macro", |
| "--cfg wrap_proc_macro", |
| ], |
| rlibs: [ |
| "libunicode_xid", |
| ], |
| } |
| |
| rust_test_host { |
| name: "proc-macro2_tests", |
| crate_name: "proc_macro2", |
| srcs: [ |
| "tests/features.rs", |
| "tests/marker.rs", |
| "tests/test.rs", |
| ], |
| relative_install_path: "proc-macro2_tests", |
| test_suites: ["general-tests"], |
| auto_gen_config: true, |
| edition: "2018", |
| features: [ |
| "default", |
| "proc-macro", |
| ], |
| flags: [ |
| "--cfg use_proc_macro", |
| "--cfg wrap_proc_macro", |
| ], |
| rlibs: [ |
| "libproc_macro2", |
| "libquote", |
| "libunicode_xid", |
| ], |
| } |
| |
| rust_test_host { |
| name: "proc-macro2_tests_proc_macro2", |
| crate_name: "proc_macro2", |
| srcs: ["src/lib.rs"], |
| relative_install_path: "proc-macro2_tests", |
| test_suites: ["general-tests"], |
| auto_gen_config: true, |
| edition: "2018", |
| features: [ |
| "default", |
| "proc-macro", |
| ], |
| flags: [ |
| "--cfg use_proc_macro", |
| "--cfg wrap_proc_macro", |
| ], |
| rlibs: [ |
| "libquote", |
| "libunicode_xid", |
| ], |
| } |
| |
| // dependent_library ["feature_list"] |
| // unicode-xid-0.2.0 "default" |