1// This file is generated by cargo2android.py --run --device --tests --dependencies --global_defaults=crosvm_defaults --add_workspace. 2// Do not modify this file as changes will be overridden on upgrade. 3 4package { 5 // See: http://go/android-license-faq 6 // A large-scale-change added 'default_applicable_licenses' to import 7 // all of the 'license_kinds' from "external_crosvm_license" 8 // to get the below license kinds: 9 // SPDX-license-identifier-BSD 10 default_applicable_licenses: ["external_crosvm_license"], 11} 12 13rust_defaults { 14 name: "assertions_defaults", 15 defaults: ["crosvm_defaults"], 16 crate_name: "assertions", 17 srcs: ["src/lib.rs"], 18 test_suites: ["general-tests"], 19 auto_gen_config: true, 20 edition: "2018", 21} 22 23rust_test_host { 24 name: "assertions_host_test_src_lib", 25 defaults: ["assertions_defaults"], 26 test_options: { 27 unit_test: true, 28 }, 29} 30 31rust_test { 32 name: "assertions_device_test_src_lib", 33 defaults: ["assertions_defaults"], 34} 35 36rust_library { 37 name: "libassertions", 38 defaults: ["crosvm_defaults"], 39 host_supported: true, 40 crate_name: "assertions", 41 srcs: ["src/lib.rs"], 42 edition: "2018", 43} 44