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

Commit 54e60da0 authored by Zach Johnson's avatar Zach Johnson Committed by Gerrit Code Review
Browse files

Merge "rusty-gd: rename interop to ffi"

parents 4b0d69f7 6651deb8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ genrule {
cc_library_static {
    name: "libbt_hidl_hal_cxx",
    defaults: ["gd_ffi_defaults"],
    srcs: ["src/hidl/interop.cc"],
    local_include_dirs: ["src/hidl"],
    srcs: ["src/ffi/hidl.cc"],
    local_include_dirs: ["src/ffi"],
    generated_headers: ["libbt_hidl_hal_bridge_header", "cxx-bridge-header"],
    generated_sources: ["libbt_hidl_hal_bridge_code"],
    shared_libs: [
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#include <stdlib.h>

#include "../../os/log.h"
#include "src/hidl/interop.h"
#include "src/ffi/hidl.h"

using ::android::hardware::hidl_vec;
using ::android::hardware::Return;
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ async fn provide_hidl_hal(rt: Arc<Runtime>) -> RawHalExports {
#[cxx::bridge(namespace = bluetooth::hal)]
mod ffi {
    extern "C" {
        include!("src/hidl/interop.h");
        include!("src/ffi/hidl.h");
        fn start_hal();
        fn stop_hal();
        fn send_command(data: &[u8]);