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_vulkano_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_vulkano_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16genrule { 17 name: "copy_vulkano_build_out", 18 srcs: ["out/*"], 19 cmd: "cp $(in) $(genDir)", 20 out: [ 21 "device_extensions.rs", 22 "errors.rs", 23 "features.rs", 24 "fns.rs", 25 "formats.rs", 26 "instance_extensions.rs", 27 "properties.rs", 28 "spirv_parse.rs", 29 "spirv_reqs.rs", 30 "version.rs", 31 ], 32} 33 34rust_library { 35 name: "libvulkano", 36 host_supported: true, 37 crate_name: "vulkano", 38 cargo_env_compat: true, 39 cargo_pkg_version: "0.33.0", 40 crate_root: "src/lib.rs", 41 srcs: [":copy_vulkano_build_out"], 42 edition: "2021", 43 rustlibs: [ 44 "libahash", 45 "libash_rust", 46 "libbytemuck", 47 "libcrossbeam_queue", 48 "libhalf", 49 "liblibloading", 50 "libonce_cell", 51 "libparking_lot", 52 "libsmallvec", 53 "libthread_local", 54 ], 55 apex_available: [ 56 "//apex_available:platform", 57 "com.android.virt", 58 ], 59 product_available: true, 60 vendor_available: true, 61} 62