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

Commit fe25fecc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add libbt_packets build target without apex"

parents c73a4d83 be62f06a
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -618,6 +618,24 @@ rust_library {
    min_sdk_version: "30",
}

rust_library {
    name: "libbt_packets_nonapex",
    defaults: ["gd_rust_defaults"],
    crate_name: "bt_packets",
    srcs: ["rust/packets/lib.rs", ":BluetoothGeneratedPackets_rust"],
    edition: "2018",
    vendor_available : true,
    host_supported: true,
    proc_macros: ["libnum_derive"],
    rustlibs: [
        "libbytes",
        "libnum_traits",
        "libthiserror",
        "liblog_rust",
    ],
    min_sdk_version: "30",
}

rust_test_host {
    name: "libbt_packets_test",
    defaults: [
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ rust_ffi {
    edition: "2018",
    proc_macros: ["libnum_derive"],
    rustlibs: [
        "libbt_packets",
        "libbt_packets_nonapex",
        "libbytes",
        "libnum_bigint",
        "libnum_integer",