1// This file is generated by cargo2android.py, added defaults. 2 3rust_test_host { 4 name: "kvm_tests", 5 defaults: ["crosvm_defaults"], 6 crate_name: "kvm", 7 srcs: [ 8 "tests/dirty_log.rs", 9 "tests/read_only_memory.rs", 10 "tests/real_run_adder.rs", 11 ], 12 relative_install_path: "kvm_tests", 13 test_suites: ["general-tests"], 14 auto_gen_config: true, 15 rlibs: [ 16 "libkvm", 17 "libkvm_sys", 18 "liblibc", 19 "libmsg_socket", 20 "libsys_util", 21 ], 22} 23 24rust_test_host { 25 name: "kvm_tests_kvm", 26 defaults: ["crosvm_defaults"], 27 crate_name: "kvm", 28 srcs: ["src/lib.rs"], 29 relative_install_path: "kvm_tests", 30 test_suites: ["general-tests"], 31 auto_gen_config: true, 32 rlibs: [ 33 "libkvm_sys", 34 "liblibc", 35 "libmsg_socket", 36 "libsys_util", 37 ], 38} 39 40rust_library_host_rlib { 41 name: "libkvm", 42 defaults: ["crosvm_defaults"], 43 crate_name: "kvm", 44 srcs: ["src/lib.rs"], 45 rlibs: [ 46 "libkvm_sys", 47 "liblibc", 48 "libmsg_socket", 49 "libsys_util", 50 ], 51} 52