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_library { 14 name: "libsyscall_defines", 15 defaults: ["crosvm_defaults"], 16 host_supported: true, 17 crate_name: "syscall_defines", 18 srcs: ["src/lib.rs"], 19 edition: "2018", 20} 21 22rust_defaults { 23 name: "syscall_defines_defaults", 24 defaults: ["crosvm_defaults"], 25 crate_name: "syscall_defines", 26 srcs: ["src/lib.rs"], 27 test_suites: ["general-tests"], 28 auto_gen_config: true, 29 edition: "2018", 30} 31 32rust_test_host { 33 name: "syscall_defines_host_test_src_lib", 34 defaults: ["syscall_defines_defaults"], 35 test_options: { 36 unit_test: true, 37 }, 38} 39 40rust_test { 41 name: "syscall_defines_device_test_src_lib", 42 defaults: ["syscall_defines_defaults"], 43} 44