Chih-Hung Hsieh | e11a463 | 2020-10-24 23:10:41 -0700 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --run --features=runtime,clang_10_0 --dependencies --copy-out. |
Jeff Vander Stoep | 4737f5c | 2021-02-22 13:06:28 +0100 | [diff] [blame^] | 2 | // Do not modify this file as changes will be overridden on upgrade. |
Bob Badour | 7b49646 | 2021-02-12 16:36:36 -0800 | [diff] [blame] | 3 | |
Chih-Hung Hsieh | e11a463 | 2020-10-24 23:10:41 -0700 | [diff] [blame] | 4 | genrule { |
| 5 | name: "copy_clang-sys_build_out", |
| 6 | srcs: ["out/*"], |
| 7 | cmd: "cp $(in) $(genDir)", |
| 8 | out: [ |
| 9 | "common.rs", |
| 10 | "dynamic.rs", |
| 11 | ], |
| 12 | } |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 13 | |
Matthew Maurer | 2aeaa83 | 2020-07-06 13:15:24 -0700 | [diff] [blame] | 14 | rust_library_host { |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 15 | name: "libclang_sys", |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 16 | crate_name: "clang_sys", |
Chih-Hung Hsieh | e11a463 | 2020-10-24 23:10:41 -0700 | [diff] [blame] | 17 | srcs: [ |
| 18 | "src/lib.rs", |
| 19 | ":copy_clang-sys_build_out", |
| 20 | ], |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 21 | edition: "2015", |
| 22 | features: [ |
Haibo Huang | 8b9513e | 2020-07-13 22:05:39 -0700 | [diff] [blame] | 23 | "clang_10_0", |
| 24 | "clang_3_5", |
| 25 | "clang_3_6", |
| 26 | "clang_3_7", |
| 27 | "clang_3_8", |
| 28 | "clang_3_9", |
| 29 | "clang_4_0", |
| 30 | "clang_5_0", |
| 31 | "clang_6_0", |
| 32 | "clang_7_0", |
| 33 | "clang_8_0", |
Chih-Hung Hsieh | acad636 | 2020-06-25 17:37:54 -0700 | [diff] [blame] | 34 | "clang_9_0", |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 35 | "libloading", |
| 36 | "runtime", |
| 37 | ], |
Matthew Maurer | 2aeaa83 | 2020-07-06 13:15:24 -0700 | [diff] [blame] | 38 | rustlibs: [ |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 39 | "libglob", |
| 40 | "liblibc", |
| 41 | "liblibloading", |
| 42 | ], |
| 43 | } |
| 44 | |
| 45 | // dependent_library ["feature_list"] |
Chih-Hung Hsieh | e11a463 | 2020-10-24 23:10:41 -0700 | [diff] [blame] | 46 | // cfg-if-1.0.0 |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 47 | // glob-0.3.0 |
Haibo Huang | 2e1e83e | 2021-02-09 23:57:34 -0800 | [diff] [blame] | 48 | // libc-0.2.86 |
Jeff Vander Stoep | 4737f5c | 2021-02-22 13:06:28 +0100 | [diff] [blame^] | 49 | // libloading-0.7.0 |