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_proc_macro { 14 name: "libpoll_token_derive", 15 defaults: ["crosvm_proc_macro_defaults"], 16 crate_name: "poll_token_derive", 17 srcs: ["poll_token_derive.rs"], 18 edition: "2018", 19 rustlibs: [ 20 "libproc_macro2", 21 "libquote", 22 "libsyn", 23 ], 24} 25 26rust_test_host { 27 name: "poll_token_derive_host_test_poll_token_derive", 28 defaults: ["crosvm_defaults"], 29 crate_name: "poll_token_derive", 30 srcs: ["poll_token_derive.rs"], 31 test_suites: ["general-tests"], 32 auto_gen_config: true, 33 edition: "2018", 34 rustlibs: [ 35 "libproc_macro2", 36 "libquote", 37 "libsyn", 38 ], 39} 40 41// dependent_library ["feature_list"] 42// proc-macro2-1.0.26 "default,proc-macro" 43// quote-1.0.9 "default,proc-macro" 44// syn-1.0.70 "clone-impls,default,derive,parsing,printing,proc-macro,quote" 45// unicode-xid-0.2.1 "default" 46