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: "acpi_tables_defaults", 15 defaults: ["crosvm_defaults"], 16 crate_name: "acpi_tables", 17 srcs: ["src/lib.rs"], 18 test_suites: ["general-tests"], 19 auto_gen_config: true, 20 edition: "2018", 21 rustlibs: [ 22 "libdata_model", 23 "libtempfile", 24 ], 25} 26 27rust_test_host { 28 name: "acpi_tables_host_test_src_lib", 29 defaults: ["acpi_tables_defaults"], 30 test_options: { 31 unit_test: true, 32 }, 33} 34 35rust_test { 36 name: "acpi_tables_device_test_src_lib", 37 defaults: ["acpi_tables_defaults"], 38} 39 40rust_library { 41 name: "libacpi_tables", 42 defaults: ["crosvm_defaults"], 43 host_supported: true, 44 crate_name: "acpi_tables", 45 srcs: ["src/lib.rs"], 46 edition: "2018", 47 rustlibs: [ 48 "libdata_model", 49 "libtempfile", 50 ], 51} 52 53// dependent_library ["feature_list"] 54// ../assertions/src/lib.rs 55// ../data_model/src/lib.rs 56// ../tempfile/src/lib.rs 57// libc-0.2.93 "default,std" 58// proc-macro2-1.0.26 "default,proc-macro" 59// quote-1.0.9 "default,proc-macro" 60// serde-1.0.125 "default,derive,serde_derive,std" 61// serde_derive-1.0.125 "default" 62// syn-1.0.70 "clone-impls,default,derive,parsing,printing,proc-macro,quote" 63// unicode-xid-0.2.1 "default" 64