1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "external_crosvm_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-BSD 7 default_applicable_licenses: ["external_crosvm_license"], 8} 9 10cc_library_headers { 11 name: "rutabaga_gfx_ffi_headers", 12 host_supported: true, 13 vendor_available: true, 14 export_include_dirs: ["src/include"], 15} 16 17rust_ffi_shared { 18 name: "librutabaga_gfx_ffi", 19 crate_name: "rutabaga_gfx_ffi", 20 host_supported: true, 21 vendor_available: true, 22 srcs: ["src/lib.rs"], 23 rustlibs: [ 24 "librutabaga_gfx_gfxstream", 25 "liblibc", 26 "liblog_rust", 27 "libnix", 28 "libthiserror", 29 "libzerocopy", 30 ], 31 shared_libs: [ 32 "libgfxstream_backend", 33 ], 34 target: { 35 host: { 36 compile_multilib: "64", 37 }, 38 android: { 39 compile_multilib: "64", 40 }, 41 }, 42} 43