android_packages_modules_Vi.../apkdmverity/Android.bp

44 lines
836 B
Plaintext
Raw Normal View History

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
rust_defaults {
name: "apkdmverity.defaults",
crate_name: "apkdmverity",
srcs: ["src/main.rs"],
edition: "2018",
prefer_rlib: true,
rustlibs: [
"libanyhow",
"libbitflags",
"libclap",
"libdata_model",
"liblibc",
"libnix",
"libnum_traits",
"libscopeguard",
"libuuid",
],
proc_macros: ["libnum_derive"],
multilib: {
lib32: {
enabled: false,
},
},
}
rust_binary {
name: "apkdmverity",
defaults: ["apkdmverity.defaults"],
}
rust_test {
name: "apkdmverity.test",
defaults: ["apkdmverity.defaults"],
test_suites: ["general-tests"],
compile_multilib: "first",
rustlibs: [
"libtempfile",
],
}