1// This file is generated by cargo_embargo. 2// Do not modify this file because the changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_bindgen_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_bindgen_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-BSD-3-Clause"], 13 license_text: ["LICENSE"], 14} 15 16genrule { 17 name: "copy_bindgen_build_out", 18 srcs: ["out/*"], 19 cmd: "cp $(in) $(genDir)", 20 out: ["host-target.txt"], 21} 22 23rust_library_host { 24 name: "libbindgen", 25 host_cross_supported: false, 26 crate_name: "bindgen", 27 cargo_env_compat: true, 28 cargo_pkg_version: "0.69.5", 29 crate_root: "lib.rs", 30 srcs: [":copy_bindgen_build_out"], 31 edition: "2018", 32 features: [ 33 "__cli", 34 "experimental", 35 "runtime", 36 "which-rustfmt", 37 ], 38 rustlibs: [ 39 "libannotate_snippets", 40 "libbitflags", 41 "libcexpr", 42 "libclang_sys", 43 "libitertools", 44 "liblazy_static", 45 "liblazycell", 46 "libproc_macro2", 47 "libquote", 48 "libregex", 49 "librustc_hash", 50 "libshlex", 51 "libsyn", 52 "libwhich", 53 ], 54 compile_multilib: "first", 55} 56