xref: /aosp_15_r20/external/crosvm/cargo2android_module.bp.patch (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1arch: {
2    x86_64: {
3        rustlibs: ["libx86_64_rust"],
4    },
5    arm64: {
6        rustlibs: ["libaarch64"],
7    },
8    riscv64: {
9        rustlibs: ["libriscv64"],
10    },
11},
12target: {
13    host: {
14        strip: {
15            keep_symbols_and_debug_frame: true,
16        },
17    },
18    android: {
19        shared_libs: [
20            "libprocessgroup",
21        ],
22    },
23    host_linux: {
24        shared_libs: [
25            "libprocessgroup",
26        ],
27    },
28},
29ld_flags: [
30    "-Wl,--rpath,\\$$ORIGIN",
31    "-Wl,--rpath,\\$$ORIGIN/../../lib64",
32]
33