// This file is generated by cargo_embargo. // 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_test { name: "kvm_test_tests_dirty_log", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "dirty_log", cargo_env_compat: true, cargo_pkg_version: "0.1.0", srcs: ["tests/dirty_log.rs"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", rustlibs: [ "libbase_rust", "libdata_model", "libkvm", "libkvm_sys", "liblibc", "libsync_rust", "libvm_memory", ], } rust_test { name: "kvm_test_tests_kvm_tests", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "kvm_tests", cargo_env_compat: true, cargo_pkg_version: "0.1.0", srcs: ["tests/kvm_tests.rs"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", rustlibs: [ "libbase_rust", "libdata_model", "libkvm", "libkvm_sys", "liblibc", "libsync_rust", "libvm_memory", ], } rust_test { name: "kvm_test_tests_read_only_memory", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "read_only_memory", cargo_env_compat: true, cargo_pkg_version: "0.1.0", srcs: ["tests/read_only_memory.rs"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", rustlibs: [ "libbase_rust", "libdata_model", "libkvm", "libkvm_sys", "liblibc", "libsync_rust", "libvm_memory", ], } rust_test { name: "kvm_test_tests_real_run_adder", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "real_run_adder", cargo_env_compat: true, cargo_pkg_version: "0.1.0", srcs: ["tests/real_run_adder.rs"], test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: false, }, edition: "2021", rustlibs: [ "libbase_rust", "libdata_model", "libkvm", "libkvm_sys", "liblibc", "libsync_rust", "libvm_memory", ], } rust_library { name: "libkvm", defaults: ["crosvm_inner_defaults"], host_supported: true, crate_name: "kvm", cargo_env_compat: true, cargo_pkg_version: "0.1.0", srcs: ["src/lib.rs"], edition: "2021", rustlibs: [ "libbase_rust", "libdata_model", "libkvm_sys", "liblibc", "libsync_rust", "libvm_memory", ], }