blob: aa46c356d8ddfe4b729b22fc594eb7444e2332ca [file] [log] [blame]
Shikha Panwar566c9672022-11-15 14:39:58 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_defaults {
6 name: "encryptedstore.defaults",
Alan Stokes78a299f2023-09-01 11:16:18 +01007 defaults: ["avf_build_flags_rust"],
Shikha Panwar566c9672022-11-15 14:39:58 +00008 srcs: ["src/main.rs"],
9 edition: "2021",
10 prefer_rlib: true,
11 rustlibs: [
12 "libandroid_logger",
13 "libanyhow",
Shikha Panwar9fd198f2022-11-18 17:43:43 +000014 "liblibc",
Shikha Panwar566c9672022-11-15 14:39:58 +000015 "libclap",
16 "libhex",
17 "liblog_rust",
Alan Stokes1294f942023-08-21 14:34:12 +010018 "libmicrodroid_uids",
Shikha Panwar566c9672022-11-15 14:39:58 +000019 "libnix",
20 "libdm_rust",
21 ],
22 multilib: {
23 lib32: {
24 enabled: false,
25 },
26 },
27}
28
29rust_binary {
30 name: "encryptedstore",
31 defaults: ["encryptedstore.defaults"],
32 bootstrap: true,
33}
Andrew Walbranaa1efc42022-08-10 13:33:57 +000034
35rust_test {
36 name: "encryptedstore.test",
37 defaults: ["encryptedstore.defaults"],
38 test_suites: ["general-tests"],
39}