blob: 8ba50160dd544ed98cb06c8adfae78e2b2c0f1cf [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",
7 srcs: ["src/main.rs"],
8 edition: "2021",
9 prefer_rlib: true,
10 rustlibs: [
11 "libandroid_logger",
12 "libanyhow",
Shikha Panwar9fd198f2022-11-18 17:43:43 +000013 "liblibc",
Shikha Panwar566c9672022-11-15 14:39:58 +000014 "libclap",
15 "libhex",
16 "liblog_rust",
Alan Stokes1294f942023-08-21 14:34:12 +010017 "libmicrodroid_uids",
Shikha Panwar566c9672022-11-15 14:39:58 +000018 "libnix",
19 "libdm_rust",
20 ],
21 multilib: {
22 lib32: {
23 enabled: false,
24 },
25 },
26}
27
28rust_binary {
29 name: "encryptedstore",
30 defaults: ["encryptedstore.defaults"],
31 bootstrap: true,
32}
Andrew Walbranaa1efc42022-08-10 13:33:57 +000033
34rust_test {
35 name: "encryptedstore.test",
36 defaults: ["encryptedstore.defaults"],
37 test_suites: ["general-tests"],
38}