1// Manually written variant of librutabaga_gfx. 2// See https://r.android.com/2965726 3rust_library { 4 name: "librutabaga_gfx_gfxstream", 5 host_supported: true, 6 vendor_available: true, 7 crate_name: "rutabaga_gfx", 8 cargo_env_compat: true, 9 cargo_pkg_version: "0.1.2", 10 srcs: ["src/lib.rs"], 11 edition: "2021", 12 rustlibs: [ 13 "libcfg_if", 14 "liblibc", 15 "liblog_rust", 16 "libnix", 17 "libserde", 18 "libserde_json", 19 "libthiserror", 20 "libzerocopy", 21 ], 22 proc_macros: ["libremain"], 23 target: { 24 host: { 25 cfgs: [ 26 "fence_passing_option1", 27 "gfxstream_unstable", 28 ], 29 features: [ 30 "gfxstream", 31 "vulkano", 32 ], 33 shared_libs: [ 34 "libgfxstream_backend", 35 ], 36 compile_multilib: "64", 37 rustlibs: [ 38 "libvulkano", 39 ], 40 }, 41 android: { 42 cfgs: [ 43 "fence_passing_option1", 44 "gfxstream_unstable", 45 ], 46 }, 47 }, 48 apex_available: ["com.android.virt"], 49} 50