1// This file is generated by cargo2android.py --run --device --test --global_defaults=crosvm_defaults --dependencies. 2 3package { 4 // See: http://go/android-license-faq 5 // A large-scale-change added 'default_applicable_licenses' to import 6 // all of the 'license_kinds' from "external_adhd_license" 7 // to get the below license kinds: 8 // SPDX-license-identifier-BSD 9 default_applicable_licenses: ["external_adhd_license"], 10} 11 12rust_defaults { 13 name: "cras-sys_defaults", 14 defaults: ["crosvm_defaults"], 15 crate_name: "cras_sys", 16 srcs: ["src/lib.rs"], 17 test_suites: ["general-tests"], 18 auto_gen_config: true, 19 edition: "2015", 20 rustlibs: [ 21 "libaudio_streams", 22 "libdata_model", 23 ], 24} 25 26rust_test_host { 27 name: "cras-sys_host_test_src_lib", 28 defaults: ["cras-sys_defaults"], 29} 30 31rust_test { 32 name: "cras-sys_device_test_src_lib", 33 defaults: ["cras-sys_defaults"], 34} 35 36rust_library { 37 name: "libcras_sys", 38 defaults: ["crosvm_defaults"], 39 host_supported: true, 40 crate_name: "cras_sys", 41 srcs: ["src/lib.rs"], 42 edition: "2015", 43 rustlibs: [ 44 "libaudio_streams", 45 "libdata_model", 46 ], 47} 48 49// dependent_library ["feature_list"] 50// ../../../../crosvm/assertions/src/lib.rs 51// ../../../../crosvm/data_model/src/lib.rs 52// ../../../../crosvm/sync/src/lib.rs 53// ../../../../crosvm/sys_util/poll_token_derive/poll_token_derive.rs 54// ../../../../crosvm/sys_util/src/lib.rs 55// ../../../../crosvm/syscall_defines/src/lib.rs 56// ../../../../crosvm/tempfile/src/lib.rs 57// ../../../audio_streams/src/audio_streams.rs 58// libc-0.2.76 "default,std" 59// proc-macro2-1.0.19 "default,proc-macro" 60// quote-1.0.7 "default,proc-macro" 61// syn-1.0.39 "clone-impls,default,derive,parsing,printing,proc-macro,quote" 62// unicode-xid-0.2.1 "default" 63