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: "bit_field_test_tests_test_enum", 17 defaults: ["crosvm_inner_defaults"], 18 host_supported: true, 19 crate_name: "test_enum", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.1.0", 22 crate_root: "tests/test_enum.rs", 23 test_suites: ["general-tests"], 24 auto_gen_config: true, 25 test_options: { 26 unit_test: true, 27 }, 28 edition: "2021", 29 rustlibs: ["libbit_field_crosvm"], 30 proc_macros: ["libbit_field_derive"], 31} 32 33rust_test { 34 name: "bit_field_test_tests_test_tuple_struct", 35 defaults: ["crosvm_inner_defaults"], 36 host_supported: true, 37 crate_name: "test_tuple_struct", 38 cargo_env_compat: true, 39 cargo_pkg_version: "0.1.0", 40 crate_root: "tests/test_tuple_struct.rs", 41 test_suites: ["general-tests"], 42 auto_gen_config: true, 43 test_options: { 44 unit_test: true, 45 }, 46 edition: "2021", 47 rustlibs: ["libbit_field_crosvm"], 48 proc_macros: ["libbit_field_derive"], 49} 50 51rust_library { 52 name: "libbit_field_crosvm", 53 defaults: ["crosvm_inner_defaults"], 54 host_supported: true, 55 crate_name: "bit_field", 56 cargo_env_compat: true, 57 cargo_pkg_version: "0.1.0", 58 crate_root: "src/lib.rs", 59 edition: "2021", 60 proc_macros: ["libbit_field_derive"], 61} 62