aosp12/external/rust/crates/nom/Android.bp

41 lines
855 B
Plaintext
Raw Normal View History

2023-01-09 17:11:35 +08:00
// This file is generated by cargo2android.py --run --dependencies --device --features=alloc,std.
package {
default_applicable_licenses: ["external_rust_crates_nom_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "external_rust_crates_nom_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-MIT",
],
license_text: [
"LICENSE",
],
}
rust_library {
name: "libnom",
host_supported: true,
crate_name: "nom",
srcs: ["src/lib.rs"],
edition: "2018",
features: [
"alloc",
"std",
],
flags: [
"--cfg stable_i128",
],
rustlibs: [
"libmemchr",
],
}
// dependent_library ["feature_list"]
// memchr-2.3.3 "std,use_std"
// version_check-0.9.2