You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
804 B

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
rust_defaults {
name: "zipfuse.defaults",
crate_name: "zipfuse",
srcs: ["src/main.rs"],
edition: "2018",
prefer_rlib: true,
rustlibs: [
"libanyhow",
"libclap",
"libfuse_rust",
"liblibc",
"libzip",
],
// libfuse_rust, etc don't support 32-bit targets
multilib: {
lib32: {
enabled: false,
},
},
}
rust_binary {
name: "zipfuse",
defaults: ["zipfuse.defaults"],
}
rust_test {
name: "ZipFuseTest",
stem: "zipfuse.test",
defaults: ["zipfuse.defaults"],
test_suites: ["general-tests"],
compile_multilib: "first",
rustlibs: [
"libnix",
"libtempfile",
],
data: [":zipfuse"],
}