blob: e8d0184f8cd661f5da6847e2cfbc36fce5472abe [file] [log] [blame]
Seungjae Yoo733150b2024-10-29 12:54:07 +09001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Seungjae Yooe04fac82024-10-31 15:53:46 +09005rust_ffi_shared {
6 name: "libforwarder_host_jni",
7 crate_name: "forwarder_host",
Seungjae Yoo733150b2024-10-29 12:54:07 +09008 edition: "2021",
Seungjae Yooe04fac82024-10-31 15:53:46 +09009 srcs: ["src/forwarder_host.rs"],
Seungjae Yoo733150b2024-10-29 12:54:07 +090010 rustlibs: [
11 "libforwarder",
Seungjae Yooe04fac82024-10-31 15:53:46 +090012 "libjni",
Seungjae Yoo733150b2024-10-29 12:54:07 +090013 "liblog_rust",
14 "libnix",
15 "libvmm_sys_util",
16 "libvsock",
17 ],
18 proc_macros: [
19 "libpoll_token_derive",
20 "libremain",
21 ],
Seungjae Yooe04fac82024-10-31 15:53:46 +090022 apex_available: [
23 "com.android.virt",
24 ],
25 prefer_rlib: true,
Seungjae Yoo733150b2024-10-29 12:54:07 +090026}