You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.4 KiB
67 lines
1.4 KiB
// This file is generated by cargo2android.py --run --features=runtime,clang_10_0 --dependencies --copy-out.
|
|
// Do not modify this file as changes will be overridden on upgrade.
|
|
|
|
package {
|
|
default_applicable_licenses: ["external_rust_crates_clang-sys_license"],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "external_rust_crates_clang-sys_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
],
|
|
license_text: [
|
|
"LICENSE.txt",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "copy_clang-sys_build_out",
|
|
srcs: ["out/*"],
|
|
cmd: "cp $(in) $(genDir)",
|
|
out: [
|
|
"common.rs",
|
|
"dynamic.rs",
|
|
],
|
|
}
|
|
|
|
rust_library_host {
|
|
name: "libclang_sys",
|
|
crate_name: "clang_sys",
|
|
srcs: [
|
|
"src/lib.rs",
|
|
":copy_clang-sys_build_out",
|
|
],
|
|
edition: "2015",
|
|
features: [
|
|
"clang_10_0",
|
|
"clang_3_5",
|
|
"clang_3_6",
|
|
"clang_3_7",
|
|
"clang_3_8",
|
|
"clang_3_9",
|
|
"clang_4_0",
|
|
"clang_5_0",
|
|
"clang_6_0",
|
|
"clang_7_0",
|
|
"clang_8_0",
|
|
"clang_9_0",
|
|
"libloading",
|
|
"runtime",
|
|
],
|
|
rustlibs: [
|
|
"libglob",
|
|
"liblibc",
|
|
"liblibloading",
|
|
],
|
|
}
|
|
|
|
// dependent_library ["feature_list"]
|
|
// cfg-if-1.0.0
|
|
// glob-0.3.0
|
|
// libc-0.2.86
|
|
// libloading-0.7.0
|