38 lines
703 B
Plaintext
38 lines
703 B
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
rust_defaults {
|
|
name: "encryptedstore.defaults",
|
|
srcs: ["src/main.rs"],
|
|
edition: "2021",
|
|
prefer_rlib: true,
|
|
rustlibs: [
|
|
"libandroid_logger",
|
|
"libanyhow",
|
|
"liblibc",
|
|
"libclap",
|
|
"libhex",
|
|
"liblog_rust",
|
|
"libnix",
|
|
"libdm_rust",
|
|
],
|
|
multilib: {
|
|
lib32: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
}
|
|
|
|
rust_binary {
|
|
name: "encryptedstore",
|
|
defaults: ["encryptedstore.defaults"],
|
|
bootstrap: true,
|
|
}
|
|
|
|
rust_test {
|
|
name: "encryptedstore.test",
|
|
defaults: ["encryptedstore.defaults"],
|
|
test_suites: ["general-tests"],
|
|
}
|