blob: 225eedd1100b494e44055ba2bfc2fe1924772624 [file] [log] [blame]
Shikha Panwar566c9672022-11-15 14:39:58 +00001package {
Aditya Choudhary53696172024-02-05 15:46:19 +00002 default_team: "trendy_team_virtualization",
Shikha Panwar566c9672022-11-15 14:39:58 +00003 default_applicable_licenses: ["Android-Apache-2.0"],
4}
5
6rust_defaults {
7 name: "encryptedstore.defaults",
Alan Stokes78a299f2023-09-01 11:16:18 +01008 defaults: ["avf_build_flags_rust"],
Shikha Panwar566c9672022-11-15 14:39:58 +00009 srcs: ["src/main.rs"],
10 edition: "2021",
11 prefer_rlib: true,
12 rustlibs: [
13 "libandroid_logger",
14 "libanyhow",
Shikha Panwar9fd198f2022-11-18 17:43:43 +000015 "liblibc",
Shikha Panwar566c9672022-11-15 14:39:58 +000016 "libclap",
17 "libhex",
18 "liblog_rust",
Alan Stokes1294f942023-08-21 14:34:12 +010019 "libmicrodroid_uids",
Shikha Panwar566c9672022-11-15 14:39:58 +000020 "libnix",
21 "libdm_rust",
22 ],
23 multilib: {
24 lib32: {
25 enabled: false,
26 },
27 },
28}
29
30rust_binary {
31 name: "encryptedstore",
32 defaults: ["encryptedstore.defaults"],
33 bootstrap: true,
34}
Andrew Walbranaa1efc42022-08-10 13:33:57 +000035
36rust_test {
37 name: "encryptedstore.test",
38 defaults: ["encryptedstore.defaults"],
39 test_suites: ["general-tests"],
40}