1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5rust_binary { 6 name: "pvm_exec", 7 srcs: ["src/pvm_exec.rs"], 8 rustlibs: [ 9 "compos_aidl_interface-rust", 10 "libanyhow", 11 "libclap", 12 "liblibc", 13 "liblog_rust", 14 "libminijail_rust", 15 "libnix", 16 "libscopeguard", 17 ], 18} 19 20rust_binary { 21 name: "compsvc", 22 srcs: ["src/compsvc.rs"], 23 rustlibs: [ 24 "compos_aidl_interface-rust", 25 "libandroid_logger", 26 "libanyhow", 27 "libclap", 28 "liblog_rust", 29 "libminijail_rust", 30 ], 31} 32 33rust_binary { 34 name: "compsvc_worker", 35 srcs: ["src/compsvc_worker.rs"], 36 rustlibs: [ 37 "libandroid_logger", 38 "libanyhow", 39 "libclap", 40 "liblog_rust", 41 "libminijail_rust", 42 "libnix", 43 "libscopeguard", 44 ], 45} 46