Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efac4fed authored by Rahul Arya's avatar Rahul Arya
Browse files

[Private GATT] Add support for Tokio test-utils

Bug: 255880936
Test: compiles
Change-Id: I8bd53c73c1337a0976d93082f83dfc552c3caa2f
parent 007a5f2e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@ rust_defaults {
        "liblog_rust",
        "libanyhow",
        "libcxx",
        "libtokio",
        "libbt_common",

        // needed to work around duplicate symbols
@@ -71,6 +70,9 @@ rust_ffi_static {
    name: "libbluetooth_core_rs",
    crate_name: "bluetooth_core",
    defaults: ["libbluetooth_core_rs_defaults"],
    rustlibs: [
        "libtokio",
    ],
    target: {
        android: {
            rustlibs: [
@@ -85,6 +87,7 @@ rust_test_host {
    name: "libbluetooth_core_rs_test",
    defaults: ["libbluetooth_core_rs_defaults"],
    rustlibs: [
        "libtokio_for_test",
        "libtokio_test",
    ],
}