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: "audio_streams_defaults", 14 defaults: ["crosvm_defaults"], 15 crate_name: "audio_streams", 16 srcs: ["src/audio_streams.rs"], 17 test_suites: ["general-tests"], 18 auto_gen_config: true, 19 edition: "2018", 20 rustlibs: [ 21 "libsync_rust", 22 "libsys_util", 23 ], 24} 25 26rust_test_host { 27 name: "audio_streams_host_test_src_audio_streams", 28 defaults: ["audio_streams_defaults"], 29} 30 31rust_test { 32 name: "audio_streams_device_test_src_audio_streams", 33 defaults: ["audio_streams_defaults"], 34} 35 36rust_library { 37 name: "libaudio_streams", 38 defaults: ["crosvm_defaults"], 39 host_supported: true, 40 crate_name: "audio_streams", 41 srcs: ["src/audio_streams.rs"], 42 edition: "2018", 43 rustlibs: [ 44 "libsync_rust", 45 "libsys_util", 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// libc-0.2.76 "default,std" 58// proc-macro2-1.0.19 "default,proc-macro" 59// quote-1.0.7 "default,proc-macro" 60// syn-1.0.39 "clone-impls,default,derive,parsing,printing,proc-macro,quote" 61// unicode-xid-0.2.1 "default" 62