android13/external/crosvm/rutabaga_gfx/ffi/Android.bp

33 lines
975 B
Plaintext

// This file is generated by cargo2android.py --run --device --tests --global_defaults=crosvm_defaults --add_workspace.
// Do not modify this file as changes will be overridden on upgrade.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_crosvm_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
default_applicable_licenses: ["external_crosvm_license"],
}
rust_ffi_shared {
name: "librutabaga_gfx_ffi_shared",
defaults: ["crosvm_defaults"],
stem: "librutabaga_gfx_ffi",
host_supported: true,
crate_name: "rutabaga_gfx_ffi",
cargo_env_compat: true,
cargo_pkg_version: "0.1.0",
srcs: ["src/lib.rs"],
edition: "2021",
flags: [
"-C lto",
],
rustlibs: [
"libbase_rust",
"libdata_model",
"liblibc",
"librutabaga_gfx",
],
}