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

Commit d7faf7b8 authored by Zach Johnson's avatar Zach Johnson Committed by Automerger Merge Worker
Browse files

Merge "rusty-gd: rename interop to ffi" am: 54e60da0

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1523998

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6de2925f1c4c2edc4cbe2691fd435abf917ea189
parents 9cb2ae47 54e60da0
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]);