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_virtio-media_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_virtio-media_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-BSD-3-Clause"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "libvirtio_media", 18 host_supported: true, 19 crate_name: "virtio_media", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.0.5", 22 crate_root: "src/lib.rs", 23 edition: "2021", 24 features: [ 25 "default", 26 "simple-device", 27 ], 28 rustlibs: [ 29 "libanyhow", 30 "liblibc", 31 "liblog_rust", 32 "libnix", 33 "libthiserror", 34 "libv4l2r", 35 "libzerocopy-0.7.35", 36 ], 37 proc_macros: ["libenumn"], 38 apex_available: [ 39 "//apex_available:platform", 40 "//apex_available:anyapex", 41 ], 42 product_available: true, 43 vendor_available: true, 44} 45 46rust_test { 47 name: "virtio-media_test_src_lib", 48 host_supported: true, 49 crate_name: "virtio_media", 50 cargo_env_compat: true, 51 cargo_pkg_version: "0.0.5", 52 crate_root: "src/lib.rs", 53 test_suites: ["general-tests"], 54 auto_gen_config: true, 55 test_options: { 56 unit_test: true, 57 }, 58 edition: "2021", 59 features: [ 60 "default", 61 "simple-device", 62 ], 63 rustlibs: [ 64 "libanyhow", 65 "liblibc", 66 "liblog_rust", 67 "libnix", 68 "libthiserror", 69 "libv4l2r", 70 "libzerocopy-0.7.35", 71 ], 72 proc_macros: ["libenumn"], 73} 74