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_libbpf-rs_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_libbpf-rs_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-BSD-2-Clause"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "liblibbpf_rs", 18 crate_name: "libbpf_rs", 19 cargo_env_compat: true, 20 cargo_pkg_version: "0.24.2", 21 crate_root: "src/lib.rs", 22 edition: "2021", 23 features: [ 24 "default", 25 "libbpf-sys", 26 ], 27 rustlibs: [ 28 "libbitflags", 29 "liblibbpf_sys", 30 "liblibc", 31 "libvsprintf", 32 ], 33 apex_available: [ 34 "//apex_available:platform", 35 "//apex_available:anyapex", 36 ], 37 shared_libs: ["libbpf"], 38} 39