blob: 3cf41a9cdcc76e50d2dacac7a22690dbc8eba5f8 [file] [log] [blame]
Chih-Hung Hsieheb697232019-10-25 18:04:10 -07001// This file is generated by cargo2android.py.
2
Matthew Maureraacdcaa2019-11-13 17:43:28 -08003rust_library_host_rlib {
Ivan Lozanob84a9bf2019-09-05 23:25:18 -07004 name: "libproc_macro2",
Ivan Lozanob84a9bf2019-09-05 23:25:18 -07005 crate_name: "proc_macro2",
6 srcs: ["src/lib.rs"],
Chih-Hung Hsieheb697232019-10-25 18:04:10 -07007 edition: "2018",
Ivan Lozanob84a9bf2019-09-05 23:25:18 -07008 features: [
9 "default",
10 "proc-macro",
11 ],
Chih-Hung Hsieheb697232019-10-25 18:04:10 -070012 flags: [
13 "--cfg proc_macro_span",
14 "--cfg use_proc_macro",
15 "--cfg wrap_proc_macro",
16 ],
17 rlibs: [
18 "libunicode_xid",
19 ],
Ivan Lozanob84a9bf2019-09-05 23:25:18 -070020}
Chih-Hung Hsiehbc731e22019-10-01 13:22:15 -070021
Matthew Maureraacdcaa2019-11-13 17:43:28 -080022rust_test_host {
Chih-Hung Hsiehe55c3d52019-11-14 15:25:19 -080023 name: "proc-macro2_tests",
Chih-Hung Hsiehbc731e22019-10-01 13:22:15 -070024 crate_name: "proc_macro2",
25 srcs: [
26 "tests/features.rs",
27 "tests/marker.rs",
28 "tests/test.rs",
29 ],
Chih-Hung Hsiehe55c3d52019-11-14 15:25:19 -080030 relative_install_path: "proc-macro2_tests",
31 test_suites: ["general-tests"],
32 auto_gen_config: true,
Chih-Hung Hsiehbc731e22019-10-01 13:22:15 -070033 edition: "2018",
34 features: [
35 "default",
36 "proc-macro",
37 ],
38 flags: [
39 "--cfg proc_macro_span",
40 "--cfg use_proc_macro",
41 "--cfg wrap_proc_macro",
42 ],
43 rlibs: [
44 "libproc_macro2",
45 "libquote",
46 "libunicode_xid",
47 ],
48}
Chih-Hung Hsiehe55c3d52019-11-14 15:25:19 -080049
50rust_test_host {
51 name: "proc-macro2_tests_proc_macro2",
52 crate_name: "proc_macro2",
53 srcs: ["src/lib.rs"],
54 relative_install_path: "proc-macro2_tests",
55 test_suites: ["general-tests"],
56 auto_gen_config: true,
57 edition: "2018",
58 features: [
59 "default",
60 "proc-macro",
61 ],
62 flags: [
63 "--cfg proc_macro_span",
64 "--cfg use_proc_macro",
65 "--cfg wrap_proc_macro",
66 ],
67 rlibs: [
68 "libquote",
69 "libunicode_xid",
70 ],
71}