xref: /aosp_15_r20/system/security/fsverity/libfsverity_rs/Android.bp (revision e1997b9af69e3155ead6e072d106a0077849ffba)
1*e1997b9aSAndroid Build Coastguard Workerpackage {
2*e1997b9aSAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
3*e1997b9aSAndroid Build Coastguard Worker}
4*e1997b9aSAndroid Build Coastguard Worker
5*e1997b9aSAndroid Build Coastguard Workerrust_library {
6*e1997b9aSAndroid Build Coastguard Worker    name: "libfsverity_rs",
7*e1997b9aSAndroid Build Coastguard Worker    crate_name: "fsverity",
8*e1997b9aSAndroid Build Coastguard Worker    srcs: ["lib.rs"],
9*e1997b9aSAndroid Build Coastguard Worker    edition: "2021",
10*e1997b9aSAndroid Build Coastguard Worker    rustlibs: [
11*e1997b9aSAndroid Build Coastguard Worker        "libnix",
12*e1997b9aSAndroid Build Coastguard Worker    ],
13*e1997b9aSAndroid Build Coastguard Worker    apex_available: [
14*e1997b9aSAndroid Build Coastguard Worker        "com.android.compos",
15*e1997b9aSAndroid Build Coastguard Worker        "com.android.virt",
16*e1997b9aSAndroid Build Coastguard Worker    ],
17*e1997b9aSAndroid Build Coastguard Worker}
18