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. |
| 2 | |
| 3 | genrule { |
| 4 | name: "copy_clang-sys_build_out", |
| 5 | srcs: ["out/*"], |
| 6 | cmd: "cp $(in) $(genDir)", |
| 7 | out: [ |
| 8 | "common.rs", |
| 9 | "dynamic.rs", |
| 10 | ], |
| 11 | } |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 12 | |
Matthew Maurer | 2aeaa83 | 2020-07-06 13:15:24 -0700 | [diff] [blame] | 13 | rust_library_host { |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 14 | name: "libclang_sys", |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 15 | crate_name: "clang_sys", |
Chih-Hung Hsieh | e11a463 | 2020-10-24 23:10:41 -0700 | [diff] [blame^] | 16 | srcs: [ |
| 17 | "src/lib.rs", |
| 18 | ":copy_clang-sys_build_out", |
| 19 | ], |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 20 | edition: "2015", |
| 21 | features: [ |
Haibo Huang | 8b9513e | 2020-07-13 22:05:39 -0700 | [diff] [blame] | 22 | "clang_10_0", |
| 23 | "clang_3_5", |
| 24 | "clang_3_6", |
| 25 | "clang_3_7", |
| 26 | "clang_3_8", |
| 27 | "clang_3_9", |
| 28 | "clang_4_0", |
| 29 | "clang_5_0", |
| 30 | "clang_6_0", |
| 31 | "clang_7_0", |
| 32 | "clang_8_0", |
Chih-Hung Hsieh | acad636 | 2020-06-25 17:37:54 -0700 | [diff] [blame] | 33 | "clang_9_0", |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 34 | "libloading", |
| 35 | "runtime", |
| 36 | ], |
Matthew Maurer | 2aeaa83 | 2020-07-06 13:15:24 -0700 | [diff] [blame] | 37 | rustlibs: [ |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 38 | "libglob", |
| 39 | "liblibc", |
| 40 | "liblibloading", |
| 41 | ], |
| 42 | } |
| 43 | |
| 44 | // dependent_library ["feature_list"] |
Chih-Hung Hsieh | e11a463 | 2020-10-24 23:10:41 -0700 | [diff] [blame^] | 45 | // cfg-if-1.0.0 |
Chih-Hung Hsieh | bc6b7ea | 2020-04-17 21:14:42 -0700 | [diff] [blame] | 46 | // glob-0.3.0 |
Chih-Hung Hsieh | e11a463 | 2020-10-24 23:10:41 -0700 | [diff] [blame^] | 47 | // libc-0.2.80 |
| 48 | // libloading-0.6.5 |