1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 // See: http://go/android-license-faq 8 // A large-scale-change added 'default_applicable_licenses' to import 9 // all of the 'license_kinds' from "external_crosvm_license" 10 // to get the below license kinds: 11 // SPDX-license-identifier-BSD 12 default_applicable_licenses: ["external_crosvm_license"], 13} 14 15rust_test { 16 name: "data_model_test_src_lib", 17 defaults: ["crosvm_inner_defaults"], 18 host_supported: true, 19 crate_name: "data_model", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.1.1-alpha.1", 22 crate_root: "src/lib.rs", 23 test_suites: ["general-tests"], 24 auto_gen_config: true, 25 test_options: { 26 unit_test: true, 27 }, 28 edition: "2021", 29 rustlibs: [ 30 "libserde", 31 "libzerocopy", 32 ], 33} 34 35rust_library { 36 name: "libdata_model", 37 defaults: ["crosvm_inner_defaults"], 38 host_supported: true, 39 crate_name: "data_model", 40 cargo_env_compat: true, 41 cargo_pkg_version: "0.1.1-alpha.1", 42 crate_root: "src/lib.rs", 43 edition: "2021", 44 rustlibs: [ 45 "libserde", 46 "libzerocopy", 47 ], 48} 49